Missing package dependencies in bittorrent-gui
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bittorrent (Ubuntu) |
Fix Released
|
High
|
anyos | ||
Gutsy |
Fix Released
|
High
|
Unassigned | ||
Hardy |
Fix Released
|
High
|
Unassigned |
Bug Description
Binary package hint: bittorrent-gui
SRU Request:
1) This bug makes the bittorrent package completely unusable as reported by many users in this and some other bug reports.
2) A fix has been already uploaded for the current development branch (hardy). Version uploaded is 3.4.2-11ubuntu3 and the debdiff used can be found at this link: http://
3) A debdiff for gutsy-proposed has been already prepared and can be found at http://
4) To reproduce the bug, just follow this small steps:
4a. apt-get install gutsy package (version 3.4.2-11ubuntu2)
4b. open up your terminal and run btdownloadgui.
4c. you'll receive this output:
Could not load wxPython. In order to use this script,
you must have wxPython installed. It is available in
the package libwxgtk2.4-python.
I am now going to attempt to run xmessage to alert
GUI users.
/usr/share/
xmessage: problems reading message file
Traceback (most recent call last):
File "/usr/bin/
sys.exit(-1)
NameError: name 'sys' is not defined
Related branches
Changed in bittorrent: | |
assignee: | nobody → lutin |
Changed in bittorrent: | |
status: | Confirmed → In Progress |
Changed in bittorrent: | |
assignee: | lutin → nobody |
status: | In Progress → Triaged |
Changed in bittorrent: | |
importance: | Medium → High |
Changed in bittorrent: | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in bittorrent (Ubuntu): | |
assignee: | nobody → anyos (anyos-abv) |
Hi Quinn,
Can you tell which versions of Ubuntu and bittorrent-gui you're using?
I'm using edgy and 3.4.2-6ubuntu3. An apt-cache show gives
..
Depends: python (>= 2.4), python (<< 3), bittorrent (>= 3.4.2-1), python-wxgtk2.
4 | python-wxgtk2.6
..
When I first installed bittorrent-gui it pulled in python-wxgtk2.4 and it worked fine. However I was able to re-create the error by doing installing python-wxgtk2.6 and then removing python-wxgtk2.4. bittorrent-gui dependencies were still met but I got the same error as above.
Looking at /usr/bin/ btcompletedirgu i.bittorrent this seems to be the problem:
...
try:
wxversion. select( '2.4') 4-python. '
import wxversion
from wxPython.wx import *
except:
print 'Could not load wxPython. In order to use this script,'
print 'you must have wxPython installed. It is available in'
print 'the package libwxgtk2.
...
I'm afraid I don't know the correct way to resolve this.