[Freewx-maint] Bug#773635: python-wxgtk2.8: WXU_2.8 not defined: Cannot run apps that use wxPython 2.8
olly at survex.com
Sun Dec 21 17:56:40 UTC 2014
Control: tags -1 +wontfix
On Sun, Dec 21, 2014 at 02:22:35AM -0800, Jordan Irwin wrote:
> I have an application that I develop that used wxPython. Currently my app
> supports both version 2.8 and 3.0 of wxPython/wxWidgets. However, when
> trying to run my app on Debian using 2.8 I get the following error:
> ImportError: /usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_gdi_.so:
> symbol _ZTV14wxGraphicsPath, version WXU_2.8 not defined in file
> libwx_gtk2u_core-2.8.so.0 with link time reference
> I was curious if only my application was affected so I went into the source
> code of an application from the Debian repository that uses wxPython. In
> this case I used drPython. By default drPython will use the newest version of
> wxPython (I believe). drPython started up fine as it was using wxPython 3.0
> by default. However, I changed its code and forced it to use version 2.8.
> Once I did that I received the same error output as above.
FWIW, I'm unable to reproduce this - I uncommented these two lines in
And drpython appears to run OK (the about dialog system information
shows it is using 2.8).
But anyway, wxwidgets2.8 is dead at this point (both upstream and in
Debian). It won't be in jessie, and the only reason the package hasn't
been removed from unstable already is as a courtesy to a handful of
packages which haven't yet updated to 3.0. If you aren't one of those
packages, just use 3.0 instead (and if you are, please put your efforts
into updating to 3.0 rather than continuing to try to support 2.8).
More information about the Freewx-maint