If I start a download with more than one file in it and flag all but one file as 'Download Never' (in the details menu), cancel the download and then resume it later I get an error saying that one of the files flagged as 'Download Never' can't be opened and bittornado then locks up.
Example:
a torrent downloads 3 files: foo.mpg, bar.avi and baz.iso
1) Start the download.
2) Flag foo.mpg and bar.avi as 'Download Never'
3) Stop the download (ie press cancel button)
4) Resume the download
Expected result: baz.iso picks up from where it left off and foo.mpg and bar.avi are ignored and not touched.
Actual result: baz.iso picks up from where it left off BUT after a short while
bittornado returns the following error:
Code:
IO Error: unable to open /path/to/foo.mpg: [Errno 2] No such file or directory:
'/path/to/foo.mpg'
When a torrent is canceled files marked as 'Download Never' are deleted from the target directory and so obviously can't be opened. Prehaps the empty dummy files initially created when the torrent is first started shouldn't be deleted until all the files marked for download have finished downloading.[/code]