Bug#773635: python-wxgtk2.8: WXU_2.8 not defined: Cannot run apps that use wxPython 2.8

2014-12-21 Thread Jordan Irwin
Package: python-wxgtk2.8
Version: 2.8.12.1+dfsg2-2
Severity: important

Dear Maintainer,

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.

I believe that this is a problem with the build of wxpython2.8 on Debian.
I do not know if the main problem lies upstream.


-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-wxgtk2.8 depends on:
ii  libc6 2.19-13
ii  libgcc1   1:4.9.2-9
ii  libstdc++64.9.2-9
ii  libwxbase2.8-02.8.12.1+dfsg2-2
ii  libwxgtk2.8-0 2.8.12.1+dfsg2-2
ii  python2.7.8-2
ii  python-wxversion  3.0.1.1+dfsg-2

python-wxgtk2.8 recommends no packages.

Versions of packages python-wxgtk2.8 suggests:
pn  editra  none
pn  wx2.8-doc   none
pn  wx2.8-examples  none

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#773635: python-wxgtk2.8: WXU_2.8 not defined: Cannot run apps that use wxPython 2.8

2014-12-21 Thread Olly Betts
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
/usr/share/drpython/drpython/drpython.py:

#import wxversion
#wxversion.select('2.8')

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).

Cheers,
Olly


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org