[Bug 948944] Re: after upgrade from oneiric python applications may use the wrong version of wxpython and fail as a result
I ran into the same issue and was able to fix it with "sudo aptitude reinstall python-wxgtk2.8 python-wxversion" ** Tags added: trusty ** Summary changed: - after upgrade from oneiric python applications may use the wrong version of wxpython and fail as a result + cannot use python-wxgtk2.8 after uninstalling python-wxgtk2.6 ** Changed in: wxwidgets2.8 (Ubuntu) Milestone: ubuntu-12.04 => ubuntu-14.04.1 -- 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: cannot use python-wxgtk2.8 after uninstalling python-wxgtk2.6 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
[Bug 948944] Re: after upgrade from oneiric python applications may use the wrong version of wxpython and fail as a result
I have this behaviour on "12.10, Quantal Quetzal" using python-wxgtk2.8 under XFCE4. When I run the command as another user via a rather complex sudo script that grants permission to use the X display, the menu DOES display. (Sorry about the bare post containing the run-as- another-user hack - the comment system is not working so well for me). -- 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
[Bug 948944] Re: after upgrade from oneiric python applications may use the wrong version of wxpython and fail as a result
** Attachment added: "This is a script that runs a gui command as the user 'eyebrow' or whatever you call the script" https://bugs.launchpad.net/ubuntu/+source/wxwidgets2.8/+bug/948944/+attachment/3702541/+files/eyebrow -- 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
[Bug 948944] Re: after upgrade from oneiric python applications may use the wrong version of wxpython and fail as a result
I could reproduce the missing menu bar with this example code: http://wiki.wxpython.org/Getting%20Started#Adding_a_menu_bar Expected behavior: The menu bar is shown. Actual behavior: There is no menu bar. -- 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
[Bug 948944] Re: after upgrade from oneiric python applications may use the wrong version of wxpython and fail as a result
I noticed the same problem and removed python-wxgtk2.6 hoping it'd fix it, but then python cannot find any "wx" module at all! Apparently it's a problem with the alternatives: python-wxgtk2.6 provides wx2.7.pth (where 2.7 stands for the _python_ version) and python-wxgtk2.8 provides wx.pth (no version here at all). So with python-wxgtk2.6 and python-wxgtk2.8 installed you get this: $ head /var/lib/dpkg/alternatives/wx* ==> /var/lib/dpkg/alternatives/wx2.7.pth <== auto /usr/lib/python2.7/dist-packages/wx.pth /usr/lib/wx/python/wx2.6.pth 26 ==> /var/lib/dpkg/alternatives/wx.pth <== auto /usr/lib/wx/python/wx.pth /usr/lib/wx/python/wx2.8.pth 28 /usr/lib/python2.7/dist-packages/ is actually the place where python look for the modules. So python-wxgtk2.8 gets kicked out by python- wxgtk2.6 . There is obviously something wrong, as the 2 packages should provide alternatives to the same thing. Maybe making python-wxgtk2.8 an alternative for wx2.7.pth (/usr/lib/python2.7/dist-packages/wx.pth) instead of wx.pth is the most compatible way? Note, as a workaround here is how I get python-wxgtk2.8 seen by python: sudo apt-get remove python-wxgtk2.6 sudo ln -s /usr/lib/wx/python/wx.pth /usr/lib/python2.7/dist-packages/wx.pth -- 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
[Bug 948944] Re: after upgrade from oneiric python applications may use the wrong version of wxpython and fail as a result
I ran into this problem when trying to build gnuradio from git, having had python-wxgtk2.6 installed previously. -- 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
[Bug 948944] Re: after upgrade from oneiric python applications may use the wrong version of wxpython and fail as a result
** Changed in: wxwidgets2.8 (Ubuntu) Milestone: ubuntu-12.04-beta-2 => ubuntu-12.04 -- 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
[Bug 948944] Re: after upgrade from oneiric python applications may use the wrong version of wxpython and fail as a result
>From a clean oneiric chroot: # apt-get install python-wxgtk2.6 python-wxgtk2.8 ... # python ... >>> import wx >>> import sys >>> print sys.modules ...'wx': ... Adjust /etc/apt/sources.list to precise and dist-upgrade. ... # python ... >>> import wx >>> import sys >>> print sys.modules ...'wx': ... 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
[Bug 948944] Re: after upgrade from oneiric python applications may use the wrong version of wxpython and fail as a result
-- 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