[ERROR ] 11:33:09 main:216 No module named libtorrent
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/deluge-1.2.0_rc3-py2.5.egg/deluge/main.py", line 209, in start_daemon
Daemon(options, args)
File "/usr/lib/python2.5/site-packages/deluge-1.2.0_rc3-py2.5.egg/deluge/core/daemon.py", line 134, in __init__
from deluge.core.core import Core
File "/usr/lib/python2.5/site-packages/deluge-1.2.0_rc3-py2.5.egg/deluge/core/core.py", line 36, in <module>
from deluge._libtorrent import lt
File "/usr/lib/python2.5/site-packages/deluge-1.2.0_rc3-py2.5.egg/deluge/_libtorrent.py", line 59, in <module>
import libtorrent as lt
ImportError: No module named libtorrent
libtorrent directory is missing from the rc3 sources, I've copied it from rc2, rebuilt and reinstalled rc3 and it seems to be working.
1.2.0.rc3 daemon fails to start, python-libtorrent missing
1.2.0.rc3 daemon fails to start, python-libtorrent missing
Last edited by lvm on Mon Nov 02, 2009 9:06 am, edited 1 time in total.
Re: 1.2.0.rc3 daemon fails to start, python-libtorrent missing
the answer to your error is on the faq: http://dev.deluge-torrent.org/wiki/Faq# ... rrenterror.
how did you install deluge?
the release notes mention that libtorrent is no longer included in the source.
you should be able to install libtorrent from your distro's repo (it's libtorrent-rasterbar in ubuntu).
how did you install deluge?
the release notes mention that libtorrent is no longer included in the source.
you should be able to install libtorrent from your distro's repo (it's libtorrent-rasterbar in ubuntu).
Re: 1.2.0.rc3 daemon fails to start, python-libtorrent missing
I get yet another chance to rant about non-existing ubuntu LTS support - there is no libtorrent-rasterbar in hardy packages.
Re: 1.2.0.rc3 daemon fails to start, python-libtorrent missing
then install it from the ppa: https://launchpad.net/~deluge-team/+archive/ppa
Re: 1.2.0.rc3 daemon fails to start, python-libtorrent missing
just rebuilt deluge from svn 1.2_RC rev. 5911 and got this:
kernel: [84955.962568] deluged[13110]: segfault at 4 ip 01274162 sp bfd23090 error 4 in libtorrent.so[fa2000+4e8000]
kernel: [84955.962568] deluged[13110]: segfault at 4 ip 01274162 sp bfd23090 error 4 in libtorrent.so[fa2000+4e8000]
Re: 1.2.0.rc3 daemon fails to start, python-libtorrent missing
Did you do a clean build? Can you get a backtrace of the segfault?vasyog wrote:just rebuilt deluge from svn 1.2_RC rev. 5911 and got this:
kernel: [84955.962568] deluged[13110]: segfault at 4 ip 01274162 sp bfd23090 error 4 in libtorrent.so[fa2000+4e8000]
Code: Select all
gdb --args python /usr/bin/deluged -d
(gdb) run
#after crash
(gdb) bt
Re: 1.2.0.rc3 daemon fails to start, python-libtorrent missing
i've checkouted http://svn.deluge-torrent.org/branches/1.2_RC and build
installed in /usr/local/lib/python2.6/dist-packages
installed in /usr/local/lib/python2.6/dist-packages
Code: Select all
Reading symbols from /usr/bin/python...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/python /usr/bin/deluged -d
[Thread debugging using libthread_db enabled]
Traceback (most recent call last):
File "/usr/bin/deluged", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2566, in <module>
parse_requirements(__requires__), Environment()
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 524, in resolve
raise DistributionNotFound(req) # XXX put more info here
pkg_resources.DistributionNotFound: deluge==1.1.6
Program exited with code 01.
(gdb) bt
No stack.
(gdb)
Re: 1.2.0.rc3 daemon fails to start, python-libtorrent missing
Where did you install it to? Change /usr/bin/deluged to the proper startup script.. It seems the one in /usr/bin is pointing to a deluge-1.1.6 installation.vasyog wrote:i've checkouted http://svn.deluge-torrent.org/branches/1.2_RC and build
installed in /usr/local/lib/python2.6/dist-packages
Code: Select all
Reading symbols from /usr/bin/python...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/python /usr/bin/deluged -d [Thread debugging using libthread_db enabled] Traceback (most recent call last): File "/usr/bin/deluged", line 5, in <module> from pkg_resources import load_entry_point File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2566, in <module> parse_requirements(__requires__), Environment() File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 524, in resolve raise DistributionNotFound(req) # XXX put more info here pkg_resources.DistributionNotFound: deluge==1.1.6 Program exited with code 01. (gdb) bt No stack. (gdb)