Deluge v1.1.1 unable to start the daemon

General support for problems installing or using Deluge
Post Reply
aoeu
New User
New User
Posts: 4
Joined: Sun Apr 13, 2008 3:17 pm

Deluge v1.1.1 unable to start the daemon

Post by aoeu »

Hello,

Upon updating to my Gentoo's net-p2p/deluge-1.1.1, Deluge is unable to start the daemon.
I'm testing with a clean ~/.config/deluge directory.

Code: Select all

$ deluge -L debug
...
[INFO    ] 20:34:24 connectionmanager:478 Starting localhost:58846 daemon..
Starting /usr/bin/deluged seems to fail silently---even with -L debug.

Code: Select all

$ deluged -L debug -l deluged.log
$ cat deluged.log
[INFO    ] 20:36:56 daemon:36 Deluge daemon 1.1.1
[DEBUG   ] 20:36:56 daemon:37 options: {'loglevel': 'debug', 'quiet': False, 'logfile': 'deluged.log', 'config': None, 'port': None, 'pidfile': None, 'donot': False}
[DEBUG   ] 20:36:56 daemon:38 args: []
Adding -d to /usr/bin/deluged's args, the daemon starts fine and the /usr/bin/deluge's GUI is able to connect, too.

Code: Select all

$ deluged -L info -d
[INFO    ] 20:48:53 daemon:36 Deluge daemon 1.1.1
/usr/lib/python2.5/site-packages/deluge/core/core.py:43: RuntimeWarning: Python C API version mismatch for module libtorrent: This Python has API version 1013, module libtorrent has version 1012.
  import deluge.libtorrent as lt
[INFO    ] 20:48:53 core:98 Starting XMLRPC server on port 58846
[WARNING ] 20:48:53 torrentmanager:477 Unable to update state file to a compatible version: list index out of range
Even though I see a libtorrent version mismatch, Deluge's behaviour seems fine.


I'm open to suggestions.

Thanks in advance!
mmm&mmm

Re: Deluge v1.1.1 unable to start the daemon

Post by mmm&mmm »

Hi!

I'm in the same situation. I've updated the system a few days/weeks ago and tried updating deluge to 1.1.1 :arrow: This has proven to be a huge mistake. Now I can't put it to work and I have a big download at 50%... I've tried version 1.0.7 through 1.1.1 and no luck.

I'm going nuts on this! I've tried emerging different versions of several packages, but I didn't find the reason for this. If you find a solution, _please_ post it
andar
Top Bloke
Top Bloke
Posts: 1050
Joined: Fri Jun 08, 2007 8:38 pm
Location: Victoria, BC
Contact:

Re: Deluge v1.1.1 unable to start the daemon

Post by andar »

Do you have the rb_libtorrent package installed? If so, try removing it and re-emerging deluge.
aoeu
New User
New User
Posts: 4
Joined: Sun Apr 13, 2008 3:17 pm

Re: Deluge v1.1.1 unable to start the daemon

Post by aoeu »

andar wrote:Do you have the rb_libtorrent package installed? If so, try removing it and re-emerging deluge.
I don't have net-libs/rb_libtorrent installed.
danii
Seeder
Seeder
Posts: 123
Joined: Tue Oct 23, 2007 10:29 pm
Location: Braga, Portugal

Re: Deluge v1.1.1 unable to start the daemon

Post by danii »

I've had some problems with Deluge in the past because I was using ccache, do:

Code: Select all

emerge --info|grep ccache
to check if you have it enabled.
To emerge deluge without ccache :

Code: Select all

FEATURES="-ccache" emerge deluge
also i would recommend you to first unmerge deluge and delete /usr/lib/python2.5/site-packages/deluge prior the new emerge just to be sure there aren't any old files remaining
mmm&mmm

Re: Deluge v1.1.1 unable to start the daemon

Post by mmm&mmm »

Hi!


I've solved it! My problem was that dev-util/boost-build didn't had the python use flag activated. After activating it and after recompiling deluge it is working (for the past 10 mins... :lol: )

Try it and if this solves your case post it/or add a bug stating that on gentoo bugzilla.


Cheers
aoeu
New User
New User
Posts: 4
Joined: Sun Apr 13, 2008 3:17 pm

Re: Deluge v1.1.1 unable to start the daemon

Post by aoeu »

Thanks! I'll give the two proposed fixes a try, but I'd like to point out that the daemon works fine when started manually with a no-detach flag.

The front-end needs better checks, too, to see if starting the daemon fails. Notifying users during the GUI "hang" would be expectable behavior as well.
Post Reply