Unable download from remote sabnzbd
Posted: Wed Aug 15, 2018 7:08 pm
I'm having trouble downloading from a seedbox instance of sabnzbd. I've got mylar behind a reverse proxy, so I have the hostname, base directory, and api key in the autoProcessComics.cfg. It appears that sabnzbd can reach mylar, because it's initiating an API call and mylar receives it. But after that, the logs go something like this (sanitized to hide my embarrassing reading):
I've checked about a billion times and Completed Download Handling is not enabled (I couldn't get that to work either). The item is there on the server in the folder specified (~/sabnzbd/complete/comics).
I feel like I'm doing something wrong, rather than running into a bug, but I'm on dev branch version: 201d86ba4dd0deb694afce27fe5872831504ef4d in case that's relevant.
Incidentally, torrents are be working fine.
Code: Select all
2018-08-15 14:00:18 ERROR Uncaught exception: Traceback (most recent call last):
File "/opt/Mylar/mylar/logger.py", line 336, in new_run
old_run(*args, **kwargs)
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/opt/Mylar/mylar/PostProcessor.py", line 1254, in Process
self.nzb_or_oneoff_pp(tinfo=pp)
File "/opt/Mylar/mylar/PostProcessor.py", line 1670, in nzb_or_oneoff_pp
if dupthis['action'] == 'dupe_src' or dupthis['action'] == 'dupe_file':
TypeError: 'NoneType' object has no attribute '__getitem__'
2018-08-15 14:00:18 WARNING [DUPECHECK] Make sure if you are using ComicRN, you do not have Completed Download Handling enabled (or vice-versa). Aborting
2018-08-15 14:00:18 WARNING [DUPECHECK] File cannot be located in location specified. Something has moved or altered the name.
2018-08-15 14:00:18 INFO [DUPECHECK] Duplicate check for ~/sabnzbd/complete/comics/ComicName
2018-08-15 14:00:18 INFO [POST-PROCESSING] issuenzb found.
2018-08-15 14:00:18 INFO [PPINFO-POST-PROCESSING-ATTEMPT] {'publisher': None, 'comicname': u'ComicName', 'issueid': u'111111', 'comiclocation': None, 'sarc': None, 'issuenumber': u'100', 'oneoff': None, 'comicid': u'11111'}
2018-08-15 14:00:18 INFO Starting postprocessing for : ComicName
2018-08-15 14:00:18 INFO ComicRN.py version: 1.01 -- autoProcessComics.py version: 2.04
2018-08-15 14:00:18 INFO [API] Api Call from ComicRN detected - initiating script post-processing.
I feel like I'm doing something wrong, rather than running into a bug, but I'm on dev branch version: 201d86ba4dd0deb694afce27fe5872831504ef4d in case that's relevant.
Incidentally, torrents are be working fine.