Post-processing script for Couch Potato not working

Get help with all aspects of 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
jestarr82
Newbie
Newbie
Posts: 4
Joined: August 28th, 2011, 11:28 am

Post-processing script for Couch Potato not working

Post by jestarr82 » August 28th, 2011, 11:31 am

I'm a new sabnzbd user and followed the specific instructions in order to use Couch Potatoe's post-processing script to work. I dragged the scripts to the specific folder that I pointed sabnzbd to. When I go to categories, none of the pre-set categories are there, and the script is not available in the drop down menu. How do I get this working? Thanks.

User avatar
shypike
Administrator
Administrator
Posts: 21017
Joined: January 18th, 2008, 12:49 pm

Re: Post-processing script for Couch Potato not working

Post by shypike » August 28th, 2011, 1:37 pm

Are these scripts executable? What kind of extension do they have?
You're not even mentioning your operating system...

jestarr82
Newbie
Newbie
Posts: 4
Joined: August 28th, 2011, 11:28 am

Re: Post-processing script for Couch Potato not working

Post by jestarr82 » August 28th, 2011, 2:31 pm

Sorry. I'm on OSX and all the scripts have a .py extension.

User avatar
shypike
Administrator
Administrator
Posts: 21017
Joined: January 18th, 2008, 12:49 pm

Re: Post-processing script for Couch Potato not working

Post by shypike » August 28th, 2011, 3:01 pm

They should also have their X (executable) bit set.
And have as first line:
#!/usr/bin/python

jestarr82
Newbie
Newbie
Posts: 4
Joined: August 28th, 2011, 11:28 am

Re: Post-processing script for Couch Potato not working

Post by jestarr82 » August 28th, 2011, 3:04 pm

What do you mean above? I just double clicked the .py file and opened in notepad.

My first line is: #!/usr/bin/env python

User avatar
shypike
Administrator
Administrator
Posts: 21017
Joined: January 18th, 2008, 12:49 pm

Re: Post-processing script for Couch Potato not working

Post by shypike » August 28th, 2011, 3:08 pm

Does it have the executable bit set?
From a terminal session, use:
chmod +x your-script.py

jestarr82
Newbie
Newbie
Posts: 4
Joined: August 28th, 2011, 11:28 am

Re: Post-processing script for Couch Potato not working

Post by jestarr82 » August 28th, 2011, 3:14 pm

I'm sorry, I'm completely new to terminal and sab. How do I tell if it has an executable bit set? Am I supposed to replace your-script above with sabToSickBeard?

User avatar
shypike
Administrator
Administrator
Posts: 21017
Joined: January 18th, 2008, 12:49 pm

Re: Post-processing script for Couch Potato not working

Post by shypike » August 28th, 2011, 4:18 pm

You can see with the show-info in the Finder.
Yes, replace the name.
BTW: this is all basic scripting knowledge, very easy to Google :)

Post Reply