Partial downloads (that were migrated from 3.3.16) give IO errors when a chunk of a Not Downloaded file is being read. #6478

Open
opened 2026-02-21 18:26:29 -05:00 by deekerman · 0 comments
Owner

Originally created by @EraYaN on GitHub (Nov 30, 2017).

Please provide the following information

qBittorrent version and Operating System

4.0.1 on Windows 10 x64 ver . 1709

What is the problem

30-11-2017 15:37 - An I/O error occurred, '<torrentname>' paused. <torrentname> partfile read (<filepath>) error: No such file or directory

And the file path points to a file that is "Not Downloaded" state in the content tab, so it would seem logical that it can't find this file, I wont if it properly communicates this to other peers. Also the torrent happily continues seeding (as mentioned in an other issue. In this case that is the wanted behaviour.

What is the expected behavior

Don't try to read non existent files that you know upfront will not exist.

Steps to reproduce

Migrate partial download (finished but with some files marked "Don't Download") to 4.0.1 (in one go, skip 4.0.0 And wait until seeding begins (actual upload). The problem is probably when a peer requests a chunk you don't have.

Extra info(if any)

Happen for multiple torrents.

Originally created by @EraYaN on GitHub (Nov 30, 2017). **Please provide the following information** ### qBittorrent version and Operating System 4.0.1 on Windows 10 x64 ver . 1709 ### What is the problem ``` 30-11-2017 15:37 - An I/O error occurred, '<torrentname>' paused. <torrentname> partfile read (<filepath>) error: No such file or directory ``` And the file path points to a file that is "Not Downloaded" state in the content tab, so it would seem logical that it can't find this file, I wont if it properly communicates this to other peers. Also the torrent happily continues seeding (as mentioned in an other issue. In this case that is the wanted behaviour. ### What is the expected behavior Don't try to read non existent files that you know upfront will not exist. ### Steps to reproduce Migrate partial download (finished but with some files marked "Don't Download") to 4.0.1 (in one go, skip 4.0.0 And wait until seeding begins (actual upload). The problem is probably when a peer requests a chunk you don't have. ### Extra info(if any) Happen for multiple torrents.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#6478
No description provided.