Ticket #1204 (closed defect: invalid)

Opened 2 years ago

Last modified 2 years ago

after restart, rtorrent can't start again some downloads started before

Reported by: kaouete@crazydwarves.org Owned by: rakshasa
Priority: high Milestone:
Component: rtorrent Version: HEAD
Severity: major Keywords:
Cc:

Description

Hi,

I added two torrent to rtorrent, and after i downloaded a part of it, i stopped it. After I removed some of the files of one torrent, and not of the other.

When I started rtorrent again, and tried to start them, the first one wouldn't, and failed with this error : Could not create directory '/mnt/dd160/partage/Videos/Animes/[ToyBox?]Mamoru-kun ni Megami no Shukufuku wo! 01-19': Aucun fichier ou répertoire de ce type

I am not sure it is linked too the file removed, but this is all i can tell. I am using r1027.

Attachments

Change History

Changed 2 years ago by anonymous

Yeah, rtorrent doesn't like if you delete files it's supposed to be downloading. Although maybe it'd be better if it just recreated them in that case although you'll lose all progress of course.

Changed 2 years ago by kaouete@crazydwarves.org

Before there was a lot of changes, rtorrent just didn't care about these files.

The best I think for me, would be to not touch deleted files, even put them to off automagically if they are deleted, and if they are put to on again, create them.

Changed 2 years ago by anonymous

From what I can tell, it doesn't try to create files set to "off". However, it MUST create files that are next to another file set to "on", because the chunks overlap both files. There's a ticket to have this fixed, but until then you can't delete files that share a chunk with other files that are set "on".

Changed 2 years ago by kaouete@crazydwarves.org

I had this problem again today, It tried to open a file set to off, and not next to one set to on, and I got this error : Could not open file "/mnt/dd160/partage/Videos/Animes/[ToyBox?]Mamoru-kun ni Megami no Shukufuku wo! 01-19/[ToyBox?]Mamoru-kun_ni_Megami_no_Shukufuku_wo!_01_[E5DB96EF].mp4" : Aucun fichier ou répertoire de ce type

And after I closed it and reopened it, it did the hash check, so I thought it will re-create missing files, but no, I got this error : Could not create directory '/mnt/dd160/partage/Videos/Animes/[ToyBox?]Mamoru-kun ni Megami no Shukufuku wo! 01-19': Aucun fichier ou répertoire de ce type

(And this directory exists :)

Changed 2 years ago by rakshasa

  • status changed from new to closed
  • resolution set to invalid

There's some incompatibilities in the session files between the way 0.11.x and 0.12.0 handles directories. Reload the torrents.

Changed 2 years ago by lostnihilist

This python script should fix the incompatibilities in the session files. Make sure to read the directions for the script

 http://rssdler.googlecode.com/files/fixSession080.py

Changed 2 years ago by lostnihilist

Use the latest version of the  fixSession080.py in that list. The other one should've still worked, but this one makes more effort to work well.

Add/Change #1204 (after restart, rtorrent can't start again some downloads started before)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.