Page 1 of 1

Exit(-1) Cannot run script /media/script/sabToSickBeard.py

Posted: May 27th, 2014, 4:40 pm
by fontes31
Hi,

Iam using sabnzbd on freenas that i consider fantastic and also using sickbeard. I have my series tv on the following folder:

/mnt/Disc1/MyMediaServer/Series


I added the storage for sabnzbd on source /mnt/Disc1/MyMediaServer/Serie and Destination /mnt


Added another storage for the scripts: /mnt/Disc2/Torrents/sabnzbd/script and Destination /media


Configuring sabnzbd folders i added med/incomplete for temporary downloads and /mnt for complete downloads. for post-porcessing folder i added: /media/script .

For categories i have: tv, sabtosickbeard.py and on folder i have just /mnt

For sickbeard i added the storage: /mnt/Disc1/MyMediaServer/Series and for destination /mnt


My jails folders are on the same disc of the series folder: /mnt/Disc1/jails

Just the script is on another disc (disc2)

All ok, after finishing the download i have the error: Exit(-1) Cannot run script /media/script/sabToSickBeard.py

What is wrong? Because the download goes to the series folder.

Re: Exit(-1) Cannot run script /media/script/sabToSickBeard.

Posted: May 27th, 2014, 5:03 pm
by sander
what is the output of

Code: Select all

ls -al /media/script/sabToSickBeard.py
You have to login via ssh / telnet on your NAS

Re: Exit(-1) Cannot run script /media/script/sabToSickBeard.

Posted: May 27th, 2014, 5:52 pm
by fontes31
Thanks, I will do it and post it.

Re: Exit(-1) Cannot run script /media/script/sabToSickBeard.

Posted: May 28th, 2014, 4:01 pm
by fontes31
sander wrote:what is the output of

Code: Select all

ls -al /media/script/sabToSickBeard.py
You have to login via ssh / telnet on your NAS

this is the output:

[root@freenas] /# ls -al /mnt/Disc2/Torrents/sabnzbd/script
total 68
drwxrwxrwx 4 root wheel 8 May 28 13:55 ./
drwxrwxrwx 4 root wheel 4 May 26 13:28 ../
-rwxrwxrwx 1 root wheel 866 May 25 13:46 autoProcessTV.cfg*
-rwxrwxrwx 1 root wheel 4759 May 25 13:46 autoProcessTV.py*
-rwxrwxrwx 1 root wheel 1112 May 25 13:46 hellaToSickBeard.py*
drwxrwxrwx 2 816 wheel 2 May 27 13:38 incomplete/
-rwxrwxrwx 1 root wheel 2155 May 26 13:23 sabToSickBeard.py*
drwxr-xr-x 2 816 wheel 2 May 28 13:55 script/

Re: Exit(-1) Cannot run script /media/script/sabToSickBeard.

Posted: May 28th, 2014, 4:06 pm
by sander
That's "ls -al /mnt/Disc2/Torrents/sabnzbd/script"

I asked for "ls -al /media/script/sabToSickBeard.py"

Re: Exit(-1) Cannot run script /media/script/sabToSickBeard.

Posted: May 28th, 2014, 4:15 pm
by fontes31
sander wrote:That's "ls -al /mnt/Disc2/Torrents/sabnzbd/script"

I asked for "ls -al /media/script/sabToSickBeard.py"
sorry,

this is it:

[root@freenas] /# ls -al /media/script/sabToSickBeard.py
ls: /media/script/sabToSickBeard.py: No such file or directory
[root@freenas] /#

Re: Exit(-1) Cannot run script /media/script/sabToSickBeard.

Posted: May 29th, 2014, 1:26 am
by shypike
It looks like you set the wrong scripts folder in Config->Folders
or you put the script in the wrong folder.

Re: Exit(-1) Cannot run script /media/script/sabToSickBeard.

Posted: May 29th, 2014, 3:30 am
by fontes31
shypike wrote:It looks like you set the wrong scripts folder in Config->Folders
or you put the script in the wrong folder.
Thanks for your help,

I have to set in the folder Config ->Folders the "/mnt/Disc2/Torrents/sabnzbd/script" ?

The sabtosickbeard.py is on this folder.

Re: Exit(-1) Cannot run script /media/script/sabToSickBeard.

Posted: May 30th, 2014, 12:01 pm
by shypike
Yes.
The "script path" in Config->Folders must be the path of the folder in which your Sabtosickbeard.py script lives.

Re: Exit(-1) Cannot run script /media/script/sabToSickBeard.

Posted: June 6th, 2014, 6:19 am
by fontes31
I have to mount the jail directory of Sabnzbd just to have access on sabnzbd config, right?

Re: Exit(-1) Cannot run script /media/script/sabToSickBeard.

Posted: June 6th, 2014, 3:12 pm
by shypike
Jail directory? I'm not familiar with this system.