Page 1 of 1

huge problem : deluge deletes my torrents then crashes!

Posted: Wed Mar 12, 2008 7:48 pm
by djoole
Hi,

I'm getting a problem with 0.5.8.6 and 0.5.8.5 on Ubuntu Feisty 32bit.

Deluge is set to place torrent files in ~/torrent/, and automatically load torrents that are in ~/torrent/

When i put a torrent file in ~/torrent/, Deluge deletes instantly the .torrent and creates a fastresume file.
Download is happening normally..
When :
download is at 99%
or
i put download in pause, then delete torrent (via deluge function)
Then
deluge output this backtrace :

Code: Select all

Missing file: /home/julien/torrent/xxxxxxxxxxxx.torrent
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/deluge/interface.py", line 1531, in remove_torrent_clicked
    torrent_also.get_active())
  File "/var/lib/python-support/python2.5/deluge/core.py", line 439, in remove_torrent
    self.sync()
  File "/var/lib/python-support/python2.5/deluge/core.py", line 1078, in sync
    del self.state.torrents[self.unique_IDs[unique_ID]]
KeyError: <deluge.core.torrent_info instance at 0x858180c>
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/deluge/interface.py", line 1123, in update
    self.manager.apply_queue()
  File "/var/lib/python-support/python2.5/deluge/core.py", line 611, in apply_queue
    unique_ID = self.state.torrents[torrent]
KeyError: <deluge.core.torrent_info instance at 0x858180c>
and download never gets finished, torrent never gets removed from deluge.

I think the cause is that deluge removes torrent file as soon as it gets started.. but why??


Same thing happens when i manually add a torrent in Deluge, say which is in ~, but the torrent is not deleted in ~, nor copied in ~/torrent.

Thanks for helping!

Re: huge problem : deluge deletes my torrents then crashes!

Posted: Wed Mar 12, 2008 10:19 pm
by danii
I think your problem is that the the Autoload folder and the folder where .torrent files are stored can't be the same, try using seperate folder that should solve your problem

Re: huge problem : deluge deletes my torrents then crashes!

Posted: Wed Mar 12, 2008 10:45 pm
by djoole
Indeed it was the problem!
I feel a bit dumb now.. :)

Welle maybe a control should be added to prevent people from choosing the same directory.

Thanks danii!