Page 1 of 1

wxGCDC is not available on this platform Errors

PostPosted: Wed May 13, 2009 2:56 pm
by cody
If you are getting an error like the following:

Code: Select all
File "/usr/local/lib/python2.6/site-packages/Editra/src/eclib/", line 150, in <lambda>
self.Bind(wx.EVT_PAINT, lambda evt: self.__DrawButton())
File "/usr/local/lib/python2.6/site-packages/Editra/src/eclib/", line 254, in __DrawButton
gc = wx.GCDC(dc)
File "/usr/local/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/", line 5906, in __init__
NotImplementedError: wxGCDC is not available on this platform.

This means that your wxWidgets build was not configured with the correct flags. Editra is tested against the official wxPython builds as done by Many Linux distro's are missing an important step in their build processes for wxWidgets2.8.

During configure the following flag must be included

Code: Select all

I have worked with many Linux distro's to correct this issue, if you are experiencing this please file a request/bug report with the Linux distribution that you are using so that they can make compatible builds.