FS#6758 - problem when launching bittorrent

Attached to Project: Arch Linux
Opened by Morgan LEFIEUX (Comete) - Friday, 30 March 2007, 10:06 GMT
Last edited by Allan McRae (Allan) - Saturday, 31 January 2009, 09:35 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Aaron Griffin (phrakture)
Allan McRae (Allan)
Architecture i686
Severity Medium
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Hi,

this is what i get when i try to launch bittorrent:

-=>> bittorrent [11:45]
>>> unable to setrlimit not allowed to raise maximum limit
Traceback (most recent call last):
File "/usr/bin/bittorrent", line 183, in <module>
from BitTorrent.GUI_wx.DownloadManager import MainLoop
File "/usr/lib/python2.5/site-packages/BitTorrent/GUI_wx/__init__.py", line 29, in <module>
import wx
ImportError: No module named wx
Unhandled exception in thread started by
Error in sys.excepthook:

Original exception was:



Thanks !
This task depends upon

Closed by  Allan McRae (Allan)
Saturday, 31 January 2009, 09:35 GMT
Reason for closing:  Upstream
Additional comments about closing:  GUI no longer in package.
Comment by Morgan LEFIEUX (Comete) - Friday, 30 March 2007, 10:09 GMT
oops ! ;) "[11:45]" is not a part of the command... just a part of my prompt :)
Comment by Alberto Simoes (ambs) - Monday, 02 April 2007, 08:02 GMT
Same or related problem. Updated wxpython, but nothing changes.

[ambs@eremita bits]$ bittorrent
>>> unable to setrlimit not allowed to raise maximum limit
Traceback (most recent call last):
File "/usr/bin/bittorrent", line 183, in <module>
from BitTorrent.GUI_wx.DownloadManager import MainLoop
File "/usr/lib/python2.5/site-packages/BitTorrent/GUI_wx/__init__.py", line 29, in <module>
import wx
ImportError: No module named wx
Comment by Alberto Simoes (ambs) - Monday, 02 April 2007, 08:02 GMT
And of course, severity of this bug should be changed to high, because it is not just something missing from the package, but the main package binary not working :)
Comment by Roman Kyrylych (Romashka) - Monday, 02 April 2007, 13:23 GMT
During install pacman displays"
Optional dependencies:
wxpython - for graphical frontend "bittorrent"

please read pacman output carefully ;-)
Just pacman -S wxpython
Comment by Roman Kyrylych (Romashka) - Monday, 02 April 2007, 14:40 GMT
Alberto Simoes (ambs):
Just because we forgot to say we have it installed doesn't mean we do not.
[ambs@eremita bits]$ pacman -Q wxpython wxpython 2.8.0.1-1

Hm, then I guess you should see this: http://bugs.archlinux.org/task/6764 (I show that BR after closed this).
Please confirm that BR so I can close this as duplicate.
Comment by Aaron Griffin (phrakture) - Monday, 02 April 2007, 14:57 GMT
If you note the error "ImportError: No module named wx", it is clear this is a packaging problem. My gut tells me this is a python 2.4 vs 2.5 problem.
Comment by Roman Kyrylych (Romashka) - Monday, 02 April 2007, 15:04 GMT Comment by Benoit C (benoitc) - Monday, 09 April 2007, 22:45 GMT
after installing wxpython same error. Bittorrent can't find wx module. Anyway why not just create 2 packages : bittorrent-nox & bittorrent and then provide good dependancies. Would be better for user.
Comment by Mildred (mildred) - Saturday, 21 April 2007, 09:28 GMT
same error for me.
Comment by Gavin Bisesi (Daenyth) - Wednesday, 04 June 2008, 18:01 GMT
Does this still happen with the latest package?
Comment by Mildred (mildred) - Wednesday, 04 June 2008, 19:35 GMT
It seems this is still happening

$ bittorrent --save_in .
>>> unable to setrlimit not allowed to raise maximum limit
Traceback (most recent call last):
File "/usr/bin/bittorrent", line 183, in <module>
from BitTorrent.GUI_wx.DownloadManager import MainLoop
File "/usr/lib/python2.5/site-packages/BitTorrent/GUI_wx/__init__.py", line 29, in <module>
import wx
ImportError: No module named wx


$ pacman -Qi bittorrent ~
Name : bittorrent
Version : 5.0.6-2
...
Build Date : Fri 02 Mar 2007 10:36:16 CET
Install Date : Fri 28 Dec 2007 15:30:38 CET


wxpython 2.8.7.1-1, wxgtk-2.6 2.6.4-2 and wxgtk 2.8.7-1 are installed


But then bittorrent-curses and bittorrent-console just work as pepected (if you provide a torent file of course)
Comment by Greg (dolby) - Sunday, 22 June 2008, 16:10 GMT
Can anyone try building bittorrent 5.0.9 and report back?
Comment by Glenn Matthys (RedShift) - Friday, 18 July 2008, 13:05 GMT
Same problem with 5.0.9.
Comment by Glenn Matthys (RedShift) - Friday, 05 December 2008, 11:57 GMT
Aaron, this package does not have a maintainer at this time and the problem still exists.
Comment by Aaron Griffin (phrakture) - Thursday, 18 December 2008, 21:41 GMT
Tagging Mr Python on this.

Looks like it's just a wx related error. Shouldn't be really all that hard to fix, if I had to guess.
Comment by Aaron Griffin (phrakture) - Thursday, 18 December 2008, 21:44 GMT
See  FS#6764  for other comments (closed in favor of this one - they were very similar)
Comment by Aaron Griffin (phrakture) - Thursday, 18 December 2008, 21:46 GMT
Can someone see if changing /usr/lib/python2.5/site-packages/BitTorrent/GUI_wx/__init__.py and modifying the select("2.6") to select("2.8") has any effect on this?
Comment by Aaron Griffin (phrakture) - Thursday, 18 December 2008, 21:48 GMT
>>> import wxversion
>>> wxversion.select("2.8")
>>> import wx
>>>

>>> import wxversion
>>> wxversion.select("2.6")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.6/site-packages/wxversion.py", line 152, in select
raise VersionError("Requested version of wxPython not found")
wxversion.VersionError: Requested version of wxPython not found
>>> import wx
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named wx


Looks like that's the culprit. Someone please test and confirm
Comment by Allan McRae (Allan) - Friday, 19 December 2008, 04:36 GMT
I tested that out and it now shows a window for a second before segfaulting.
Comment by Allan McRae (Allan) - Friday, 19 December 2008, 04:46 GMT
Updating the package to 5.2.2 does not help either.
Comment by Aaron Griffin (phrakture) - Friday, 19 December 2008, 14:52 GMT
From the literature I can find, this package requires wxpython 2.6 and has not been updated to 2.8
Comment by Allan McRae (Allan) - Thursday, 15 January 2009, 13:31 GMT
Do we just update this and remove the problematic bittorrent binary? It appears that the other interfaces still work.
Comment by Aaron Griffin (phrakture) - Thursday, 15 January 2009, 19:39 GMT
That sounds ideal to me. Maybe add a post-install message saying it's missing and complaints could be directed upstream.
Comment by Allan McRae (Allan) - Saturday, 31 January 2009, 09:34 GMT
I have updated the package and removed the GUI.

Loading...