Page 1 of 1

0.7.6 precheck with empty nzb gets in a checking loop

Posted: December 17th, 2012, 4:13 am
by augur
This looks like a case of unintended consequences.
I am using an rss feed from nzbindex.nl to automatically add nzbs and i occasionally get an nzb which just contains sample files. sabnzbd filters these sample files out and as there were no files left used to generate a single error about an empty nzb, not a problem. However, i have recently turned on precheck by enabling "check before download" and when it encounters this it gets stuck constantly trying to precheck and continuously creates warning messages every 2 minutes until i catch it and manually delete it.

I imagine that adding a bit of code which says if the nzb is empty skip precheck would resolve this.

In the meantime i have modified the rss feed increasing the minimum size to 55mb which should prevent it happening regularly.

Re: 0.7.6 precheck with empty nzb gets in a checking loop

Posted: December 17th, 2012, 11:59 am
by shypike
It could very well be a bug, I'll look into it.

BTW: we generally do not recommend the setting "do not download samples",
because too many posters include the samples in the overall par2-set, instead of
having a separate rar/par set for the sample.

Re: 0.7.6 precheck with empty nzb gets in a checking loop

Posted: December 17th, 2012, 1:54 pm
by augur
Guess i have been lucky as i can hardly recall more than a couple in the last year that failed due to samples in the par2-set, still i see the validy of your recommendation and have changed the setting to off which should also help to avoid empty nzbs.

Re: 0.7.6 precheck with empty nzb gets in a checking loop

Posted: December 17th, 2012, 2:47 pm
by shypike
I've been trying with sample-only files, but I always get the "empty nzb" warning.
Do you have an example NZB for me?
[email protected] (please include the URL of this post).