Page 1 of 1

Post Script can not be load - Why?

Posted: March 2nd, 2012, 7:49 am
by BeTZe
Hello,
i have a Problem with the sabToSickBeard.py script. I have installed sabnzbd and sickbeard. sickbeard send the nzb to sabnzbd and sab will download it.

Know i want, that sab tell sickberad when a download is finished.
In sab config i told the scripts folder: /home/user/sab/scripts
The autoProcessTV.cfg i have edit. the user has read/write access to the folder. i restart sab.

But under Category it doesnt appear in my script dropdown box.

To see my logs i changed the folder in /home/user/sab/sc

When i then restart sab nothing come. Their is no entry that the folder doesn't exists.

What can i do? Someone can help me?

Thanks

Re: Post Script can not be load - Why?

Posted: March 2nd, 2012, 8:43 am
by shypike
Make sure that your Sickbeard script has it's "execute" bit set.

Re: Post Script can not be load - Why?

Posted: March 2nd, 2012, 7:12 pm
by BeTZe
execute is set. I know have 777 rights.

Can i see in the logs something about the script file or if the script folder is set?

Re: Post Script can not be load - Why?

Posted: March 3rd, 2012, 4:22 am
by shypike
777 rights is not the same as having an execute bit.
BTW, external file systems often don't even have x bits.
Where do you store the script?

Re: Post Script can not be load - Why?

Posted: March 3rd, 2012, 11:20 am
by J03 8LACK
BeTZe,

I must ask the simple question did you copy the sickbeard script files over to the new Sabnzbd script folder. They should now show up in the setup script folder you setup in the Sabnzbd config - folder - settings. If you see the script but it doesn't run, try making it executable (chmod +x file_name) and if that fails check the shebang , the first line of the Python script.

Tell me how it works out
J03