Page 1 of 1

deluge-gtk connects deluged but nothing appears

Posted: Mon Jan 02, 2012 9:02 pm
by lucskos
Hi,

deluge-gtk stopped working... :(

I start deluged at system startup and connect to with deluge-gtk whenever I want. But since a week the GUI shows nothing. (I don't remember any installation or configuration change, but no one knows...)
  • - So, the deluged works perfectly as before, I see the network traffic, and I can add torrents with deluge-console "add" command.
    - After starting deluge-gtk in non-classic mode, the connection manager pops up provides the connection to the daemon (green light), I press connect, it connects, but nothing happens. I see nothing on it.
    - If I stop the deluged and reconfigure the deluge-gtk to classic mode, then I see the torrents, and it works. (But I'd like to use the daemon mode, because I don't always have X running and I also want to administer the torrents with deluge-console.)
    - Firewall is not an issue, since deluged and deluge-gtk runs on the same machine, without any iptable rules and with default policy accept on all tables
This is the log from deluge-gtk about connecting to the daemon:

Code: Select all

[INFO    ] 21:42:28 client:221 Connecting to daemon at 127.0.0.1:58846..
[DEBUG   ] 21:42:28 config:216 Setting 'hosts' to [] of <type 'list'>
[DEBUG   ] 21:42:28 config:423 Saving new config file /home/john/.config/deluge/hostlist.conf.1.2.new
[DEBUG   ] 21:42:28 config:436 Backing up old config file to /home/john/.config/deluge/hostlist.conf.1.2~
[DEBUG   ] 21:42:28 config:444 Moving new config file /home/john/.config/deluge/hostlist.conf.1.2.new to /home/john/.config/deluge/hostlist.conf.1.2..
[DEBUG   ] 21:42:29 config:423 Saving new config file /home/john/.config/deluge/gtkui.conf.new
[DEBUG   ] 21:42:29 config:436 Backing up old config file to /home/john/.config/deluge/gtkui.conf~
[DEBUG   ] 21:42:29 config:444 Moving new config file /home/john/.config/deluge/gtkui.conf.new to /home/john/.config/deluge/gtkui.conf..
[INFO    ] 21:42:29 client:125 Connected to daemon at 127.0.0.1:58846..
[DEBUG   ] 21:42:29 pluginmanager:88 Core has these plugins enabled: ()
[DEBUG   ] 21:42:33 gtkui:272 sent: 1.5 KiB recv: 985.5 KiB
[DEBUG   ] 21:42:33 gtkui:280 sent rate: 0.0 KiB/s recv rate: 0.0 KiB/s
[DEBUG   ] 21:42:43 gtkui:272 sent: 2.3 KiB recv: 1.9 MiB
[DEBUG   ] 21:42:43 gtkui:280 sent rate: 0.1 KiB/s recv rate: 100.6 KiB/s
[DEBUG   ] 21:42:53 gtkui:272 sent: 3.3 KiB recv: 3.2 MiB
[DEBUG   ] 21:42:53 gtkui:280 sent rate: 0.1 KiB/s recv rate: 124.4 KiB/s
Debug from the deluged is just one line:

Code: Select all

[INFO    ] 21:42:29 rpcserver:203 Deluge Client connection made from: 127.0.0.1:40406
Packages are on debian/unstable amd64:

Code: Select all

deluge            1.3.3-2   
deluge-common     1.3.3-2             
deluge-console    1.3.3-2             
deluge-gtk        1.3.3-2             
deluge-web        1.3.3-2             
deluged           1.3.3-2    
libtorrent-rasterbar6       0.15.9-1  
libtorrent14                0.12.9-3  
python-libtorrent           0.15.9-1
I've been struggling with this problem for a week without any clue... Can you have any hint? What to debug, or where could be the problem?

Re: deluge-gtk connects deluged but nothing appears

Posted: Mon Jan 02, 2012 11:31 pm
by Cas
First thing to try is with clean config for the client.

[SOLVED] Re: deluge-gtk connects deluged but nothing appears

Posted: Wed Jan 04, 2012 9:26 pm
by lucskos
Cas wrote:First thing to try is with clean config for the client.
I moved ~/.config/deluge to another name and then it worked! Then I started to copy each config file back and try to start the delgued with deluge-gtk with, and at the end I found that the torrents.state file have to be the problem. I've run about 100 torrents, so the file is about 60kB, but it's quite cryptic, I have no clue where could it be syntactically wrong.
Now I'm trying to delete torrens.state and add all torrents again... Recheck would take some hours. But finally it's a solution, thank you!