Deluge 0.5.6.96 Won't Start

General support for problems installing or using Deluge
daddy
Seeder
Seeder
Posts: 100
Joined: Sun Jul 22, 2007 12:14 am

Re: Deluge 0.5.6.96 Won't Start

Post by daddy »

lifestyle wrote:So, is it ps x | grep deluge or ps aux | grep deluge?
It doesn't matter. `ps x` should provide all the information you need. Adding the 'a' displays all processes, not just those belonging to the current user, so unless you're running deluge as someone else, you're just typing an extra character. Adding the 'u' just adds a bunch of columns you don't need for finding the PID (e.g., user, cpu/memory stats, the date the process was started, etc.).
lifestyle wrote:I do not quite understand how to kill a pid... take a look at what I have tried:

$ deluge
create proxy object
create iface
send to iface
$ ps aux | grep deluge
pc 5839 2.1 4.7 167308 48760 ? Sl Nov25 8:16 /usr/bin/python2.5 /usr/bin/deluge
pc 8867 0.0 0.0 2976 748 pts/0 R+ 04:56 0:00 grep deluge
$ kill 5839
$ kill 8867
bash: kill: (8867) - No such process
$


Do I kill 1 or 2 processes? As you can see, even when trying to kill 2 events, only 5839 was killed.
Hehe. The second process is you grepping for deluge in the output of `ps aux`. It ends after it finishes its task, so it isn't around for you to kill. Only the first one needs to be killed.
lifestyle wrote:Oh, and Deluge still refuses to start. I am going to reboot the system and see if makes any difference. Am I in Windows??
Deluge may not be starting because of a different error. If you're getting the same error, try to `kill -9 $PID` (or `kill -KILL $PID`--same thing). If you are still having problems after that, post the new output of the deluge command (it won't survive a kill -9, so it will be a different problem).
markybob wrote:i didnt say `kill NUMBER`, i said `kill -KILL NUMBER` ...you're not in windows, you just apparently cant read very well :p
Sorry, that was my fault. I said kill number, because you should generally try to ask the process to shut down nicely before forcing the issue with a SIGKILL. Especially with deluge, which isn't very good at recovering from a SIGKILL (seems to screw up the persistent.state file every time).
lifestyle
Member
Member
Posts: 32
Joined: Mon Nov 19, 2007 6:28 am

Re: Deluge 0.5.6.96 Won't Start

Post by lifestyle »

hi daddy, thanks for the kill -9 PID tip (although I killed PID rather than $PID), it finally worked and Deluge is now back in action! hmmm, what is this very powerful kill -9 that Deluge did not survive, I wonder...

anyway, I did NOT have to reboot the system and that was what matters... i hate rebooting Linux due to an unresponsive process - now that is Windows. :D
User avatar
Ux64
Seeder
Seeder
Posts: 140
Joined: Wed Nov 14, 2007 5:02 am
Location: System Specialist

Re: Deluge 0.5.6.96 Won't Start

Post by Ux64 »

Won't start - libtorrent::invalid_handle - 0.5.6.96

Got that error with 0.5.6.96 too. Removing state file helped.

- Thank you!

After reading this thread I also know where deluge stores all data. I didn't know that earlier.
Major_Kong
Member
Member
Posts: 26
Joined: Sat Nov 24, 2007 10:01 pm

Re: Deluge 0.5.6.96 Won't Start

Post by Major_Kong »

Same problem different reason
(...)
Initialising plugin WebUi

(deluge:13818): libglade-WARNING **: could not look up stock id 'gtk-seleccionar-tudo'
Applying preferences
Starting DHT...
terminate called after throwing an instance of 'libtorrent::invalid_handle'
what(): invalid torrent handle used
Aborted (core dumped)
markybob
Compulsive Poster
Compulsive Poster
Posts: 1230
Joined: Thu May 24, 2007 11:27 pm
Location: Chicago, IL, USA
Contact:

Re: Deluge 0.5.6.96 Won't Start

Post by markybob »

Major_Kong wrote:Same problem different reason
(...)
Initialising plugin WebUi

(deluge:13818): libglade-WARNING **: could not look up stock id 'gtk-seleccionar-tudo'
Applying preferences
Starting DHT...
terminate called after throwing an instance of 'libtorrent::invalid_handle'
what(): invalid torrent handle used
Aborted (core dumped)
majorkong please come into our irc channel to help debug this so it wont keep happening
User avatar
brettalton
Member
Member
Posts: 21
Joined: Sun Oct 28, 2007 11:29 pm

Re: Deluge 0.5.6.96 Won't Start

Post by brettalton »

Hey, just letting you know I installed 0.5.6.96 after using the Ubuntu Gutsy repository version since before it's official release and I've had no problems.

I went through the preferences and plugins and everything was perfect. Love the new plugins too!

1 trival glitch would be that the "Move Torrent" plugin didn't detect what I had set before, but I REALLY don't care that it didn't transfer over. Just letting you know in case you want to fix it for usability purposes.

Keep up the great work!

Where do I donate?
markybob
Compulsive Poster
Compulsive Poster
Posts: 1230
Joined: Thu May 24, 2007 11:27 pm
Location: Chicago, IL, USA
Contact:

Re: Deluge 0.5.6.96 Won't Start

Post by markybob »

brettalton wrote:Hey, just letting you know I installed 0.5.6.96 after using the Ubuntu Gutsy repository version since before it's official release and I've had no problems.

I went through the preferences and plugins and everything was perfect. Love the new plugins too!

1 trival glitch would be that the "Move Torrent" plugin didn't detect what I had set before, but I REALLY don't care that it didn't transfer over. Just letting you know in case you want to fix it for usability purposes.

Keep up the great work!

Where do I donate?
glad to hear things are going well for you! thanks for the offer, but we dont accept donations. this might change in the future, though. :)
Post Reply