Noticed this on a movie I tried to download last night:
» Download would not be successful, only 100.0% available
I'm a little curious how a 100% available download could fail.
Let me know how I can give additional info so you can troubleshoot.
This Beta3 running on Ubuntu 10.04 headless server.
Nzb Checker issue?
Forum rules
Help us help you:
Help us help you:
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Re: Nzb Checker issue?
Hahaha! Could that be the rounded form of something like "only 99.95% available"? So rounded from two (or more) decimals to one decimal?
Re: Nzb Checker issue?
It could be a rounding error. Even a single byte short would still mean unrepairable.
However, keep in mind that the check can never be 100.000% accurate.
It's up to you to decide.
Having said that, 100.0% should not have been shown here, precisely because it is unclear.
99.9% should be the maximum number shown.
However, keep in mind that the check can never be 100.000% accurate.
It's up to you to decide.
Having said that, 100.0% should not have been shown here, precisely because it is unclear.
99.9% should be the maximum number shown.
-
- Jr. Member
- Posts: 74
- Joined: March 6th, 2012, 9:35 pm
Re: Nzb Checker issue?
shypike wrote:It could be a rounding error. Even a single byte short would still mean unrepairable.
However, keep in mind that the check can never be 100.000% accurate.
It's up to you to decide.
Having said that, 100.0% should not have been shown here, precisely because it is unclear.
99.9% should be the maximum number shown.
Kind of what I thought. Not a big deal really, but I thought I'd bring it to your attention as this is still a very new feature.
Re: Nzb Checker issue?
shypike wrote: Having said that, 100.0% should not have been shown here, precisely because it is unclear.
99.9% should be the maximum number shown.
Code: Select all
ratio = 0.9995
emsg = '%.1f%%' % (ratio * 100.0)
emsg = 'Download would not be successful, only %s available' % emsg
print emsg
emsg = '%d%%' % (ratio * 100.0)
emsg = 'Download would not be successful, only %s available' % emsg
print emsg
Code: Select all
sander@R540:~$ python wwwww.py
Download would not be successful, only 100.0% available
Download would not be successful, only 99% available
sander@R540:~$
- rounding down, no more "100.0%"
- no false idea that the measurement is exact in 1 decimal after the point
Re: Nzb Checker issue?
Fixed for the next Beta.
-
- Jr. Member
- Posts: 74
- Joined: March 6th, 2012, 9:35 pm
Re: Nzb Checker issue?
Awesome! Thanks guys!