Cannot run script 0.5.2RC1 Ubuntu Karamic

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
JackieBrown
Newbie
Newbie
Posts: 4
Joined: January 28th, 2010, 6:24 am

Cannot run script 0.5.2RC1 Ubuntu Karamic

Post by JackieBrown »

I tried coping this script to my newly created scripts directory.  The scrip shows up based on the filename I chose (clean.)

I get this error when it runs during post-processing
Cannot run script /home/xbmc/.sabnzbd/scripts/clean
That is not a very descriptive error so I am not sure where to start as far as correcting the script.

I checked the error log it just shows
2010-04-28 10:09:54,884::INFO::[postproc:317] unpack_magic finished on name_of_nzb
2010-04-28 10:09:54,886::INFO::[newsunpack:127] Running external script /home/xbmc/.sabnzbd/scripts/clean(/media/store/TV/name_of_show/Season 1, name_of_show.nzb, name_of_episode, , tv, alt.binaries.bloaf, 0)
2010-04-28 10:09:54,977::INFO::[emailer:57] Connecting to server smtp.gmail.com:25
2010-04-28 10:09:57,972::INFO::[emailer:114] Notification e-mail succesfully sent
[
Last edited by JackieBrown on April 28th, 2010, 9:35 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Cannot run script 0.5.2RC1 Ubuntu Karamic

Post by shypike »

Does it have the execute bit set? (chmod +x script).
Does the first line contain something like:
#!/bin/sh
Post Reply