Bug 332787

Summary: Torrent appears finished, but some files aren't downloaded - chunks excluded erroneously.
Product: [Applications] ktorrent Reporter: kdebugs
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version First Reported In: 4.3.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot

Description kdebugs 2014-03-29 23:19:39 UTC
Similar to Bug 183390.

From the very beginning, before starting the torrent, I selected 3 out of 8 files to download.  It finished - or so I thought, until I tried using the other 2 files.  Checking KTorrent shows they are indeed checked, but they are 0.00% complete - however the torrent itself shows 100% complete.  If you click on chunks tab, it shows Total: 803, Currently downloading: 0, Downloaded: 802, Excluded: 1, Left: 0.

The files do exist, but they are null-filled.  This state survived many shutdowns and startups (all after the torrent "completed" - the downloading was contiguous.  Simply UNchecking one of the two skipped files triggered both of the files to be downloaded.

Reproducible: Didn't try
Comment 1 kdebugs 2014-03-29 23:20:38 UTC
Created attachment 85833 [details]
screenshot
Comment 2 kdebugs 2014-03-30 03:39:11 UTC
(re: Above - sorry to be confusing - 3 out of 6 files selected - the other 2 in the list are folders.)

Reproducible: Always

Here's how, and it doesn't require downloading one byte of the test torrent.
Here is a "structurally similar" ;) torrent that reproduces the bug.  (For legal reasons, let me be clear that I'm not endorsing this link - it's just for test purposes.)
https://thepiratebay.se/torrent/6633822/
1. Copy the magnet, go to KTorrent, click Open URL, click OK.
2. In the Opening dialog, select only the .mp4 and the 2 .srt files.  Uncheck "Start torrent". Click OK.
3. Click the torrent in the list, and click the Chunks tab.  Observe "Excluded: 1  Left: 802".
4. Click the Files tab, Uncheck, then recheck one of the .srt files.
5. Click back to the Chunks tab.  Observe "Excluded: 0, Left: 803".
Comment 3 Andrew Crouthamel 2018-11-11 04:31:30 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-11-21 04:24:35 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Justin Zobel 2023-01-04 07:05:39 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 6 Bug Janitor Service 2023-01-19 05:13:47 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2023-02-03 05:03:31 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!