[GRASS-user] Graphic problem with wxPython

Moritz Lennert mlennert at club.worldonline.be
Thu Oct 2 09:11:10 EDT 2008


[please keep the discussion on the mailing list]

On 02/10/08 13:48, Benoit ANDRE wrote:
> I think I found the problem.  But now, I've to resolve it.  I get this 
> message :
> 
>> Traceback (most recent call last):
>>   File "/disques/linux-1/archive/GIS/grass/grass-6.4/cvn/gra
>> ss-6.4.svn_src_snapshot_2008_09_27/dist.i686-pc-linux-
>> gnu/etc/wxpython/gui_modules/mapdisp.py", line 527, in
>> OnPaint
>>
>> gcdc = wx.GCDC(dc)
>>   File "/usr/local/lib/python2.5/site-
>> packages/wx-2.8-gtk2-unicode/wx/_gdi.py", line 5991, in
>> __init__
>>
>> _gdi_.GCDC_swiginit(self,_gdi_.new_GCDC(*args))
>> NotImplementedError
>> :
>> wxGCDC is not available on this platform.
>> Traceback (most recent call last):
>>   File "/disques/linux-1/archive/GIS/grass/grass-6.4/cvn/gra
>> ss-6.4.svn_src_snapshot_2008_09_27/dist.i686-pc-linux-
>> gnu/etc/wxpython/gui_modules/mapdisp.py", line 527, in
>> OnPaint
>>
>> gcdc = wx.GCDC(dc)
>>   File "/usr/local/lib/python2.5/site-
>> packages/wx-2.8-gtk2-unicode/wx/_gdi.py", line 5991, in
>> __init__
>>
>> _gdi_.GCDC_swiginit(self,_gdi_.new_GCDC(*args))
>> NotImplementedError
>> :
>> wxGCDC is not available on this platform.
>> Traceback (most recent call last):
>>   File "/disques/linux-1/archive/GIS/grass/grass-6.4/cvn/gra
>> ss-6.4.svn_src_snapshot_2008_09_27/dist.i686-pc-linux-
>> gnu/etc/wxpython/gui_modules/mapdisp.py", line 527, in
>> OnPaint
>>
>> gcdc = wx.GCDC(dc)
>>   File "/usr/local/lib/python2.5/site-
>> packages/wx-2.8-gtk2-unicode/wx/_gdi.py", line 5991, in
>> __init__
>>
>> _gdi_.GCDC_swiginit(self,_gdi_.new_GCDC(*args))
>> NotImplementedError
>> :
>> wxGCDC is not available on this platform.
>> Traceback (most recent call last):
>>   File "/disques/linux-1/archive/GIS/grass/grass-6.4/cvn/gra
>> ss-6.4.svn_src_snapshot_2008_09_27/dist.i686-pc-linux-
>> gnu/etc/wxpython/gui_modules/mapdisp.py", line 527, in
>> OnPaint
>>
>> gcdc = wx.GCDC(dc)
>>   File "/usr/local/lib/python2.5/site-
>> packages/wx-2.8-gtk2-unicode/wx/_gdi.py", line 5991, in
>> __init__
>>
>> _gdi_.GCDC_swiginit(self,_gdi_.new_GCDC(*args))
>> NotImplementedError
>> :
>> wxGCDC is not available on this platform.
>>

Seeing that *gdi* is mentioned, this might a problem with the _gdi_.so 
shared library. See point 7 in this document:
http://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/README. 
Have you created the necessary link ?

> 
> But why that was OK before ?
> 

No idea. Depends on your local installation.


Moritz


More information about the grass-user mailing list