[postgis-users] Mezogis is closing when using a database

alex bodnaru alexbodn at 012.net.il
Wed Jun 27 07:12:38 PDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


hi daniela,

this also shows an incompatibility of mezogis with your installed gtk.

should you think it's helpful, i have reinstalled latest mezogis and i'd
give a try to connect toyour db, if possible.

alex

Daniela Stärke wrote:
> 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
>>>
>>>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBRoJwVtpwN1sq38njAQLNNQP/b3fL56q/cduLk4RNfzHcaH0hL6FiipMb
XWAPOvzdyN3LrJRA7UJQTZyw3qfxG6Fzdo3nX+mppkkn6DYddS7Cq76dPO0z4BMZ
koPtWReMG750yhrfkDFxwdL6uBrl2JlpSYsybVWBB578v20tXtmsPj4jJND75HL9
2L7xPFdiz8Y=
=W+Nh
-----END PGP SIGNATURE-----



More information about the postgis-users mailing list