![]() Registered Member ![]()
|
Hi.
I have started using Ktorrent 2.2.5 and I'm loving it. It's lighter than azureus and has all the features that I use, but I've found an issue. It is related with Ktorrent "Check Data Integrity" feature. Let me explain what I did step by step: 1. I had a finished torrent (seeding) with azureus and I wanted to move it to ktorrent, so I stopped azureus, copied the folder of the torrent from azureus downloads folder to ktorrent downloads folder. 2. I opened the torrent in Ktorrent and selected the files to download from the torrent (all but one file, which was a sample of a big file included in the torrent that I did not download in azureus) and selected the torrent to be user managed and not to start it. 3. I ran "Check Data Integrity" for the torrent, expecting ktorrent to say it was 100% completed. Here is the problem. Ktorrent said that the torrent was not completed (99.9% or something like that). I stopped the torrent before it started to download anything. 4. I made a diff between the two copies (azureus and ktorrent) of the big file inside the torrent (the one that ktorrent claimed was not completed) and they were equal. 5. I started the torrent and ktorrent finished it in a couple of minutes. I diffed again the two big files and they were still equal. So, it looks like there is some issue when not all the files inisde the torrent are selected for download and the hash calculation. I was able to reproduce it with another torrent using the same procedure. I am using gentoo 64 bits and ktorrent from portage, version 2.2.5. It's not a big deal, but as hashing is a vital feature you may want to give it a look. If you need any more details or test just ask. Thanks for ktorrent! |
![]() Moderator ![]()
|
Hashes are per chunk, chunks are not on file boundaries (they could, but most of the time they are not), so if you leave out one file, the last chunk of the file before it and the first chunk of the next file, will be incomplete. And so ktorrent cannot verify that theses are correct.
|
![]() Registered Member ![]()
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]