pre queue script JAVA problem

Get help with all aspects of 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.
dreamscene
Newbie
Newbie
Posts: 20
Joined: April 11th, 2012, 10:09 pm

Re: pre queue script JAVA problem

Post by dreamscene »

That sab accepts the NZB whenever the script does not exit with 0 is understood. Which makes the situation with the above mentioned script (sab refusing every NZB with default/empty category) even stranger.
Adapting the script to test for an empty variable and setting a pseudo value was no problem at all.
But in order to learn, I try to understand why things happen the way they do.

Guess we'll never know. Anyway - thanks for indulging me on my "journey" :)

P.S.: What do you mean with "debug sabnzbd"? Setting the logging level to debug does not yield any more relevant log entries concerning pre-queue scripts than the default level. That was the first thing I did :)
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: pre queue script JAVA problem

Post by shypike »

I meant adding more logging to the source code.
To see what actually comes back from the script...
Post Reply