Page 1 of 1

Hot to remove a torrent ? (Solved)

Posted: Mon Jul 01, 2013 2:54 pm
by rolgiati
Is there a way to do this by removing files ? (which ones ?)
Whenever I try to remove a torrent either with Remove Torrent or Remove with Data, Deluge crashes with a segmentation fault.

Deluge 1.3.3
libtorrent 0.15.10
SolydX Linux

Re: Hot to remove a torrent ?

Posted: Mon Jul 01, 2013 6:28 pm
by Cas

Re: Hot to remove a torrent ?

Posted: Mon Jul 01, 2013 6:50 pm
by rolgiati
Thank you for your link, which explains the problem, but does not address my query:

Is there a way to remove a torrent by removing some files ? which ones ?

(I had already found the source of the problem searching the forum, but 1.3.3 is the most recent version of Deluge for my distribution, and I would like to remove some torrents without having to wait for a future distribution release)

Re: Hot to remove a torrent ? (Solved)

Posted: Mon Jul 01, 2013 8:15 pm
by rolgiati
Found how to do it, using locate to find where the torrent files hide :

- In the Deluge GUI, open the Details tab, and copy the content of the Hash entry (Second from the top)

- In a console, go to the ~/.config/deluge/state/ directory, and rm the file (hash-entry).torrent, then y to confirm deletion.

- Stop and restart Deluge, the torrent should be gone.

Sometimes this is not enough; in this case: stop Deluge, remove both ~/.config/deluge/state/torrents.fastresume and ~/.config/deluge/state/torrents.state, restart Deluge, go to File => Add Torrent, and add all the .torrent files still present in the ~/.config/deluge/state/ directory.
Deluge will then check the status of all the remaining torrents, and re-create the files you just deleted, without the offending torrent(s).