[GRASS-dev] Re: Cannot start wxGUI: NotImplementedError: wxGCDC is not available on this platform

Markus Neteler neteler at osgeo.org
Thu May 28 18:14:25 EDT 2009


For the record:

On Sat, May 2, 2009 at 10:51 PM, Markus Neteler <neteler at osgeo.org> wrote:
> Hi,
>
> after upgrade to Mandriva 2009.1 (64bit) and recompilation of 6.5
> without problems, I cannot start the wxGUI:
>
> GRASS 6.5.svn (nc_spm_08):~/grass64 > Traceback (most recent call last):
>  File "/home/neteler/grass64/dist.x86_64-unknown-linux-gnu/etc/wxpython/wxgui.py",
> line 1657, in <module>
...
>  File "/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/lib/agw/customtreectrl.py",
> line 1933, in GetControlBmp
>    dc = wx.GCDC(mdc)
>  File "/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_gdi.py",
> line 6013, in __init__
>    _gdi_.GCDC_swiginit(self,_gdi_.new_GCDC(*args))
> NotImplementedError: wxGCDC is not available on this platform.


Solution:
recompile wxPythonGTK-2.8.9.2 with '--enable-graphics_ctx' in the SPEC file
for configure. Filed upstream as https://qa.mandriva.com/show_bug.cgi?id=51272

Now it works for me (again), also GRASS 7 of course.

Markus


More information about the grass-dev mailing list