Activity log for bug #379573

Date Who What changed Old value New value Message
2009-05-22 23:08:06 Stani bug added bug
2009-05-24 00:23:05 Stani summary since Jaunty python-wxgtk2.6 should not take priority by default over python-wxgtk2.8 not possible to switch between python-wxgtk2.6 or python-wxgtk2.8 as the default wxPython in Jaunty
2009-05-24 00:33:32 Stani summary not possible to switch between python-wxgtk2.6 or python-wxgtk2.8 as the default wxPython in Jaunty sudo update-alternatives does not configure the default python-wxgtk in Jaunty
2009-05-24 00:33:32 Stani description In Jaunty, when both python-wxgtk2.6 and python-wxgtk2.8 are installed, this happens by default: >>> import wx >>> wx.VERSION (2, 6, 3, 2, '') In Intrepid, this happens by default: >>> import wx >>> wx.VERSION (2, 8, 8, 0, '') The behaviour in Jaunty looks like a bug to me. Moreover in Jaunty 2.8 seems to be configured as the default: $ ls /etc/alternatives | grep wx wx2.5.pth wx2.6.pth $ sudo update-alternatives --config wx2.6.pth [sudo] password for stani: Er zijn 2 alternatieven die 'wx2.6.pth' voorzien. Selectie Alternatieven ----------------------------------------------- *+ 1 /usr/lib/wx/python/wx2.8.pth 2 /usr/lib/wx/python/wx2.6.pth So with "update-alternatives" I can't select that "import wx", imports wxPython 2.8 In Jaunty if I look to wx.pth: $ cat /usr/lib/python2.6/dist-packages/wx.pth wx-2.8-gtk2-unicode In Jaunty many wx*.pth are added in comparison to Intrepid (but this is probably irrelevant): $ locate .pth | grep wx /etc/alternatives/wx2.5.pth /etc/alternatives/wx2.6.pth /usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode.pth /usr/lib/python2.5/site-packages/wx.pth /usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx.pth /usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode.pth /usr/lib/python2.6/dist-packages/wx.pth /usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx.pth /usr/lib/wx/python/wx2.8.pth /usr/share/pyshared/wx-2.8-gtk2-unicode.pth /usr/share/pyshared/wx-2.8-gtk2-unicode/wx.pth /var/lib/dpkg/alternatives/wx2.5.pth /var/lib/dpkg/alternatives/wx2.6.pth In Intrepid this gives: $ locate .pth | grep wx /etc/alternatives/wx2.4.pth /etc/alternatives/wx2.5.pth /usr/lib/python2.4/site-packages/wx.pth /usr/lib/python2.5/site-packages/wx.pth /usr/lib/wx/python/wx2.6.pth /usr/lib/wx/python/wx2.8.pth /var/lib/dpkg/alternatives/wx2.4.pth /var/lib/dpkg/alternatives/wx2.5.pth In Jaunty: >>> import sys >>> sys.path ['', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/Numeric', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/python2.6/dist-packages/gst-0.10', '/var/lib/python-support/python2.6', '/usr/lib/python2.6/dist-packages/gtk-2.0', '/var/lib/python-support/python2.6/gtk-2.0', '/usr/lib/python2.6/dist-packages/wx-2.6-gtk2-unicode', '/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode'] In Intrepid: >>> import sys >>> sys.path ['', '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages/Numeric', '/usr/lib/python2.5/site-packages/PIL', '/usr/lib/python2.5/site-packages/gst-0.10', '/var/lib/python-support/python2.5', '/var/lib/python-support/python2.5/gtk-2.0', '/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode'] So in Jaunty both wx-2.6 and wx2.8 are added to the sys.path, while in Intrepid only wx-2.8 was present. To me it seems like a bug that both wx 2.6 and 2.8 are in sys.path See also this discussion on the wxpython users mailing list upstream: http://thread.gmane.org/gmane.comp.python.wxpython/70340 Some wxpython programs are now showing bugs as they are not compatible anymore with wxpython2.6 If possible, I would like to see this fixed that in Jaunty (like in intrepid) wxPython 2.8 is the default if both 2.6 and 2.8 are installed or that at least the user can configure it in a way. In Jaunty, when both python-wxgtk2.6 and python-wxgtk2.8 are installed, this happens by default: >>> import wx >>> wx.VERSION (2, 6, 3, 2, '') In Intrepid, this happens by default: >>> import wx >>> wx.VERSION (2, 8, 8, 0, '') This switch might be unexpected by programs which run fine under intrepid and depend on 2.8. (In the ideal scenario they should choose the right version with wxversion.) Moreover in Jaunty 2.8 seems to be configured as the default: $ ls /etc/alternatives | grep wx wx2.5.pth wx2.6.pth $ sudo update-alternatives --config wx2.6.pth [sudo] password for stani: Er zijn 2 alternatieven die 'wx2.6.pth' voorzien. Selectie Alternatieven ----------------------------------------------- *+ 1 /usr/lib/wx/python/wx2.8.pth 2 /usr/lib/wx/python/wx2.6.pth So with "update-alternatives" I can't select that "import wx", imports wxPython 2.8 In Debian this looks right: $ sudo update-alternatives --config wx.pth There are 2 choices for the alternative wx.pth (providing /usr/lib/wx/python/wx.pth). Selection Path Priority Status ------------------------------------------------------------ * 0 /usr/lib/wx/python/wx2.6.pth 26 auto mode 1 /usr/lib/wx/python/wx2.6.pth 26 manual mode 2 /usr/lib/wx/python/wx2.8.pth 25 manual mode When 2 is selected, wx 2.8 will be the default version (in Debian): >>> import sys, wx >>> print wx.VERSION (2, 8, 7, 1, '') >>> print sys.path ['', '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages/PIL', '/usr/lib/python2.5/site-packages/gst-0.10', '/usr/lib/pymodules/python2.5', '/usr/lib/pymodules/python2.5/gtk-2.0', '/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode'] In Jaunty if I look to wx.pth: $ cat /usr/lib/python2.6/dist-packages/wx.pth wx-2.8-gtk2-unicode In Jaunty many wx*.pth are added in comparison to Intrepid (but this is probably irrelevant): $ locate .pth | grep wx /etc/alternatives/wx2.5.pth /etc/alternatives/wx2.6.pth /usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode.pth /usr/lib/python2.5/site-packages/wx.pth /usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx.pth /usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode.pth /usr/lib/python2.6/dist-packages/wx.pth /usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx.pth /usr/lib/wx/python/wx2.8.pth /usr/share/pyshared/wx-2.8-gtk2-unicode.pth /usr/share/pyshared/wx-2.8-gtk2-unicode/wx.pth /var/lib/dpkg/alternatives/wx2.5.pth /var/lib/dpkg/alternatives/wx2.6.pth In Intrepid this gives: $ locate .pth | grep wx /etc/alternatives/wx2.4.pth /etc/alternatives/wx2.5.pth /usr/lib/python2.4/site-packages/wx.pth /usr/lib/python2.5/site-packages/wx.pth /usr/lib/wx/python/wx2.6.pth /usr/lib/wx/python/wx2.8.pth /var/lib/dpkg/alternatives/wx2.4.pth /var/lib/dpkg/alternatives/wx2.5.pth In Jaunty: >>> import sys >>> sys.path ['', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/Numeric', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/python2.6/dist-packages/gst-0.10', '/var/lib/python-support/python2.6', '/usr/lib/python2.6/dist-packages/gtk-2.0', '/var/lib/python-support/python2.6/gtk-2.0', '/usr/lib/python2.6/dist-packages/wx-2.6-gtk2-unicode', '/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode'] In Intrepid: >>> import sys >>> sys.path ['', '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages/Numeric', '/usr/lib/python2.5/site-packages/PIL', '/usr/lib/python2.5/site-packages/gst-0.10', '/var/lib/python-support/python2.5', '/var/lib/python-support/python2.5/gtk-2.0', '/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode'] So in Jaunty both wx-2.6 and wx2.8 are added to the sys.path, while in Intrepid only wx-2.8 was present. To me it seems like a bug that both wx 2.6 and 2.8 are in sys.path See also this discussion on the wxpython users mailing list upstream: http://thread.gmane.org/gmane.comp.python.wxpython/70340 Some wxpython programs are now showing bugs as they are not compatible anymore with wxpython2.6 If possible, it would be nice that in Jaunty (like in intrepid) wxPython 2.8 is the default if both 2.6 and 2.8 are installed. For sure sudo update-alternatives should work for wxpython, so that at least the user can configure it the default wxpython version.
2009-05-27 15:43:55 Morten Kjeldgaard wxwidgets2.8 (Ubuntu): status New Confirmed
2009-05-27 16:24:28 Morten Kjeldgaard wxwidgets2.8 (Ubuntu): assignee Morten Kjeldgaard (mok0)
2009-05-27 17:07:03 Stani wxwidgets2.8 (Ubuntu): status Confirmed In Progress
2010-07-20 04:26:52 Devid Antonio Filoni bug task added wxwidgets2.6 (Ubuntu)
2010-07-20 04:35:10 Launchpad Janitor wxwidgets2.6 (Ubuntu): status New Fix Released
2010-07-20 04:35:33 Launchpad Janitor wxwidgets2.8 (Ubuntu): status In Progress Fix Released
2010-07-20 06:17:21 Launchpad Janitor branch linked lp:ubuntu/wxwidgets2.6
2010-07-20 06:17:22 Launchpad Janitor branch linked lp:ubuntu/wxwidgets2.8
2010-07-20 06:43:07 Devid Antonio Filoni nominated for series Ubuntu Lucid
2010-07-20 06:43:07 Devid Antonio Filoni bug task added wxwidgets2.6 (Ubuntu Lucid)
2010-07-20 06:43:07 Devid Antonio Filoni bug task added wxwidgets2.8 (Ubuntu Lucid)
2010-07-20 06:43:28 Devid Antonio Filoni wxwidgets2.6 (Ubuntu Lucid): status New In Progress
2010-07-20 06:43:28 Devid Antonio Filoni wxwidgets2.6 (Ubuntu Lucid): assignee Devid Antonio Filoni (d.filoni)
2010-07-20 06:43:46 Devid Antonio Filoni wxwidgets2.8 (Ubuntu Lucid): status New In Progress
2010-07-20 06:43:46 Devid Antonio Filoni wxwidgets2.8 (Ubuntu Lucid): assignee Devid Antonio Filoni (d.filoni)
2010-07-20 19:33:02 Devid Antonio Filoni bug added subscriber Ubuntu Stable Release Updates Team
2010-07-20 19:35:17 Devid Antonio Filoni wxwidgets2.6 (Ubuntu Lucid): status In Progress Confirmed
2010-07-20 19:35:17 Devid Antonio Filoni wxwidgets2.6 (Ubuntu Lucid): assignee Devid Antonio Filoni (d.filoni)
2010-07-20 19:35:33 Devid Antonio Filoni wxwidgets2.8 (Ubuntu Lucid): status In Progress Confirmed
2010-07-20 19:35:33 Devid Antonio Filoni wxwidgets2.8 (Ubuntu Lucid): assignee Devid Antonio Filoni (d.filoni)
2010-07-21 12:21:08 Devid Antonio Filoni bug added subscriber Ubuntu Package Archive Administrators
2010-07-27 06:11:34 Martin Pitt wxwidgets2.8 (Ubuntu Lucid): status Confirmed Fix Committed
2010-07-27 06:11:43 Martin Pitt bug added subscriber SRU Verification
2010-07-27 06:11:48 Martin Pitt tags verification-needed
2010-07-27 06:12:16 Martin Pitt wxwidgets2.6 (Ubuntu Lucid): status Confirmed Fix Committed
2010-07-27 07:17:30 Launchpad Janitor branch linked lp:ubuntu/lucid-proposed/wxwidgets2.6
2010-07-27 07:20:48 Launchpad Janitor branch linked lp:ubuntu/lucid-proposed/wxwidgets2.8
2010-07-27 11:53:07 Devid Antonio Filoni wxwidgets2.8 (Ubuntu): assignee Morten Kjeldgaard (mok0)
2010-08-06 14:09:52 Thierry Carrez bug added subscriber Thierry Carrez
2010-08-17 13:38:24 Jonathan Riddell removed subscriber Ubuntu Package Archive Administrators
2010-08-20 08:03:48 Jean-Baptiste Lallement wxwidgets2.8 (Ubuntu Lucid): status Fix Committed In Progress
2010-08-20 08:04:09 Jean-Baptiste Lallement tags verification-needed regression-proposed verification-failed
2010-08-22 15:49:27 Devid Antonio Filoni wxwidgets2.8 (Ubuntu Lucid): status In Progress Fix Committed
2010-08-22 15:50:08 Devid Antonio Filoni tags regression-proposed verification-failed verification-done
2010-08-24 12:46:33 Jean-Baptiste Lallement tags verification-done verification-failed
2010-08-24 15:31:16 Scott Kitterman wxwidgets2.8 (Ubuntu Lucid): status Fix Committed Fix Released
2010-10-05 08:25:10 Jean-Baptiste Lallement tags verification-failed verification-done
2010-10-05 13:23:16 Launchpad Janitor wxwidgets2.6 (Ubuntu Lucid): status Fix Committed Fix Released