August 11, 201510 yr Unraid 6.0.1 In Docker *binhex/arch-sabnzbd:latest* SABNZBD is on Container/Host port 8080/8080 (accessed on 8080) Sabnzbd has access to: /mnt/cache/apps/Beardrage/Sickbeard/autoProcessTV Folder confirms it has access and "tv" is set to run sabtosickbeard.py Config file has in it: [sickBeard] host=192.168.1.111 (have also tried just "tower") port=8082 username=**** password=**** web_root=ssl=0 *sparkyballs/beardrage:latest* Sickbeard is on Container/Host port 8081/8082 (accessed on 8082) The error in SABNZBD when trying to post process is: Loading config from /autoProcess/SickBeard/autoProcessTV/autoProcessTV.cfg Traceback (most recent call last): File "/autoProcess/SickBeard/autoProcessTV/sabToSickBeard.py", line 29, in <module> autoProcessTV.processEpisode(sys.argv[1], sys.argv[2]) File "/autoProcess/SickBeard/autoProcessTV/autoProcessTV.py", line 56, in processEpisode config.readfp(fp) File "/usr/lib/python2.7/ConfigParser.py", line 324, in readfp self._read(fp, filename) File "/usr/lib/python2.7/ConfigParser.py", line 546, in _read raise e ConfigParser.ParsingError: File contains parsing errors: /autoProcess/SickBeard/autoProcessTV/autoProcessTV.cfg [line 6]: '****\r\n' [line 8]: '****\r\n' 6 and 8 are username/password. I have exhausted my troubleshooting knowledge and would appreciate any insight!
August 11, 201510 yr Author Well, at least nobody answered quick... that makes me feel better somehow lol I tried changing Sickbeards Host/Container to match 8081/8081 with no joy.
August 12, 201510 yr Author Do I need to provide any additional information? Is this a known issue that I haven't been able to find out about?
August 12, 201510 yr Did you edit the .cfg file in Windows? It's sort of telling that your username/password lines are appended with \r\n. The \r\n means carriage return and line feed respectively. Windows uses \r\n as line endings, whereas Unix just uses \n. It's a common text formatting compatibilty problem when moving files between OSs. Try running your autoProcessTV.cfg file through the "fromdos" utility to strip out any Windows formatting. (i.e. run the command "fromdos autoProcessTV.cfg"). Similarly, if you want to move a document from Unix to Windows systems, you can run it through the "todos" utility. -A
August 14, 201510 yr Loading config from /autoProcess/SickBeard/autoProcessTV/autoProcessTV.cfg Traceback (most recent call last): File "/autoProcess/SickBeard/autoProcessTV/sabToSickBeard.py", line 29, in <module> autoProcessTV.processEpisode(sys.argv[1], sys.argv[2]) File "/autoProcess/SickBeard/autoProcessTV/autoProcessTV.py", line 56, in processEpisode config.readfp(fp) File "/usr/lib/python2.7/ConfigParser.py", line 324, in readfp self._read(fp, filename) File "/usr/lib/python2.7/ConfigParser.py", line 546, in _read raise e ConfigParser.ParsingError: File contains parsing errors: /autoProcess/SickBeard/autoProcessTV/autoProcessTV.cfg [line 6]: '****\r\n' [line 8]: '****\r\n' What path is this? /autoProcess/SickBeard/autoProcessTV/sabToSickBeard.py ... is this a mapped directory for beardrage or something?
August 14, 201510 yr Author yes mapped in the docker... i was grasping at straws and gave it full access to the folder. ITS FIXED NOW. Here is what I did. "Did you edit the .cfg file in Windows?" Yes... but more than that I created the file from notepad as I accidental deleted the original. Add that to my apparent inability to utilize fromdos properly and I am left with the previous situation. SO, I downloaded sickbeard... jacked the "sample" file and edited that. Everything is good to go now. Thanks Ambrotos!!!!
Archived
This topic is now archived and is closed to further replies.