Search found 11 matches
- January 29th, 2017, 7:41 am
- Forum: General Help
- Topic: Post processing scipts not working
- Replies: 27
- Views: 19293
Re: Post processing scipts not working
New code works perfectly, thank you.
- January 27th, 2017, 5:16 am
- Forum: General Help
- Topic: Post processing scipts not working
- Replies: 27
- Views: 19293
Re: Post processing scipts not working
Thanks for the support - I'll look at trying the alternate Python code for now, and I will raise this with the mergerfs devs.
- January 26th, 2017, 3:28 pm
- Forum: General Help
- Topic: Post processing scipts not working
- Replies: 27
- Views: 19293
Re: Post processing scipts not working
Python code output
c code output
Code: Select all
0100777
ExecutableCode: Select all
Hello World. You gave 2 arguments.
File /media/Data/downloads/scripts/nzbToMedia/nzbToSickBeard.py
F_OK: 0
R_OK: 0
W_OK: 0
X_OK: -1 - January 26th, 2017, 6:53 am
- Forum: General Help
- Topic: Post processing scipts not working
- Replies: 27
- Views: 19293
Re: Post processing scipts not working
Thanks for the update. That makes sense, although not sure why it's failing to detect that the script already has execute permission.
- January 26th, 2017, 6:40 am
- Forum: General Help
- Topic: Post processing scipts not working
- Replies: 27
- Views: 19293
Re: Post processing scipts not working
So the post-processing bombs out if the execute permission reports as not set, even though it not required?safihre wrote:It's only run because SAB manually puts 'python' in front of it, which ignores the system's execute permissions.
- January 26th, 2017, 5:14 am
- Forum: General Help
- Topic: Post processing scipts not working
- Replies: 27
- Views: 19293
Re: Post processing scipts not working
Mind sharing the output of: namei -lx /media/Data/downloads/scripts/nzbToMedia/nzbToSickBeard.py namei -lx /media/Data/downloads/scripts/nzbToMedia/nzbToSickBeard.py f: /media/Data/downloads/scripts/nzbToMedia/nzbToSickBeard.py Drwxr-xr-x root root / drwxr-xr-x root root media lrwxrwxrwx root root ...
- January 26th, 2017, 2:59 am
- Forum: General Help
- Topic: Post processing scipts not working
- Replies: 27
- Views: 19293
Re: Post processing scipts not working
As an experiment I disabled the raise IO Error command after the error being logged, just to see what happened.
The script is able to run normally when called from Sab, so it appears the issue is with the detection rather than the actual permissions.
Not sure if this helps.
The script is able to run normally when called from Sab, so it appears the issue is with the detection rather than the actual permissions.
Not sure if this helps.
- January 24th, 2017, 5:35 pm
- Forum: General Help
- Topic: Post processing scipts not working
- Replies: 27
- Views: 19293
Re: Post processing scipts not working
I can run the script manually './nzbToSickBeard.py' and via a cron job. mount output is below (I run openmediavault with a UnionFileSystem) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,relatime,siz...
- January 24th, 2017, 5:14 pm
- Forum: General Help
- Topic: Post processing scipts not working
- Replies: 27
- Views: 19293
Re: Post processing scipts not working
Also comes up false here
>>> import os
>>> print os.access("/media/Data/downloads/scripts/nzbToMedia/nzbToSickBeard.py", os.X_OK)
False
>>> import os
>>> print os.access("/media/Data/downloads/scripts/nzbToMedia/nzbToSickBeard.py", os.X_OK)
False
- January 24th, 2017, 2:59 pm
- Forum: General Help
- Topic: Post processing scipts not working
- Replies: 27
- Views: 19293
Re: Post processing scipts not working
-rwxrwxrwx 1 sabnzbd users 6999 Jan 3 00:25 /media/Data/downloads/scripts/nzbToMedia/nzbToSickBeard.py
- January 24th, 2017, 11:44 am
- Forum: General Help
- Topic: Post processing scipts not working
- Replies: 27
- Views: 19293
Post processing scipts not working
Version: 1.2.0 [1be50eb] OS: Debian 8.7 Install-type: python source/OMV package Skin (if applicable): Default Firewall Software: None Are you using IPV6? no Is the issue reproducible? yes Since the 1.2.0 update, my nzbToMedia script fails with the following error "2017-01-24 03:05:42,698::ERROR...