Post-processing script - NoSection Error help...

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
justellmewynn
Newbie
Newbie
Posts: 1
Joined: April 26th, 2012, 4:11 pm

Post-processing script - NoSection Error help...

Post by justellmewynn »

Hey,

I'm a noob here, and trying to get my setup up and running with Sickbeard. I'm running Sab version 0.6.7 on unRAID 5.0b13. I'm trying to get Sab to move the downloaded files to the appropriate folders after they download. I've configured Sab to point to the directory where the autoprocessTV.cfg and scripts are located, and it seems all is well.

But, once a download completes, and the script runs, it gives me the following error:

Loading config from /mnt/user/Videos/NZBs/Scripts/autoProcessTV.cfg
Traceback (most recent call last):
File "/mnt/user/Videos/NZBs/Scripts/sabToSickBeard.py", line 29, in <module>
autoProcessTV.processEpisode(sys.argv[1], sys.argv[2])
File "/mnt/user/Videos/NZBs/Scripts/autoProcessTV.py", line 56, in processEpisode
host = config.get("SickBeard", "host")
File "/usr/lib/python2.6/ConfigParser.py", line 531, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'SickBeard'


My autoProcessTV.cfg (which was renamed from autoProcessTV.cfg.sample) is below. From some very basic troubleshooting, it seems that it is finding the file and recognizing it, since when i change the name of the file to something else (like autoPro.cfg), it gives me an error to rename and edit the .sample file. So it seems to recognize the file, just not the [SickBeard] section of the file.

[SickBeard]
host=127.0.0.1
port=8082
username=
password=
web_root=
ssl=0

Sickbeard is on the same server, port 8082.

No matter what I do, I get the error "Exit(1) ConfigParser.NoSectionError: No section: ’SickBeard’" and can't get it to work.

Any other things I can try?? Thanks in advance.
Post Reply