[solved] deluge 1.2.0 doesn't exit cleanly to the cli

General support for problems installing or using Deluge
Post Reply
seron
New User
New User
Posts: 5
Joined: Sat Jan 16, 2010 10:25 am

[solved] deluge 1.2.0 doesn't exit cleanly to the cli

Post by seron »

I'm running deluged and deluge with a web interface on a gentoo linux system in order to access deluge from a Mac. If I, in addition, run deluge from the cli (on the linux system) I get the gui. Closing the gui does not return control to the cli. Instead Ctrl-C is required accomplish this. Why?
Last edited by seron on Thu Jan 28, 2010 2:32 pm, edited 1 time in total.
gazpachoking
Moderator
Moderator
Posts: 315
Joined: Sat Aug 18, 2007 2:28 pm
Location: Pittsburgh, USA

Re: deluge 1.2.0 doesn't exit cleanly to the cli

Post by gazpachoking »

I believe this bug was fixed in svn a couple days ago.
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: deluge 1.2.0 doesn't exit cleanly to the cli

Post by johnnyg »

@gazpachoking: if you're referring to http://dev.deluge-torrent.org/changeset/6099 then that was for the console UI.
However, I believe seron is referring to running the GTK UI from a terminal.

@seron: could you run it with debug logging enabled (deluge -L debug) and see where it gets stuck when shutting down?
gazpachoking
Moderator
Moderator
Posts: 315
Joined: Sat Aug 18, 2007 2:28 pm
Location: Pittsburgh, USA

Re: deluge 1.2.0 doesn't exit cleanly to the cli

Post by gazpachoking »

johnnyg wrote:@gazpachoking: if you're referring to http://dev.deluge-torrent.org/changeset/6099 then that was for the console UI.
However, I believe seron is referring to running the GTK UI from a terminal.

@seron: could you run it with debug logging enabled (deluge -L debug) and see where it gets stuck when shutting down?
Yeah, I read the original post again, sorry, my brain was not fully on when I decided to reply.
seron
New User
New User
Posts: 5
Joined: Sat Jan 16, 2010 10:25 am

Re: deluge 1.2.0 doesn't exit cleanly to the cli

Post by seron »

Here's an excerpt from the debug output, that I hope is relevant. Let me know if you need the output in its entirety.

Exiting GUI @15:30:26 torrentview:464...

Last line before Ctrl-C is pressed: 15:30:32 config:429 Moving new config...

Code: Select all

...deleted the debug code...
Last edited by seron on Thu Jan 28, 2010 2:32 pm, edited 1 time in total.
seron
New User
New User
Posts: 5
Joined: Sat Jan 16, 2010 10:25 am

Re: deluge 1.2.0 doesn't exit cleanly to the cli

Post by seron »

I noticed that it does exit cleanly if I close it by using the deluge icon in the tray. Only when closing the window using the x does it not exit cleanly. I use xfce 4.6.1 if that is of any help.
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: deluge 1.2.0 doesn't exit cleanly to the cli

Post by johnnyg »

Do you have "Minimize to tray on close" enabled? (Preferences->Interface, System Tray)
That would explain why it doesn't shutdown when you close the window.
seron
New User
New User
Posts: 5
Joined: Sat Jan 16, 2010 10:25 am

Re: deluge 1.2.0 doesn't exit cleanly to the cli

Post by seron »

Ahhh. That was it! I didn't see that setting, and didn't notice the deluge icon still in the tray (my desktop is mostly blue and grey tones).

Thanks for all the help!
Post Reply