I keep trying to set my User-Scripts folder in the Sabnzbd config, but it doesn't show any scripts available via the main page or the 'Categories' section.
I've installed Sabnzbd numerous times on other computers, and have never had this issue. My setup is like this:
C:\Sickbeard\autoProcessTV\<my-scripts-here>
C:\Users\Administrator\Documents\Scripts\<my-scripts-here> (this is the default location that SAB suggests)
I've tried adding the complete path to my autoProcessTV folder, and the complete & abbrev. path of my 'working-directory' Scripts folder, but each time I check, I do not see any scripts available. The scripts in the folder is the standard sabToSickBeard.py.
Has anyone else encountered this? What might be the issue?
No Userscripts listed in 0.6.8 WHS2011
Forum rules
Help us help you:
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.
Re: No Userscripts listed in 0.6.8 WHS2011
Hi,
I believe with 0.6.8 (or 0.6.7) the user script must be set to "executable". However, in Windows I don't know how to set a file to be executable. (On Linux it's easy: set the x-bit)
I believe with 0.6.8 (or 0.6.7) the user script must be set to "executable". However, in Windows I don't know how to set a file to be executable. (On Linux it's easy: set the x-bit)
Re: No Userscripts listed in 0.6.8 WHS2011
Interesting. I'll look into it tomorrow and post back if I get it working. Thanks!
Re: No Userscripts listed in 0.6.8 WHS2011
In Windows, examine the environment variable PATHEXT.
Only files with extensions listed in PATHEXT will be shown.
Only files with extensions listed in PATHEXT will be shown.
Re: No Userscripts listed in 0.6.8 WHS2011
Ah, that was the Windows info indeed. Apart from that, is the statement in my previous post correct?
Re: No Userscripts listed in 0.6.8 WHS2011
For Linux/OSX, having the X bit is the only requirement.
Re: No Userscripts listed in 0.6.8 WHS2011
I came back to this thread after making a wrapper for the .py file:
sabToSickbeardExecutable.bat --
C:\Python27\python.exe C:\Users\Administrator\Documents\SabnzbdScripts\sabToSickBeard.py %1 %2 %3 %4 %5 %6 %7
exit %ERRORLEVEL%
--
I added the environment variable , but It looks like I'll need to restart... since this is the only script I'm planning on running, I'll probably leave this as is for now.
sabToSickbeardExecutable.bat --
C:\Python27\python.exe C:\Users\Administrator\Documents\SabnzbdScripts\sabToSickBeard.py %1 %2 %3 %4 %5 %6 %7
exit %ERRORLEVEL%
--
I added the environment variable , but It looks like I'll need to restart... since this is the only script I'm planning on running, I'll probably leave this as is for now.
Re: No Userscripts listed in 0.6.8 WHS2011
PATHEXT is a system environment variable, requiring a system restart on change.
(Well, most of the time.)
(Well, most of the time.)