SABnzbd 1.0.0RC2 is not running scripts

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • 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
FrizzleFry
Newbie
Newbie
Posts: 17
Joined: February 18th, 2009, 5:51 pm

SABnzbd 1.0.0RC2 is not running scripts

Post by FrizzleFry »

SABnzbd 1.0.0RC2 is not running my postprocessing scripts... I get this message...
Cannot run script D:\scripts\SABnzbd\series.ps1

it is a PowerShell script but it has worked fine on previous versions including 1.0.0RC1
going back to RC1 the script runs fine again so it seems it's something in RC2
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: SABnzbd 1.0.0RC2 is not running scripts

Post by shypike »

Please check the environment variable PATHEXT.
It determines which extensions are considered executable.
FrizzleFry
Newbie
Newbie
Posts: 17
Joined: February 18th, 2009, 5:51 pm

Re: SABnzbd 1.0.0RC2 is not running scripts

Post by FrizzleFry »

.ps1 is in my pathext environment variable... has been for years...

On further inspection I see that the ps1 scripts were working fine for a couple of days on RC2 before I started getting the "cannot run script" errors so something else is going on... but the scripts work fine when I go back to RC1... weird...
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: SABnzbd 1.0.0RC2 is not running scripts

Post by shypike »

Very weird, given the minimal amount of changes in RC2.
I'll check as soon as I have time (and have Powershell running...)
FrizzleFry
Newbie
Newbie
Posts: 17
Joined: February 18th, 2009, 5:51 pm

Re: SABnzbd 1.0.0RC2 is not running scripts

Post by FrizzleFry »

The scripts worked fine on RC2 last night so I'm suspecting my anti-malware program was/is causing the problem.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: SABnzbd 1.0.0RC2 is not running scripts

Post by shypike »

OK, thanks for the feedback. :)
Post Reply