reassign 328171 libwxgtk2.4-python severity 328171 serious thanks
Hi, could you please check that you have: 1) The python-wxversion package installed. 2) That /usr/sbin/update-alternatives --display wx.pth shows you are using 2.6 by default. If some of the examples need 2.6 explicitly, they should be fixed as you suggest below, but unless you've done something to the contrary, they should have already been using 2.6 by default if you indeed had both installed. Oh, wait... I see the problem. wx2.6 has somehow made its way into testing, RC bugs and all, while the new 2.4 release to complement it has been held up because neither have been rebuilt on m68k yet. Please install 2.4.4.1.1 or later (from unstable if need be) and let me know if this trouble still exists. This is release critical then for wx2.4.3.1 and earlier. It can be fixed by getting a newer 2.4 release into testing or kicking wx2.6 back out of it until there is one. Sorry, testing is undergoing a lot of major transitions at present and is known to have a few inconsistencies like this. Hopefully they will shake out before too long. cheers, Ron On Tue, Sep 13, 2005 at 06:43:31PM -0500, Reid Priedhorsky wrote: > Package: wx2.6-examples > Version: 2.6.1.2 > Severity: important > > > I have both python-wxgtk2.6 and libwxgtk2.4 2.4.3.1 installed. Under this > environment, the demo.py included with wx2.6-examples does not start: > > 252 [~/umn/r/refdb]$ pushd /usr/share/doc/wx2.6-examples/examples/wxPython/ > 259 [/usr/share/doc/wx2.6-examples/examples/wxPython]$ su > Password: > reidster:/usr/share/doc/wx2.6-examples/examples/wxPython# gunzip *.gz > reidster:/usr/share/doc/wx2.6-examples/examples/wxPython# gunzip */*.gz > reidster:/usr/share/doc/wx2.6-examples/examples/wxPython# exit > 260 [/usr/share/doc/wx2.6-examples/examples/wxPython]$ python demo.py > Traceback (most recent call last): > File "demo.py", line 3, in ? > import Main > File "/usr/share/doc/wx2.6-examples/examples/wxPython/Main.py", line 1019, > in ? > class DemoTaskBarIcon(wx.TaskBarIcon): > AttributeError: 'module' object has no attribute 'TaskBarIcon' > > I believe this is because demo.py is finding wx 2.4 rather than 2.6. Adding: > > import wxversion > wxversion.select("2.6") > > to Main.py makes it start. > > Thanks, > > Reid > > -- System Information: > Debian Release: testing/unstable > APT prefers testing > APT policy: (500, 'testing') > Architecture: i386 (i686) > Shell: /bin/sh linked to /bin/dash > Kernel: Linux 2.4.31 > Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) > > -- no debconf information > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]