script_dir access error?

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
HotelCalifornia
Newbie
Newbie
Posts: 8
Joined: September 25th, 2012, 10:24 pm

script_dir access error?

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

Re: script_dir access error?

Post 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.
HotelCalifornia
Newbie
Newbie
Posts: 8
Joined: September 25th, 2012, 10:24 pm

Re: script_dir access error?

Post by HotelCalifornia »

the autoProcessTV directory is set to 755, sabnzbd is launched by “user” and both sabnzbd and sickbeard are in “user” home directory.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: script_dir access error?

Post 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.
Post Reply