bug report - sabnzbd+ 0.5beta6 ubuntu - Cannot run script

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • 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
dbone
Newbie
Newbie
Posts: 5
Joined: January 19th, 2010, 5:26 pm

bug report - sabnzbd+ 0.5beta6 ubuntu - Cannot run script

Post by dbone »

After upgrading to 0.5beta6, i'm getting a message "Exit(-1) Cannot run script /home/darryl/.sabnzbd/scripts/updatelibrary.sh", and the script does, in fact not run.

Works fine if i downgrade to 0.4.12

I've tried adjusting the permissions of the script. (chmod 777) with no luck.

Version: 0.5.0 beta 6
OS: Ubuntu karmic
Install-type: aptitude
Skin (if applicable): plush (but fails under any)
Firewall Software: none
Are you using IPV6? no
Is the issue reproducible? yes
Last edited by dbone on January 21st, 2010, 3:33 pm, edited 1 time in total.
dbone
Newbie
Newbie
Posts: 5
Joined: January 19th, 2010, 5:26 pm

Re: bug report - sabnzbd+ 0.5beta6 ubuntu - Cannot run script

Post by dbone »

this is still an issue in rc3!
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: bug report - sabnzbd+ 0.5beta6 ubuntu - Cannot run script

Post by shypike »

Confirmed!
Will be fixed in next release.
I'll send you a patch as soon as I found the solution.
Last edited by shypike on January 23rd, 2010, 8:12 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: bug report - sabnzbd+ 0.5beta6 ubuntu - Cannot run script

Post by shypike »

I cannot find anything wrong after testing on Ubuntu 9.10 and Linux Mint.

Please set logging level to debug, download a small job with a script.
Then zip and email the log files to bugs at sabnzbd.org
dbone
Newbie
Newbie
Posts: 5
Joined: January 19th, 2010, 5:26 pm

Re: bug report - sabnzbd+ 0.5beta6 ubuntu - Cannot run script

Post by dbone »

i've emailed the logs, though they're not very telling.

i'm running an xbmc live 9.11 installation.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: bug report - sabnzbd+ 0.5beta6 ubuntu - Cannot run script

Post by shypike »

I don't see an error message in the log file.
Is there any script info visible in the History?
Add an echo to the script, if needed.

Have you tried to run the sample script in SABnzbd's program folder?
That one at least produces some output.
dbone
Newbie
Newbie
Posts: 5
Joined: January 19th, 2010, 5:26 pm

Re: bug report - sabnzbd+ 0.5beta6 ubuntu - Cannot run script

Post by dbone »

There isn't any error message in the logs.  I looked at the code - an exception is caught, the result of the post-process actions is " Cannot run script /home/darryl/.sabnzbd/scripts/updatelibrary.sh", then the exception is ignored.

It would help me if some information from the exception was logged rather than simply "Cannot run script" - can you add this?
Post Reply