Code: Select all
ERROR Completion: No news servers after filtering, skipping completion check, NZBs will remain paused in queue. Check your settings!
Code: Select all
ERROR Completion: No news servers after filtering, skipping completion check, NZBs will remain paused in queue. Check your settings!
Code: Select all
failed_ratio = 0
Code: Select all
if conn_err[num_server] >= num_conn:
print '[WARNING] Skipping server: ' + host
num_server += 1
continue
They are from 0, see attached image.dagoob wrote:@Crowley The servers are numbered from 1, not 0?
The level number isn't the same as the server number. Look at your first image again: "News-server numbers are equal to the server numbering in the NZBget settings on the NEWS-SERVERS tab." (emphasis mine).Crowley wrote:They are from 0, see attached image.
You are right of course, now I understood what you meant. And indeed it failed again, hopefully this fixes it.dagoob wrote:The level number isn't the same as the server number. Look at your first image again: "News-server numbers are equal to the server numbering in the NZBget settings on the NEWS-SERVERS tab." (emphasis mine).Crowley wrote:They are from 0, see attached image.
Are you seeing the expected servers being checked if you turn on verbose logging for the completion script? (Which is what really matters)
Code: Select all
1
Code: Select all
1,2
The problem occurs when if the last server is skipped. You've reset failed_ratio to zero—which is fine if the last server is checked as that would give the correct final ratio—but skipping it returns the ratio as 0% rather than the correct amount.kloaknet wrote:@dagoob: the position of line 1009 is not an issue for the code after the block between lines 1015 and 1018, as the actual looping over the articles happens from line 1025. So if one of the servers has issues on all connections, it will continue to the next one in the for loop starting at line 999.
Users browsing this forum: No registered users and 43 guests