Searched, no luck, Errors on 1st time attempt to run

General support for problems installing or using Deluge
Post Reply
kiztope
New User
New User
Posts: 3
Joined: Sun Dec 09, 2007 2:44 am

Searched, no luck, Errors on 1st time attempt to run

Post by kiztope »

Hello all,
I will freely admit that I'm a newb when it comes to Linux, just trying to learn how to use it!
I just finished installing Debian, and wanted to get the torrents running again, so hopefully you guys can help me get this straight.

First, I attempted to install Deluge via a package installer in GNOME. I received an error: Dependency is not satisfiable: libbost-date-time1.34.1.

After this, I used a term window (logged in as root) to follow the steps in the FAQ... installed the dependencies.

When trying to run it, I received the following:

LinuxToaster:/deluge# deluge
Traceback (most recent call last):
File "/usr/bin/deluge", line 46, in ?
import deluge.interface
File "/usr/lib/python2.4/site-packages/deluge/interface.py", line 37, in ?
pygtk.require('2.0')
File "/var/lib/python-support/python2.4/pygtk.py", line 69, in require
assert not sys.modules.has_key('gtk'), \
AssertionError: pygtk.require() must be called before importing gtk


Just for the heck of it, I ran the following command (as I've seen it in a couple posts, resolving issues with other errors) : LinuxToaster:/deluge# rm -rf ~/.config/deluge

Tried again, No change....

Any suggestions would be greatly appreciated! :)
markybob
Compulsive Poster
Compulsive Poster
Posts: 1230
Joined: Thu May 24, 2007 11:27 pm
Location: Chicago, IL, USA
Contact:

Re: Searched, no luck, Errors on 1st time attempt to run

Post by markybob »

kiztope wrote:Hello all,
I will freely admit that I'm a newb when it comes to Linux, just trying to learn how to use it!
I just finished installing Debian, and wanted to get the torrents running again, so hopefully you guys can help me get this straight.

First, I attempted to install Deluge via a package installer in GNOME. I received an error: Dependency is not satisfiable: libbost-date-time1.34.1.

After this, I used a term window (logged in as root) to follow the steps in the FAQ... installed the dependencies.

When trying to run it, I received the following:

LinuxToaster:/deluge# deluge
Traceback (most recent call last):
File "/usr/bin/deluge", line 46, in ?
import deluge.interface
File "/usr/lib/python2.4/site-packages/deluge/interface.py", line 37, in ?
pygtk.require('2.0')
File "/var/lib/python-support/python2.4/pygtk.py", line 69, in require
assert not sys.modules.has_key('gtk'), \
AssertionError: pygtk.require() must be called before importing gtk


Just for the heck of it, I ran the following command (as I've seen it in a couple posts, resolving issues with other errors) : LinuxToaster:/deluge# rm -rf ~/.config/deluge

Tried again, No change....

Any suggestions would be greatly appreciated! :)
1st, you'll never be able to run deluge as root. ever.

