[postgis-users] Mezogis is closing when using a database
"Daniela Stärke"
daniela.staerke at gmx.de
Tue Jun 26 01:51:50 PDT 2007
Thank you alex for your help.
I commented the part of the cursor collection out, and now MezoGIS is not closing when opening the DB (:D:D:D), but now I receive the following messages (:(:(:() :
Traceback (most recent call last):
File "/usr/local/lib/python2.5/site-packages/mezoGISlib/_pane_db.py", line 522, in __on_doubleclick
##self.pgbutler.runQuery('SELECT * FROM %s'%table.getSQL())
File "/usr/local/lib/python2.5/site-packages/mezoGISlib/_guicore.py", line 397, in runQuery
#self.showResults(cursor, query, layer, resultset, tablelist)
File "/usr/local/lib/python2.5/site-packages/mezoGISlib/_guicore.py", line 431, in showResults
#mapview = openMapView(layer.resultset)
File "/usr/local/lib/python2.5/site-packages/mezoGISlib/_guiwindows.py", line 33, in openMapView
#m = MapWindow(resultset)
File "/usr/local/lib/python2.5/site-packages/mezoGISlib/_guiwindows.py", line 139, in __init__
#self.canvas = MapCanvas()
File "/usr/local/lib/python2.5/site-packages/mezoGISlib/_canvas.py", line 86, in __init__
#self.__createNewCanvas()
File "/usr/local/lib/python2.5/site-packages/mezoGISlib/_canvas.py", line 524, in __createNewCanvas
#self.ctx = self.pixmap.cairo_create()
cairo.Error: NULL pointer
I also tried the same strategy like before, but this will not really work, because I get then the same massage.
So has anyone any idea???
Thanks in advance.
Daniela
>
> hi daniela,
>
> i have previously played with mezogis a little.
>
> it might be, that under the condition of your work mezogis tried to open
> a non existing cursor.
>
> as a start point, i'd remove the calling code to the cursor collection
> and inquire further.
>
> hth,
>
> alex
>
> Daniela Stärke wrote:
> > Thanks for the information. I downloaded the newest version of wxGTK
> (2.8.4), but the problem is still there.
> >
> > After trying to open a geo-database with MezoGIS the program is still
> closing and on the shell there is this,
> >
> > /usr/local/lib/python2.5/site-packages/mezoGISlib/_guiwindows.py:80:
> GtkWarning: gdk_colormap_get_screen: assertion `GDK_IS_COLORMAP (cmap)' failed
> > CursorCollection.xpm["hand-open"])
> >
> > two times printed.
> >
> > I had the idea, that I could look in the source code of _guiwindows.py
> to see if there might be something missing or so, but in line 80 there is no
> 'gdk_colormap_get_screen' or 'GDK_IS_COLORMAP' written. Just the
> CursorCollection.
> >
> > Is it possible, that the method 'gdk_colormap_get_screen'is not jet
> written???
> > Because when I use the search-function of the vim-editor I receive the
> message, that there is no 'gdk_colormap_get_screen' or 'GDK_IS_COLORMAP'
> >
> > I really need some help.
> >
> > Thank you in advance for your attention in this matter.
> >
> >
> > Daniela
> >
> >
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger
More information about the postgis-users
mailing list