Page 1 of 3
Deluge dosn't start
Posted: Wed Dec 23, 2009 5:49 pm
by kinda cute
Hi All,
I've compiled latest deluge(deluge-1.2.0_rc5). There were some error messages during compilation. Full log in attachment. But actually it is compiled, but when i am trying to run it i recieve next message:
Code: Select all
deluge
Traceback (most recent call last):
File "/usr/bin/deluge", line 7, in ?
sys.exit(
File "/usr/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resources.py", line 277, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resources.py", line 2180, in load_entry_point
return ep.load()
File "/usr/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resources.py", line 1913, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.4/site-packages/deluge-1.2.0_rc5-py2.4.egg/deluge/main.py", line 218
finally:
^
SyntaxError: invalid syntax
Any suggestion what can be the reason of this problem?
Re: Deluge dosn't start
Posted: Wed Dec 23, 2009 5:56 pm
by andar
Looks like you're using an older version of python. Deluge 1.2 requires >= python 2.5.
Re: Deluge dosn't start
Posted: Wed Dec 23, 2009 7:10 pm
by kinda cute
Thank you for the fast reply,
Already updating python. I will be back in couple of minutes.
Re: Deluge dosn't start
Posted: Wed Dec 23, 2009 8:26 pm
by kinda cute
Dear Andar,
i tried a 2.6 python. Changed only line
Code: Select all
[root@maryana maksim]# deluged
Traceback (most recent call last):
File "/usr/local/bin/deluged", line 8, in <module>
load_entry_point('deluge==1.2.0-rc5', 'console_scripts', 'deluged')()
File "/usr/local/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py", line 277, in load_entry_point
File "/usr/local/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py", line 2180, in load_entry_point
File "/usr/local/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py", line 1913, in load
File "/usr/local/lib/python2.6/site-packages/deluge-1.2.0_rc5-py2.6.egg/deluge/main.py", line 47, in <module>
import deluge.common
File "/usr/local/lib/python2.6/site-packages/deluge-1.2.0_rc5-py2.6.egg/deluge/common.py", line 66, in <module>
import xdg, xdg.BaseDirectory
ImportError: No module named xdg
[root@maryana maksim]#
Python 3 and 3.1 is failed:
Code: Select all
[root@maryana deluge-1.2.0_rc5]# python3.1 setup.py build
File "setup.py", line 302
except Exception, e:
^
SyntaxError: invalid syntax
[root@maryana deluge-1.2.0_rc5]# python3 setup.py build
File "setup.py", line 302
except Exception, e:
^
SyntaxError: invalid syntax
Re: Deluge dosn't start
Posted: Wed Dec 23, 2009 8:34 pm
by andar
kinda cute wrote:Dear Andar,
i tried a 2.6 python. Changed only line
Code: Select all
[root@maryana maksim]# deluged
Traceback (most recent call last):
File "/usr/local/bin/deluged", line 8, in <module>
load_entry_point('deluge==1.2.0-rc5', 'console_scripts', 'deluged')()
File "/usr/local/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py", line 277, in load_entry_point
File "/usr/local/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py", line 2180, in load_entry_point
File "/usr/local/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py", line 1913, in load
File "/usr/local/lib/python2.6/site-packages/deluge-1.2.0_rc5-py2.6.egg/deluge/main.py", line 47, in <module>
import deluge.common
File "/usr/local/lib/python2.6/site-packages/deluge-1.2.0_rc5-py2.6.egg/deluge/common.py", line 66, in <module>
import xdg, xdg.BaseDirectory
ImportError: No module named xdg
[root@maryana maksim]#
Python 3 and 3.1 is failed:
Code: Select all
[root@maryana deluge-1.2.0_rc5]# python3.1 setup.py build
File "setup.py", line 302
except Exception, e:
^
SyntaxError: invalid syntax
[root@maryana deluge-1.2.0_rc5]# python3 setup.py build
File "setup.py", line 302
except Exception, e:
^
SyntaxError: invalid syntax
Now you're missing the pyxdg dependency.. Have you read the DEPENDS file?
Re: Deluge dosn't start
Posted: Wed Dec 23, 2009 10:11 pm
by kinda cute
Thanks, looks like it works, but still have some problems:
Code: Select all
[root@maryana deluge-1.2.0_rc5]# cat /var/log/deluge.log
[ERROR ] 00:07:01 main:216 No module named libtorrent
Traceback (most recent call last):
File "/usr/local/lib/python2.6/site-packages/deluge-1.2.0_rc5-py2.6.egg/deluge/main.py", line 209, in start_daemon
Daemon(options, args)
File "/usr/local/lib/python2.6/site-packages/deluge-1.2.0_rc5-py2.6.egg/deluge/core/daemon.py", line 134, in __init__
from deluge.core.core import Core
File "/usr/local/lib/python2.6/site-packages/deluge-1.2.0_rc5-py2.6.egg/deluge/core/core.py", line 36, in <module>
from deluge._libtorrent import lt
File "/usr/local/lib/python2.6/site-packages/deluge-1.2.0_rc5-py2.6.egg/deluge/_libtorrent.py", line 59, in <module>
import libtorrent as lt
ImportError: No module named libtorrent
will search the forum for the answer. Thanks, i am really glad that there is a such project. Because MLDonkey is seems to be dead

Re: Deluge dosn't start
Posted: Thu Dec 24, 2009 1:10 pm
by kinda cute
Which exactly libtorrent deluge needs?
libtorrent-rasterbar or just libtorrent.
Because i have one, but deluge dosn't start still.
Code: Select all
ls /usr/lib/libt*
/usr/lib/libtcl8.4.so /usr/lib/libtiff.so.3.8.2 /usr/lib/libtorrent.so.11
/usr/lib/libtheora.so.0 /usr/lib/libtiffxx.so.3 /usr/lib/libtorrent.so.11.0.5
/usr/lib/libtheora.so.0.2.0 /usr/lib/libtiffxx.so.3.8.2 /usr/lib/libtorrent.so.11.0.6
/usr/lib/libthread_db.so /usr/lib/libtorrent.la
/usr/lib/libtiff.so.3 /usr/lib/libtorrent.so
Error message is next:
Code: Select all
[ERROR ] 15:18:20 main:216 dynamic module does not define init function (initlibtorrent)
Traceback (most recent call last):
File "/usr/local/lib/python2.6/site-packages/deluge-1.2.0_rc5-py2.6.egg/deluge/main.py", line 209, in start_daemon
Daemon(options, args)
File "/usr/local/lib/python2.6/site-packages/deluge-1.2.0_rc5-py2.6.egg/deluge/core/daemon.py", line 134, in __init__
from deluge.core.core import Core
File "/usr/local/lib/python2.6/site-packages/deluge-1.2.0_rc5-py2.6.egg/deluge/core/core.py", line 36, in <module>
from deluge._libtorrent import lt
File "/usr/local/lib/python2.6/site-packages/deluge-1.2.0_rc5-py2.6.egg/deluge/_libtorrent.py", line 59, in <module>
import libtorrent as lt
ImportError: dynamic module does not define init function (initlibtorrent)
Re: Deluge dosn't start
Posted: Thu Dec 24, 2009 1:42 pm
by johnnyg
libtorrent-rasterbar
Re: Deluge dosn't start
Posted: Thu Dec 24, 2009 1:46 pm
by kinda cute
Bad, i compiling it for all night and all this day and still recieve this message:
Code: Select all
checking whether the Boost::ASIO library is available... yes
checking for main in -lboost_system... yes
configure: BOOST_CPPFLAGS=-I/usr/local/include
configure: BOOST_LDFLAGS=-L/usr/local/lib
checking whether the Boost::Filesystem library is available... yes
configure: error: Could not link against boost_system !
Any idea why this can happen?
Re: Deluge dosn't start
Posted: Thu Dec 24, 2009 2:30 pm
by johnnyg
if you're compiling deluge from source then you just need to drop the libtorrent source folder into the deluge folder and then follow
http://dev.deluge-torrent.org/wiki/Inst ... Installing