Your message dated Sun, 29 Nov 2009 12:02:56 -0800 with message-id <20091129200256.GA22931@jade.home> and subject line Re: Bug#558093: python-wxgtk2.8: cannot import wx.aui module has caused the Debian Bug report #558093, regarding python-wxgtk2.8: cannot import wx.aui module to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 558093: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=558093 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: python-wxgtk2.8: cannot import wx.aui module
- From: giacomo boffi <boffi@stru.polimi.it>
- Date: Thu, 26 Nov 2009 11:52:39 +0100
- Message-id: <[🔎] 20091126105239.18594.67464.reportbug@aiuole.stru.polimi.it>
Package: python-wxgtk2.8 Version: 2.8.7.1-2+b1 Severity: normal I see the following behaviour on my system: -------------------------------------------------------------------------- % python Python 2.5.4 (r254:67916, Nov 19 2009, 19:46:21) [GCC 4.3.4] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import wx ; import wx.aui Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named aui >>> exit() % locate wx/aui /usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/aui.py /usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/aui.pyc /usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/aui.py /usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/aui.pyc % -------------------------------------------------------------------------- my best regards gb -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.31-1-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages python-wxgtk2.8 depends on: ii libc6 2.10.2-2 GNU C Library: Shared libraries ii libgcc1 1:4.4.2-3 GCC support library ii libstdc++6 4.4.2-3 The GNU Standard C++ Library v3 ii libwxbase2.8-0 2.8.7.1-2+b1 wxBase library (runtime) - non-GUI ii libwxgtk2.8-0 2.8.7.1-2+b1 wxWidgets Cross-platform C++ GUI t ii python 2.5.4-2 An interactive high-level object-o ii python-central 0.6.13 register and build utility for Pyt ii python-wxversion 2.6.3.2.2-3.1 wxWidgets Cross-platform C++ GUI t python-wxgtk2.8 recommends no packages. Versions of packages python-wxgtk2.8 suggests: pn python-xml <none> (no description available) pn wx2.8-doc <none> (no description available) pn wx2.8-examples <none> (no description available) -- no debconf information -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
--- End Message ---
--- Begin Message ---
- To: giacomo boffi <boffi@stru.polimi.it>
- Cc: 558093-done@bugs.debian.org
- Subject: Re: Bug#558093: python-wxgtk2.8: cannot import wx.aui module
- From: Ryan Niebur <ryan@debian.org>
- Date: Sun, 29 Nov 2009 12:02:56 -0800
- Message-id: <20091129200256.GA22931@jade.home>
- In-reply-to: <[🔎] 20091126105239.18594.67464.reportbug@aiuole.stru.polimi.it>
- References: <[🔎] 20091126105239.18594.67464.reportbug@aiuole.stru.polimi.it>
Hi, On Thu, Nov 26, 2009 at 11:52:39AM +0100, giacomo boffi wrote: > Package: python-wxgtk2.8 > Version: 2.8.7.1-2+b1 > Severity: normal > > I see the following behaviour on my system: I get the same behavior, and this is actually correct behavior. this is probably because you also have python-wxgtk2.6 installed, and 2.6 is still the default wxwidgets on Debian. wx.aui didn't exist until wxwidgets 2.8, so you can't load it. after the "import wx", take a look at "wx.__version__". It's probably a 2.6 version number. To explicitly use 2.8, do something like this: ryan52@localhost:~$ python Python 2.5.4 (r254:67916, Nov 19 2009, 19:46:21) [GCC 4.3.4] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import wxversion >>> wxversion.select("2.8") >>> import wx >>> import wx.aui >>> Cheers, Ryan [closing the bug. if this didn't help, feel free to reopen the bug] -- _________________________ Ryan Niebur ryanryan52@gmail.comAttachment: signature.asc
Description: Digital signature
--- End Message ---