Page 1 of 3

1.1.6 : Ubuntu : ImportError: No module named libtorrent

Posted: Tue Apr 14, 2009 8:39 pm
by odelance
I move from 1.1.4 to 1.1.5, in adding "http://ppa.launchpad.net/deluge-team/ppa/ubuntu".
Since when I launch Delug, I get a green window.
Deluge uses less than 1% of CPU.
I upgrade to 1.1.6, and get same behavior.

Finally, I try to start daemon by hand and get:

sudo deluged -d -L debug

[INFO ] 22:08:14 daemon:48 Deluge daemon 1.1.6
[DEBUG ] 22:08:14 daemon:49 options: {'loglevel': 'debug', 'quiet': False, 'logfile': None, 'config': None, 'port': None, 'pidfile': None, 'donot': True}
[DEBUG ] 22:08:14 daemon:50 args: []
[ERROR ] 22:08:14 main:207 No module named libtorrent
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/deluge/main.py", line 204, in start_daemon
Daemon(options, args)
File "/var/lib/python-support/python2.5/deluge/core/daemon.py", line 54, in __init__
from deluge.core.core import Core
File "/var/lib/python-support/python2.5/deluge/core/core.py", line 57, in <module>
import libtorrent as lt
ImportError: No module named libtorrent

Where should be this "libtorrent" ?

Re: 1.1.6 : Ubuntu : ImportError: No module named libtorrent

Posted: Tue Apr 14, 2009 9:20 pm
by andar
odelance wrote:I move from 1.1.4 to 1.1.5, in adding "http://ppa.launchpad.net/deluge-team/ppa/ubuntu".
Since when I launch Delug, I get a green window.
Deluge uses less than 1% of CPU.
I upgrade to 1.1.6, and get same behavior.

Finally, I try to start daemon by hand and get:

sudo deluged -d -L debug

[INFO ] 22:08:14 daemon:48 Deluge daemon 1.1.6
[DEBUG ] 22:08:14 daemon:49 options: {'loglevel': 'debug', 'quiet': False, 'logfile': None, 'config': None, 'port': None, 'pidfile': None, 'donot': True}
[DEBUG ] 22:08:14 daemon:50 args: []
[ERROR ] 22:08:14 main:207 No module named libtorrent
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/deluge/main.py", line 204, in start_daemon
Daemon(options, args)
File "/var/lib/python-support/python2.5/deluge/core/daemon.py", line 54, in __init__
from deluge.core.core import Core
File "/var/lib/python-support/python2.5/deluge/core/core.py", line 57, in <module>
import libtorrent as lt
ImportError: No module named libtorrent

Where should be this "libtorrent" ?
Is it not in the PPA?

Re: 1.1.6 : Ubuntu : ImportError: No module named libtorrent

Posted: Wed Apr 15, 2009 4:35 pm
by odelance
In package deluge-core, I find a dependency with python-libtorrent >= 0.14.2.
In deluge packages, I find any file named libtorrent.
In my package manager, I find package python-libtorrent 0.14.2-2ubuntu1.

Usually, I don't use PPA recorded in package manager.

Re: 1.1.6 : Ubuntu : ImportError: No module named libtorrent

Posted: Sun Apr 19, 2009 10:18 am
by elBradford
I'm experiencing the same issue. I installed by using aptitude

Code: Select all

apt-get install deluge
apt-get install deluge-webui
When I type in deluged -d I get the following error:

Code: Select all

root@debian:~# deluged -d
[ERROR   ] 04:09:05 main:207 No module named libtorrent
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/deluge/main.py", line 204, in start_daemon
    Daemon(options, args)
  File "/var/lib/python-support/python2.5/deluge/core/daemon.py", line 54, in __init__
    from deluge.core.core import Core
  File "/var/lib/python-support/python2.5/deluge/core/core.py", line 57, in <module>
    import libtorrent as lt
ImportError: No module named libtorrent
Any idea what's wrong? All my libtorrent dependencies are installed (python-libtorrent, libtorrent-rasterbar...).

Re: 1.1.6 : Ubuntu : ImportError: No module named libtorrent

Posted: Sun Apr 26, 2009 1:50 pm
by odelance
I installed Ubuntu 9.4, remove Deluge 1.1.6 package and reinstall it. It works now!

