Zero byte jobs are accepted via rss and api

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • 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.
Post Reply
User avatar
jcfp
Release Testers
Release Testers
Posts: 1022
Joined: February 7th, 2008, 12:45 pm

Zero byte jobs are accepted via rss and api

Post by jcfp »

Just got a 0 byte job in the queue, with timeleft/age/size listed as 0:00:00/14717d/0B. Obviously, nothing is downloaded. This 0-byte job doesn't seem to hold up other items in the queue (regardless of whether 'Only Get Articles for Top of Queue' is set or not), and can be removed via the web interface without a problem. But until then, it just stays in the queue. I assume that would prevent the queue from ever reaching a finished state, thus probably interfering with end-of-queue setting etc.

The job resulted from an nzb off nzbs.org, that, when downloaded "manually" via the browser, turns out to be an empty file itself. Adding this empty nzb file to the program's blackhole directory does nothing; it is however accepted when added via rss or by clicking the icon inserted into nzbs.org by duz's firefox plugin (assuming that uses the api somehow). Please prevent such a job from entering/staying in the queue.

Happens on my usual operating system, tested with both the latest public and private sabnzbd+ releases.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Zero byte jobs are accepted via rss and api

Post by shypike »

Hey, it is a valid NZB file, if not very useful :)
Not sure if it can be fixed easily for 0.5.x.
In 0.6.0 we're taking on the queue mechanism, might as well tackle it there.
Post Reply