Page 1 of 1

script_dir access error?

Posted: September 25th, 2012, 10:32 pm
by HotelCalifornia
Hi all,

I am trying to setup a usenet box on my network.
Sick Beard has just been installed and I am trying to indicate to sabnzbd whre is the post processing scripts directory. However, I am getting the following error every single time after clicking “save”

Code: Select all

2012-09-25 23:18:03,820 ERROR: script_dir directory: /home/user/Sick-Beard-830b3b1/autoProcessTV error accessing
I am running sabnzbd as a daemon with the following line in init.d

Code: Select all

/usr/bin/sudo -u user -H "/home/user/SABnzbd-0.7.3/SABnzbd.py"
sabnzbd is installed in /home/user/SABnzbd-0.7.3/ and sick beard is in /home/user/Sick-Beard-830b3b1

Version: 0.7.3
OS: openSUSE 12.2
Install-type: python source
Skin (if applicable): smpl
Firewall Software: SuSEfirewall2
Are you using IPV6? no
Is the issue reproducible? yes

Re: script_dir access error?

Posted: September 26th, 2012, 2:00 am
by shypike
Did you check access rights on this folder for user "user"?
Because that's the basic reason SABnzbd complains: the OS doesn't allow it to read this folder.

Re: script_dir access error?

Posted: September 26th, 2012, 7:43 am
by HotelCalifornia
the autoProcessTV directory is set to 755, sabnzbd is launched by “user” and both sabnzbd and sickbeard are in “user” home directory.

Re: script_dir access error?

Posted: September 26th, 2012, 8:15 am
by shypike
Try this miniprogram from a session where you're logged in as "user".

Code: Select all

#!/usr/bin/python
import glob
print glob.glob("/home/user/Sick-Beard-830b3b1/autoProcessTV/*")
Save it in testme.py and run it as
python testme.py
If that gives errors, there still something wrong with access right or the Python installation.