-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Last byte is truncated for file with specific size and specific number of threads #35
Comments
Same error with a file size of 261969919 and 32 threads, I got a file with size 261969918. With a file size of 351272960, seems to work with all thread configurations... Can you look into this please ? Seems to be a very critical bug... thank you! (I can donate if needed, i realy need this lib^^ ) (I use pySmartDL 1.3.2 on Windows 10) |
I'll look into it. |
Thank you 🙏 |
Thanks for the hard work. |
Hello,
I use pySmartDL 1.3.2 on Ubuntu 18.04. I noticed that the last byte of a downloaded file is truncated, when a file size is 1906023034 and a number of threads is 20.
Reproduction steps:
$ fallocate -l 1906023034 test_file
$ du -b test_file
1906023033 test_file
I also noticed that if you use 100 threads, then the file size is correct.
The text was updated successfully, but these errors were encountered: