You are not logged in.

#1 2005-03-29 01:32:14

trapdoor
Member
Registered: 2005-03-27
Posts: 82
Website

Some Problem with Bittorrent

Hi,
i hope someone can help me with thi sproblem, i installed Bittorrent 4.0 with pacman, but if i try to start btdownloadgui.py it says:

Traceback (most recent call last):
  File "/usr/bin/btdownloadgui.py", line 28, in ?
    import gtk
ImportError: No module named gtk

Someone got the same problem or can help me otherwise?

Offline

#2 2005-03-29 01:34:11

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Some Problem with Bittorrent

you need pygtk - the package wasn't added to the depends... lemme bug report it

Offline

#3 2005-03-29 01:39:01

trapdoor
Member
Registered: 2005-03-27
Posts: 82
Website

Re: Some Problem with Bittorrent

Well, but i downloaded the pygtk package, and it still doesn't work

Offline

#4 2005-03-29 01:40:49

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Some Problem with Bittorrent

you did "pacman -S pygtk" and it still says "cannot find module gtk"?

Offline

#5 2005-03-29 10:22:36

trapdoor
Member
Registered: 2005-03-27
Posts: 82
Website

Re: Some Problem with Bittorrent

Yep, i did and i still tried to install BT again after installing pygtk... maybe there is some path to add to the gtk module?

Offline

#6 2005-03-29 15:44:33

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Some Problem with Bittorrent

no, pygtk installs to the python lib directory - just to make sure, run "pacman -Ql pygtk" and make sure it's going into the "python2.4" directory.
Also, make sure your "PYTHONHOME" env variable is set properly... you may want to log off anf back on if you just installed python...

Offline

#7 2005-03-29 21:51:00

trapdoor
Member
Registered: 2005-03-27
Posts: 82
Website

Re: Some Problem with Bittorrent

It is in /usr/lib/python2.3 is that a problem? And can i check, and evetually change my PYTHONHOME variable?

Offline

#8 2005-03-29 22:12:56

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Some Problem with Bittorrent

well then you have the wrong version... have you been keeping your system up to date (pacman -Syu)? if not make sure you upgrade python and all the python based packages so that they all locate themselve in the python2.4 directory...
I'm assuming you're running python 2.4, but have a 2.3 version of pygtk....
run "pacman -Sy pygtk" and it'll grab the newest version

Offline

#9 2005-03-29 22:26:50

trapdoor
Member
Registered: 2005-03-27
Posts: 82
Website

Re: Some Problem with Bittorrent

I updated it but it says that i have the right version, but if i have a look at the paths, its still in 2.3

Offline

#10 2005-03-29 22:30:36

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

Re: Some Problem with Bittorrent

Did you log out and logged back in?

Offline

#11 2005-03-30 10:59:09

trapdoor
Member
Registered: 2005-03-27
Posts: 82
Website

Re: Some Problem with Bittorrent

I did, still the same problem ... maybe i should try to compile it on myself ....

./configure

should show me what goes wrong

Offline

#12 2005-03-30 16:36:48

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Some Problem with Bittorrent

ummm what repos are you using? I dunno where the newest stuff is, but maybe you need a pygtk package from a different repo

Offline

#13 2005-03-30 16:53:14

miqorz
Member
Registered: 2004-12-31
Posts: 475

Re: Some Problem with Bittorrent

I used pygtk from the extra repo and ran BitTorrent 4.0 without conflict.


http://wiki2.archlinux.org/

Read it. Love it. Live it. Or die.

Offline

#14 2005-03-30 17:00:45

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Some Problem with Bittorrent

same here... check:

$ pacman -Ql python
$ pacman -Ql pygtk

and see which one is installing to the 2.3 directory - whatever it is, get the most up to date version of that package....

I'd suggest running

# pacman -Scc
# pacman -Sy

before-hand

Offline

Board footer

Powered by FluxBB