SOLVED Can't see post processing scripts in dropdown menu

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.
Post Reply
lban
Newbie
Newbie
Posts: 7
Joined: August 22nd, 2011, 9:39 am

SOLVED Can't see post processing scripts in dropdown menu

Post by lban »

I recently reinstalled sabnzbd while trying to fix another problem, and created new problems for myself. I'm running SABnzbd Version: 0.6.8 on a headless Ubuntu server (v10.10)
I have a scripts folder set up (/home/darren/.sabnzbd/scripts) with a configuration file and two scripts in it. (autoProcessTV.cfg, autoProcessTV.py, and sabToSickbeard.py).

However, when I try to set the script dropdown I only have "Default" and "None" as options.


;D Sometimes I take one step forward and a couple back! ;D
Last edited by lban on August 31st, 2011, 9:39 pm, edited 1 time in total.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Can't see post processing scripts in dropdown menu

Post by sander »

Starting with 0.6.8 (or 0.6.7), the script has to be executable (on Linux). EDIT: for Windows the extension of the script needs to be listed in the PATHEXT variable (not the PATH).

So, set the x-bit on your script: "chmod +x <scriptname>", and try again.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Can't see post processing scripts in dropdown menu

Post by shypike »

Correction: for Windows the extension of the script needs to be listed in the PATHEXT variable.
Standard value is:
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE
lban
Newbie
Newbie
Posts: 7
Joined: August 22nd, 2011, 9:39 am

Re: Can't see post processing scripts in dropdown menu

Post by lban »

Thanks.. that fixed it.
Post Reply