Public bug reported:

Binary package hint: bittornado-gui

On Edgy, ( a fresh install), we have:

[EMAIL PROTECTED]:~$ dpkg -l | grep bittornado
ii  bittornado                                 0.3.15-2ubuntu1                  
    bittorrent client with enhanced curses inter
ii  bittornado-gui                             0.3.15-2ubuntu1                  
    bittorrent client with enhanced GUI interfac
[EMAIL PROTECTED]:~$ dpkg -l | grep python-wxgtk
ii  python-wxgtk2.6                            2.6.3.2.1.5                      
    wxWidgets Cross-platform C++ GUI toolkit (wx

but btmaketorrentgui is looking for python-wxgtk2.4, and exits with an
error when python-wxgtk2.6 is the version installed.  I have added 2.6
to the wxversion.select line in btmaketorrentgui and generated this
patch:

--- /usr/bin/btmaketorrentgui.orig      2006-12-17 16:43:11.000000000 -0600
+++ /usr/bin/btmaketorrentgui   2006-12-17 16:51:20.000000000 -0600
@@ -24,9 +24,9 @@
 
 try:
     import wxversion
-    wxversion.select('2.4')
+    wxversion.select(['2.4','2.6'])
 except:
-    print 'This program requires wxPython version 2.4 (python-wxgtk2.4 in 
Debian) be installed in order to run.'
+    print 'This program requires wxPython version 2.4 or 2.6 (python-wxgtk2.4 
or python-wxgtk2.6 in Debian) be installed in order to run.'
     sys.exit(1)
 
 try:

** Affects: bittornado (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
btmaketorrentgui - add new wxversion.select for python-wxgtk
https://launchpad.net/bugs/76227

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

Reply via email to