You are not logged in.
When I try to run bittorrent as of today I'm getting the error message:
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
I wonder if something was missed in the new packages? I've reimported bittorrent, python, wxpython, wxgtk, wxgtk-gtk1, but hasn't helped.
Thanks.
Last edited by nirvanix (2007-03-20 15:21:27)
I've got a lovely bunch of coconuts...
Offline
Could be a problem with the upgrade to Python 2.5, most distros do not upgrade this at the moment because of some promlems with certain applications.
http://www.archlinux.org/news/299/
FreeBSD e.g. did a downgrade to 2.4.4. But maybe it's a problem with syncing the mirror-servers.
Use UNIX or die.
Offline
wxpython is a optional dependency of the package. You need to install it if you want to use the GUI frontend "bittorrent".
Offline
>I've reimported bittorrent, python, wxpython, wxgtk, wxgtk-gtk1, but hasn't helped.
Shouldn't be the problem I think.
Use UNIX or die.
Offline
If you run python from the terminal and do "import wx" what do you get? I am guessing it doesn't work but just in case.
If it does work you might want to switch to only python 2.4 so everything works nicely if you have to use that instead of another client. (I think bittorent in repos is 2.4 dependent)
But I don't know anything.
Offline
Hi, if I run python, and then import wx, it does find the module. Must be something wrong with the bittorrent script.
I've got a lovely bunch of coconuts...
Offline
It's a wxgtk 2.8 issue. The file /usr/lib/python2.5/site-packages/BitTorrent/GUI_wx/__init__.py checks for version 2.6. You could try to change the references to 2.6 to 2.8 to see if it'll work or submit a bug report. I had to do that for another package (picard).
Offline
Thanks snowman, that got me further along. Now when I run bittorrent I get:
/usr/lib/python2.5/site-packages/BitTorrent/GUI_wx/__init__.py:31: DeprecationWarning: The wxPython compatibility package is no longer automatically generated or activly maintained. Please switch to the wx package as soon as possible.
import wxPython
Segmentation fault
I've got a lovely bunch of coconuts...
Offline
Try with this packages I made:
wxGTk-compat (2.6) - provides "gtk-ansi" "gtk2-ansi" "gtk2-unicode(default)" wxGtk versions:
Conflicts with official "wxgtk-gtk1"
http://200.58.112.220/~dari/wxgtk-compa … pkg.tar.gz
wxPython-compat (2.6) uses "gtk2-unicode" wxGtk:
http://200.58.112.220/~dari/wxpython-co … pkg.tar.gz
I test bittorrent with them. You can use this pkgs with installed official wxgtk2.8 and wxpython2.8 packages. (no conflicts)
They are also in AUR:
http://aur.archlinux.org/packages.php?d … 1&ID=10130
http://aur.archlinux.org/packages.php?d … 1&ID=10131
Last edited by darzephyr (2007-04-01 23:36:29)
Darío Andrés
KDE BugSquad Team and Developer
Offline