2nd, you need to add universe to your sources. go here for a turorial on how to do that (https://help.ubuntu.com/community/Repos ... 847d373096)
then, in a command prompt, type:
`sudo apt-get install python-all-dev python-all python-dbus python-gtk2 python-notify librsvg2-common python-xdg python-support libboost-thread1.34.1 libboost-date-time1.34.1 libboost-filesystem1.34.1 libboost-serialization1.34.1`

3rd which version are you trying to install? deluge 0.5.7.1? did you download the deb package from us (http://deluge-torrent.org/downloads.php)? if not, download it from us, and try to install again by double-clicking on the deb package. then try to run deluge as *user*, not root
kiztope
New User
New User
Posts: 3
Joined: Sun Dec 09, 2007 2:44 am

Re: Searched, no luck, Errors on 1st time attempt to run

Post by kiztope »

The reply is much appreciated!
1st... Thanks for the tip on root vs user.

2nd... I have now looked over the page that you provided.
I was able to find the Software Preferences window, as specified, however, when I click "Add", it brings up another dialog box, similar to the once shown on the aforementioned URL, but with different options.
The options in the dropdown box are as follows:
Debian 3.1 "Sarge"
Debian 3.1 "Sarge" Security Updates
Debian "Etch" (testing)
Debian "Sid" (unstable)

Beneath the dropdown, the following selections are available (checkboxes)
Officially Supported (Checked)
DFSG-Compatible Software with Non-Free Dependencies (Unchecked)
Non-DFSG-compatible Software (Unchecked)

So, since there is no "Universe", I'm guessing that the second checkbox would be the closest match... Any thoughts?

Although I haven't made any changes to the Software Preferences, I also ran the command, as requested:

LinuxToaster:/# sudo apt-get install python-all-dev python-all python-dbus python-gtk2 python-notify librsvg2-common python-xdg python-support libboost-thread1.34.1 libboost-date-time1.34.1 libboost-filesystem1.34.1 libboost-serialization1.34.1
Reading package lists... Done
Building dependency tree... Done
python-all-dev is already the newest version.
python-all is already the newest version.
python-dbus is already the newest version.
python-gtk2 is already the newest version.
python-notify is already the newest version.
librsvg2-common is already the newest version.
python-xdg is already the newest version.
python-support is already the newest version.
E: Couldn't find package libboost-thread1.34.1

Then attempted to make, then run deluge again. No change from the initial run (as half-expected)

3rd... I've downloaded both of the following from deluge directly:
Debian 4.1 (Lenny) package for i386 systems
Debian SID package for i386 systems
Both yielded the same error when trying to install via the GDebi Package installer.

When I received the GUI error the first time, I ran the installation process via CLI, as specified in the FAQ's first entry.


Any suggestions?
markybob
Compulsive Poster
Compulsive Poster
Posts: 1230
Joined: Thu May 24, 2007 11:27 pm
Location: Chicago, IL, USA
Contact:

Re: Searched, no luck, Errors on 1st time attempt to run

Post by markybob »

kiztope wrote:The reply is much appreciated!
1st... Thanks for the tip on root vs user.

2nd... I have now looked over the page that you provided.
I was able to find the Software Preferences window, as specified, however, when I click "Add", it brings up another dialog box, similar to the once shown on the aforementioned URL, but with different options.
The options in the dropdown box are as follows:
Debian 3.1 "Sarge"
Debian 3.1 "Sarge" Security Updates
Debian "Etch" (testing)
Debian "Sid" (unstable)

Beneath the dropdown, the following selections are available (checkboxes)
Officially Supported (Checked)
DFSG-Compatible Software with Non-Free Dependencies (Unchecked)
Non-DFSG-compatible Software (Unchecked)

So, since there is no "Universe", I'm guessing that the second checkbox would be the closest match... Any thoughts?

Although I haven't made any changes to the Software Preferences, I also ran the command, as requested:

LinuxToaster:/# sudo apt-get install python-all-dev python-all python-dbus python-gtk2 python-notify librsvg2-common python-xdg python-support libboost-thread1.34.1 libboost-date-time1.34.1 libboost-filesystem1.34.1 libboost-serialization1.34.1
Reading package lists... Done
Building dependency tree... Done
python-all-dev is already the newest version.
python-all is already the newest version.
python-dbus is already the newest version.
python-gtk2 is already the newest version.
python-notify is already the newest version.
librsvg2-common is already the newest version.
python-xdg is already the newest version.
python-support is already the newest version.
E: Couldn't find package libboost-thread1.34.1

Then attempted to make, then run deluge again. No change from the initial run (as half-expected)

3rd... I've downloaded both of the following from deluge directly:
Debian 4.1 (Lenny) package for i386 systems
Debian SID package for i386 systems
Both yielded the same error when trying to install via the GDebi Package installer.

When I received the GUI error the first time, I ran the installation process via CLI, as specified in the FAQ's first entry.


Any suggestions?
i assumed you used ubuntu gutsy, since you were such a newbie. sorry. i dont think i've ever heard of a newbie using debian before. which debian version are you using? sarge? etch? lenny?
kiztope
New User
New User
Posts: 3
Joined: Sun Dec 09, 2007 2:44 am

Re: Searched, no luck, Errors on 1st time attempt to run

Post by kiztope »

Well, I'm a brave newbie. (Network Engineer, by trade) :) Regarding the debian install, It's 4.0, so I think it's aka "Etch".
markybob
Compulsive Poster
Compulsive Poster
Posts: 1230
Joined: Thu May 24, 2007 11:27 pm
Location: Chicago, IL, USA
Contact:

Re: Searched, no luck, Errors on 1st time attempt to run

Post by markybob »

kiztope wrote:Well, I'm a brave newbie. (Network Engineer, by trade) :) Regarding the debian install, It's 4.0, so I think it's aka "Etch".
i'm a debian user myself :) unfortunately, deluge cant run on etch, because it's version of pygtk is too old. deluge needs at least lenny, aka testing. if you want to upgrade to lenny, i suggest the #debian channel on irc.freenode.net for information. in fact i'm there a lot and could help you. if you dont want to upgrade to lenny, then, i'm sorry. :(
User avatar
hgb
New User
New User
Posts: 9
Joined: Thu Nov 29, 2007 8:38 pm
Location: Netherlands - Hoorn NH
Contact:

Re: Searched, no luck, Errors on 1st time attempt to run

Post by hgb »

Hi,
kiztope wrote: [...]
When trying to run it, I received the following:

LinuxToaster:/deluge# deluge
Traceback (most recent call last):
File "/usr/bin/deluge", line 46, in ?
import deluge.interface
File "/usr/lib/python2.4/site-packages/deluge/interface.py", line 37, in ?
pygtk.require('2.0')
File "/var/lib/python-support/python2.4/pygtk.py", line 69, in require
assert not sys.modules.has_key('gtk'), \
AssertionError: pygtk.require() must be called before importing gtk
[...]
please try the "fix" I left within http://forum.deluge-torrent.org/viewtopic.php?f=7&t=812 which at least works for me without problems.
Regards
-- hgb
Post Reply