0.6.6 doesn't make scripts available.

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
kulprit
Release Testers
Release Testers
Posts: 16
Joined: October 3rd, 2009, 12:41 am

0.6.6 doesn't make scripts available.

Post by kulprit »

Running 0.6.5 and had scripts folder assigned in the folder section of the config and all my scripts are available from the drop down menu in downloads and in categories.

Updated to 0.6.6 (and RC1 previously) and the drop down menu is now empty. A roll back to 0.6.5 brings the ability to choose the scripts back again.

Any more info required please let me know.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.6.6 doesn't make scripts available.

Post by shypike »

You're on Windows, I assume?
SABnzbd 0.6.6 will only show 'executable" files.
The requirement is that the script's extension is listed in your system's PATHEXT environment variable.
If that doesn't contain the extension of your script(s), then SABnzbd won't show it.
There is a little snag, in that Windows will still execute it when there's a assoc/ftype pair defined in the registry.
Normally however, real executable content should have its extension listed in PATHEXT.
So, you work-around is to add the extension to the global environment variable PATHEXT (and restart SABnzbd).

This should have been listed in the release notes,
sorry about that.
kulprit
Release Testers
Release Testers
Posts: 16
Joined: October 3rd, 2009, 12:41 am

Re: 0.6.6 doesn't make scripts available.

Post by kulprit »

Thanks shypike. Yeah my scripts are python and a google has shown me how to add .py and .pyw to my pathext. Will post back once I have a chance to test and see if it works.

Thanks again
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.6.6 doesn't make scripts available.

Post by shypike »

It looks like Python doesn't always address this consistently.
On my main system, the addition to PATHEXT went automatic, on the other system it did not.
I didn't realize that this issue exists until you told me.
(The issue being that an extension not listed in PATHEXT, can still be executable because of its ftype/assoc registration).
kulprit
Release Testers
Release Testers
Posts: 16
Joined: October 3rd, 2009, 12:41 am

Re: 0.6.6 doesn't make scripts available.

Post by kulprit »

All good. After adding .py and .pyw to my PATHEXT they all show up again.

Cheers
Post Reply