Page 1 of 1

Scripts will not show up in Sabnzbd

Posted: July 2nd, 2011, 7:44 pm
by teconlalavu
Hallo please help a newbie, I did everything according to instructions

Using latest Sabnzbd and Windows 7 64
I defined post processing scripts folder as "scripts" (no full path, just "scripts")
Then I moved all script files (exe and dll etc) into "C:\Users\alex\AppData\Local\sabnzbd\scripts", without subfolders (tried with subfolders too). I also tried the sabnzbd program folder but that seems unlogical to me.
Then I restart Sabnzbd

I cannot select any script in Sabnzbd, at least in download queue and category settings

I tried

http://forums.sabnzbd.org/index.php?topic=6101.0
and Sabsync from http://code.google.com/p/sabscripts/downloads/list

Please tell me if you need more Info.

Re: Scripts will not show up in Sabnzbd

Posted: July 3rd, 2011, 3:37 am
by teconlalavu
I have yet another problem. Sabnzbd will no longer pause when I tell it to pause. Anyone know why?

Re: Scripts will not show up in Sabnzbd

Posted: July 3rd, 2011, 3:44 am
by teconlalavu
OK fixed the pause problem. DLs were on force. But start post problem remains

Re: Scripts will not show up in Sabnzbd

Posted: July 3rd, 2011, 3:51 am
by shypike
The scripts folder is a user folder, so by default it will be in c:\users\alex\Documents.

Re: Scripts will not show up in Sabnzbd

Posted: July 3rd, 2011, 4:18 am
by teconlalavu
Your right must have overread that somewhere.

Now I have 2 dlls and 1 exe to select from. I thought only the exe would show up in sabnzbd. Any way to fix that?

Re: Scripts will not show up in Sabnzbd

Posted: July 3rd, 2011, 4:31 am
by shypike
teconlalavu wrote:I thought only the exe would show up in sabnzbd. Any way to fix that?
No, I can only fix it by filtering out ".dll" files for Windows.
Ideally SABnzbd would show only "executable" extensions, but it's not exactly easy to find out which those are.
(On Unix and OSX this is trivial since each executable file is marked "executable".)
Actually the assumption is that the scripts folder only contains actual scripts and not compiled programs.
A script could very well call another program, but that would be located elsewhere.

Re: Scripts will not show up in Sabnzbd

Posted: July 3rd, 2011, 4:46 am
by teconlalavu
Ok thanks.

Now I have problems with the forum. Somehow attachments are not shown anymore, so I can't download anything, although I am logged in. Strange things are happening. And is there a way to keep me logged in? Seems like a session ID is stored in the URL and not in a cookie, I have to log in each time.

Re: Scripts will not show up in Sabnzbd

Posted: July 3rd, 2011, 4:53 am
by shypike
Actually, it's not very hard to get the executable extensions.
I'll fix that for the next release.
BTW: if you make the DLL hidden (attrib +h file.dll), they won't be shown either.

Re: Scripts will not show up in Sabnzbd

Posted: July 3rd, 2011, 4:56 am
by shypike
teconlalavu wrote:Ok thanks.

Now I have problems with the forum. Somehow attachments are not shown anymore, so I can't download anything, although I am logged in. Strange things are happening. And is there a way to keep me logged in? Seems like a session ID is stored in the URL and not in a cookie, I have to log in each time.
Please don't mix subjects in one thread, ask the question in a separate thread.
I don't maintain the forum software and I haven't gotten used to it yet.
Had I known how to split a thread (like SMF allowed), I would have split this topic myself.