Re: 1.1.6 : Ubuntu : ImportError: No module named libtorrent

Posted: Mon May 11, 2009 5:29 pm
by Alogique
odelance wrote:I installed Ubuntu 9.4, remove Deluge 1.1.6 package and reinstall it. It works now!
exactly same problem here, with ubuntu 9.04/Deluge 1.1.7 (PPA)

Code: Select all

 # deluged -d
[ERROR   ] 19:16:21 main:207 No module named libtorrent
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/deluge/main.py", line 204, in start_daemon
    Daemon(options, args)
  File "/var/lib/python-support/python2.5/deluge/core/daemon.py", line 54, in __init__
    from deluge.core.core import Core
  File "/var/lib/python-support/python2.5/deluge/core/core.py", line 57, in <module>
    import libtorrent as lt
ImportError: No module named libtorrent
remove/purge/reinstall did nothing better

Re: 1.1.6 : Ubuntu : ImportError: No module named libtorrent

Posted: Thu Jun 04, 2009 3:48 am
by Alogique
Upgraded to 1.1.8 .......... Always this problem
Please help me !

Code: Select all

[ERROR   ] 05:48:53 main:207 No module named libtorrent
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/deluge/main.py", line 204, in start_daemon
    Daemon(options, args)
  File "/var/lib/python-support/python2.5/deluge/core/daemon.py", line 54, in __init__
    from deluge.core.core import Core
  File "/var/lib/python-support/python2.5/deluge/core/core.py", line 57, in <module>
    import libtorrent as lt
ImportError: No module named libtorrent

Re: 1.1.6 : Ubuntu : ImportError: No module named libtorrent

Posted: Thu Jun 04, 2009 4:05 am
by luks911
Alogique wrote:Upgraded to 1.1.8 .......... Always this problem
Please help me !

Code: Select all

[ERROR   ] 05:48:53 main:207 No module named libtorrent
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/deluge/main.py", line 204, in start_daemon
    Daemon(options, args)
  File "/var/lib/python-support/python2.5/deluge/core/daemon.py", line 54, in __init__
    from deluge.core.core import Core
  File "/var/lib/python-support/python2.5/deluge/core/core.py", line 57, in <module>
    import libtorrent as lt
ImportError: No module named libtorrent
I have the same error with 1.1.8 from PPA on Ubuntu 9.04 32bits.
Any help will be welcomed.

Re: 1.1.6 : Ubuntu : ImportError: No module named libtorrent

Posted: Thu Jun 04, 2009 5:41 am
by pilipe
[ERROR ] 02:19:42 main:207 No module named libtorrent
Traceback (most recent call last):
File "/var/lib/python-support/python2.6/deluge/main.py", line 204, in start_daemon
Daemon(options, args)
File "/var/lib/python-support/python2.6/deluge/core/daemon.py", line 54, in __init__
from deluge.core.core import Core
File "/var/lib/python-support/python2.6/deluge/core/core.py", line 57, in <module>
import libtorrent as lt
ImportError: No module named libtorrent

Deluge 1.1.8 AMD64 Was working fine till today. I'm subscribed to the PPA since a few days ago so I guess some update may be the issue. Downgraded the package and all the dependencies but still doing this, then upgraded again, and still. Erased the .config/deluge folder, reinstalled and readed all the google pointing at this issue with no new response. I'll keep reading forums...

Re: 1.1.8 : Ubuntu : ImportError: No module named libtorrent

Posted: Thu Jun 04, 2009 7:09 am
by obscure_detour
Deluge 1.1.8, Jaunty i386 here. I restarted my server for an upgrade and now deluge daemon will not start. Tried deleting home/~/.config/deluge and still no luck.

Errors with:

Code: Select all

[ERROR   ] 00:08:00 main:207 No module named libtorrent
Traceback (most recent call last):
  File "/var/lib/python-support/python2.6/deluge/main.py", line 204, in start_daemon
    Daemon(options, args)
  File "/var/lib/python-support/python2.6/deluge/core/daemon.py", line 54, in __init__
    from deluge.core.core import Core
  File "/var/lib/python-support/python2.6/deluge/core/core.py", line 57, in <module>
    import libtorrent as lt
ImportError: No module named libtorrent
Reinstalling didn't seem to work either. Although I'm not sure I removed it completely.