can not start deluge daemon

General support for problems installing or using Deluge
Post Reply
jule_
New User
New User
Posts: 5
Joined: Fri Nov 27, 2009 9:21 am

can not start deluge daemon

Post by jule_ »

I recently upgraded my Ubuntu to Karmic and my Deluge from 1.1.9 to 1.2.0-rc4.

Now the Deluge daemon does not start automatically anymore. When starting the Deluge Client I get a "not connected" in the status bar. In non classic mode I can choose "127.0.0.1:58846" but the status col has an X (which means "not running" I guess?) and hitting the "Start Daemon" button does nothing.

When I start the daemon via terminal deluged -d -L debug (from [1]) I get a lot of status info and then

Code: Select all

[...]
[DEBUG   ] 10:14:01 torrent:337 set_state_based_on_ltstate: Queued
[DEBUG   ] 10:14:01 torrent:338 session.is_paused: False
[DEBUG   ] 10:14:01 torrent:171 Torrent object created.
[DEBUG   ] 10:14:01 component:170 Resuming component AlertManager..
[DEBUG   ] 10:14:01 rpcserver:409 intevents: {}
[DEBUG   ] 10:14:01 core:133 post_torrent_add
[ERROR   ] 10:14:01 main:216 Python argument types in
    torrent_handle.set_max_connections(torrent_handle, float)
did not match C++ signature:
    set_max_connections(libtorrent::torrent_handle {lvalue}, int)
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/deluge/main.py", line 209, in start_daemon
    Daemon(options, args)
  File "/usr/lib/pymodules/python2.6/deluge/core/daemon.py", line 167, in __init__
    component.start()
  File "/usr/lib/pymodules/python2.6/deluge/component.py", line 210, in start
    _ComponentRegistry.start()
  File "/usr/lib/pymodules/python2.6/deluge/component.py", line 118, in start
    self.start_component(component)
  File "/usr/lib/pymodules/python2.6/deluge/component.py", line 131, in start_component
    self.components[name].start()
  File "/usr/lib/pymodules/python2.6/deluge/core/torrentmanager.py", line 203, in start
    self.load_state()
  File "/usr/lib/pymodules/python2.6/deluge/core/torrentmanager.py", line 581, in load_state
    resume_data=resume_data.get(torrent_state.torrent_id))
  File "/usr/lib/pymodules/python2.6/deluge/core/torrentmanager.py", line 476, in add
    component.get("EventManager").emit(TorrentAddedEvent(torrent.torrent_id))
  File "/usr/lib/pymodules/python2.6/deluge/core/eventmanager.py", line 56, in emit
    handler(*event.args)
  File "/usr/share/pyshared/deluge/plugins/Label-0.1-py2.6.egg/label/core.py", line 139, in post_torrent_add
    self.set_torrent(torrent_id, label_id)
  File "/usr/share/pyshared/deluge/plugins/Label-0.1-py2.6.egg/label/core.py", line 296, in set_torrent
    self._set_torrent_options(torrent_id, label_id)
  File "/usr/share/pyshared/deluge/plugins/Label-0.1-py2.6.egg/label/core.py", line 210, in _set_torrent_options
    torrent.set_max_connections(options["max_connections"])
  File "/usr/lib/pymodules/python2.6/deluge/core/torrent.py", line 198, in set_max_connections
    self.handle.set_max_connections(max_connections)
ArgumentError: Python argument types in
    torrent_handle.set_max_connections(torrent_handle, float)
did not match C++ signature:
    set_max_connections(libtorrent::torrent_handle {lvalue}, int)
(I could post the whole output if anyone thinks it might help finding the problem)

My guess is that it has something to do with Python or some old outdated C++ signature or something. I am really just a Linux user and not the I-write-my-own-scripts kind of guy. So please give me some directions how I can use rc4 on my machine.


[1] http://dev.deluge-torrent.org/wiki/Faq# ... ingenabled


tia,

jule_
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: can not start deluge daemon

Post by andar »

It looks like your label.conf file is corrupt. Try removing it and restarting deluge.

It's likely in: ~/.config/deluge
jule_
New User
New User
Posts: 5
Joined: Fri Nov 27, 2009 9:21 am

Re: can not start deluge daemon

Post by jule_ »

Thanks for the hint.

I downgraded to Deluge 1.1.9 again and now everything works fine.
Post Reply