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

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
fontes31
Newbie
Newbie
Posts: 8
Joined: May 25th, 2014, 1:45 pm

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

Post 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.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

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

Post 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
fontes31
Newbie
Newbie
Posts: 8
Joined: May 25th, 2014, 1:45 pm

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

Post by fontes31 »

Thanks, I will do it and post it.
fontes31
Newbie
Newbie
Posts: 8
Joined: May 25th, 2014, 1:45 pm

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

Post 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/
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

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

Post by sander »

That's "ls -al /mnt/Disc2/Torrents/sabnzbd/script"

I asked for "ls -al /media/script/sabToSickBeard.py"
fontes31
Newbie
Newbie
Posts: 8
Joined: May 25th, 2014, 1:45 pm

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

Post 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] /#
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

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

Post by shypike »

It looks like you set the wrong scripts folder in Config->Folders
or you put the script in the wrong folder.
fontes31
Newbie
Newbie
Posts: 8
Joined: May 25th, 2014, 1:45 pm

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

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

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

Post by shypike »

Yes.
The "script path" in Config->Folders must be the path of the folder in which your Sabtosickbeard.py script lives.
fontes31
Newbie
Newbie
Posts: 8
Joined: May 25th, 2014, 1:45 pm

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

Post by fontes31 »

I have to mount the jail directory of Sabnzbd just to have access on sabnzbd config, right?
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

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

Post by shypike »

Jail directory? I'm not familiar with this system.
Post Reply