Page 1 of 1

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

Posted: January 19th, 2010, 5:33 pm
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

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

Posted: January 22nd, 2010, 11:09 pm
by dbone
this is still an issue in rc3!

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

Posted: January 23rd, 2010, 6:31 am
by shypike
Confirmed!
Will be fixed in next release.
I'll send you a patch as soon as I found the solution.

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

Posted: January 23rd, 2010, 8:14 am
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

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

Posted: January 25th, 2010, 6:09 am
by dbone
i've emailed the logs, though they're not very telling.

i'm running an xbmc live 9.11 installation.

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

Posted: January 25th, 2010, 7:52 am
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.

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

Posted: February 8th, 2010, 10:50 pm
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?