Post Script can not be load - Why?

Come up with a useful post-processing script? Share it here!
Post Reply
BeTZe
Newbie
Newbie
Posts: 14
Joined: June 25th, 2008, 3:39 am

Post Script can not be load - Why?

Post 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
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Post Script can not be load - Why?

Post by shypike »

Make sure that your Sickbeard script has it's "execute" bit set.
BeTZe
Newbie
Newbie
Posts: 14
Joined: June 25th, 2008, 3:39 am

Re: Post Script can not be load - Why?

Post 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?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Post Script can not be load - Why?

Post 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?
J03 8LACK
Full Member
Full Member
Posts: 120
Joined: April 2nd, 2009, 1:33 am

Re: Post Script can not be load - Why?

Post 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
Post Reply