You are not logged in.

#1 2007-03-20 15:10:18

nirvanix
Member
From: Saskatoon
Registered: 2005-01-31
Posts: 193

bittorrent not working since last 'pacman -Su'

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

#2 2007-03-20 15:25:09

oli
Member
From: 127.0.0.1
Registered: 2006-02-07
Posts: 164
Website

Re: bittorrent not working since last 'pacman -Su'

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

#3 2007-03-20 17:04:26

juergen
Developer
From: Frankfurt/Germany
Registered: 2005-04-11
Posts: 48
Website

Re: bittorrent not working since last 'pacman -Su'

wxpython is a optional dependency of the  package. You need to install it if you want to use the GUI frontend "bittorrent".

Offline

#4 2007-03-20 19:26:53

oli
Member
From: 127.0.0.1
Registered: 2006-02-07
Posts: 164
Website

Re: bittorrent not working since last 'pacman -Su'

>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

#5 2007-03-20 21:42:34

junglepeanut
Member
From: California
Registered: 2007-01-24
Posts: 145
Website

Re: bittorrent not working since last 'pacman -Su'

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

#6 2007-03-21 00:52:19

nirvanix
Member
From: Saskatoon
Registered: 2005-01-31
Posts: 193

Re: bittorrent not working since last 'pacman -Su'

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

#7 2007-03-21 05:41:23

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: bittorrent not working since last 'pacman -Su'

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

#8 2007-03-21 12:59:01

nirvanix
Member
From: Saskatoon
Registered: 2005-01-31
Posts: 193

Re: bittorrent not working since last 'pacman -Su'

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

#9 2007-04-01 19:35:46

darzephyr
Member
From: Argentina
Registered: 2006-08-02
Posts: 43

Re: bittorrent not working since last 'pacman -Su'

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

Board footer

Powered by FluxBB