Hot to remove a torrent ? (Solved)

General support for problems installing or using Deluge
Post Reply
rolgiati
New User
New User
Posts: 3
Joined: Mon Jul 01, 2013 2:26 pm

Hot to remove a torrent ? (Solved)

Post 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
Last edited by rolgiati on Mon Jul 01, 2013 8:16 pm, edited 1 time in total.
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Hot to remove a torrent ?

Post by Cas »

rolgiati
New User
New User
Posts: 3
Joined: Mon Jul 01, 2013 2:26 pm

Re: Hot to remove a torrent ?

Post 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)
rolgiati
New User
New User
Posts: 3
Joined: Mon Jul 01, 2013 2:26 pm

Re: Hot to remove a torrent ? (Solved)

Post 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).
Post Reply