1.1.6 : Ubuntu : ImportError: No module named libtorrent

General support for problems installing or using Deluge
odelance
New User
New User
Posts: 4
Joined: Tue Apr 14, 2009 8:03 pm

1.1.6 : Ubuntu : ImportError: No module named libtorrent

Post 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" ?
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

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

Post 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?
odelance
New User
New User
Posts: 4
Joined: Tue Apr 14, 2009 8:03 pm

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

Post 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.
elBradford

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

Post 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...).
odelance
New User
New User
Posts: 4
Joined: Tue Apr 14, 2009 8:03 pm

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

Post by odelance »

I installed Ubuntu 9.4, remove Deluge 1.1.6 package and reinstall it. It works now!
Alogique
New User
New User
Posts: 4
Joined: Mon May 11, 2009 5:26 pm

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

Post 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
Alogique
New User
New User
Posts: 4
Joined: Mon May 11, 2009 5:26 pm

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

Post 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
luks911

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

Post 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.
pilipe
New User
New User
Posts: 3
Joined: Thu Jun 04, 2009 5:29 am

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

Post 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...
obscure_detour

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

Post 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.
Post Reply