>From a clean oneiric chroot:

# apt-get install python-wxgtk2.6 python-wxgtk2.8
...
# python
...
>>> import wx
>>> import sys
>>> print sys.modules
...'wx': <module 'wx' from 
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/__init__.pyc'>...
Adjust /etc/apt/sources.list to precise and dist-upgrade.
...
# python
...
>>> import wx
>>> import sys
>>> print sys.modules
...'wx': <module 'wx' from 
'/usr/lib/python2.7/dist-packages/wx-2.6-gtk2-unicode/wx/__init__.pyc'>...

Definitely a bug and not related to the fact that there's a PPA package
involved.  I don't intend to work on fixing this, so fair game for
anyone that's interested.

** Changed in: wxwidgets2.8 (Ubuntu)
   Importance: Undecided => High

** Changed in: wxwidgets2.8 (Ubuntu)
       Status: New => Triaged

** Changed in: wxwidgets2.8 (Ubuntu)
    Milestone: None => ubuntu-12.04-beta-2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/948944

Title:
  after upgrade from oneiric python applications may use the wrong
  version of wxpython and fail as a result

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wxwidgets2.8/+bug/948944/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to