Build: Master, 9c65a0d37a0723291280f8425a92253637f3acfb
OS: Synology DSM 5. I run on Python 2.7.9 (maybe 2.7.13, not totally sure atm)
Problem: After a download completes in SabNZB the postprocessing script ComicRN.py hangs in SabNZB, pausing all further downloads (what got me onto this error in the first place) in my queue (not just comics). ComicRN runs version 1.0 (still, not sure why, should search in my submitted github issues maybe for the reason). The Mylar log gives me this:
Code: Select all
2018-03-04 14:06:33 ERROR Uncaught exception: Traceback (most recent call last):
File "/volume1/@appstore/mylar/share/mylar/mylar/logger.py", line 177, in new_run
old_run(*args, **kwargs)
File "/usr/local/python/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/volume1/@appstore/mylar/share/mylar/mylar/PostProcessor.py", line 1124, in Process
self.nzb_or_oneoff_pp(tinfo=pp)
File "/volume1/@appstore/mylar/share/mylar/mylar/PostProcessor.py", line 1732, in nzb_or_oneoff_pp
dupthis = helpers.duplicate_filecheck(self.nzb_folder, ComicID=comicid, IssueID=issueid)
File "/volume1/@appstore/mylar/share/mylar/mylar/helpers.py", line 2064, in duplicate_filecheck
filesz = os.path.getsize(filename)
File "/usr/local/mylar/env/lib/python2.7/genericpath.py", line 57, in getsize
return os.stat(filename).st_size
OSError: [Errno 13] Permission denied: '/volume1/downloads/complete/Comics/Paper.Girls.020.2018.Digital-Empire.1'
2018-03-04 14:06:33 INFO [DUPECHECK] Duplicate check for /volume1/downloads/complete/Comics/Paper.Girls.020.2018.Digital-Empire.1
2018-03-04 14:06:33 INFO [POST-PROCESSING] issuenzb found.
2018-03-04 14:06:33 INFO [PPINFO-POST-PROCESSING-ATTEMPT] {'publisher': None, 'comicname': u'Paper Girls', 'issueid': u'658771', 'comiclocation': None, 'sarc': None, 'issuenumber': u'20', 'oneoff': None, 'comicid': u'85128'}
2018-03-04 14:06:33 INFO Starting postprocessing for : Paper.Girls.020.2018.Digital-Empire
2018-03-04 14:06:33 WARNING Your ComicRN.py script should be v1.01, but is v1.0 and is out of date. Things may still work - but you are taking your chances.
I have thought maybe something has changed in any number of things on my Synology installation, so I have made sure the path /volume1/downloads/complete/Comics is owned by the system user 'mylar' (including all subfolders). So far no avail, and to be honest I have been out of fiddling around with the Synology for quite some time since it ran smoothly so no clue where to look next.
Further log section in SabNZB is not very informative either, except that it obviously doesn't get a callback so 'hangs' the system:
Code: Select all
2018-03-04 14:06:30,845::INFO::[postproc:307] Starting Post-Processing on Paper.Girls.020.2018.Digital-Empire => Repair:True, Unpack:True, Delete:True, Script:ComicRN.py, Cat:comics
2018-03-04 14:06:30,918::INFO::[newsunpack:173] Running external script /usr/local/sabnzbd/var/scripts/ComicRN.py(/volume1/downloads/complete/Comics/Paper.Girls.020.2018.Digital-Empire.1, Paper.Girls.020.2018.Digital-Empire.nzb, Paper.Girls.020.2018.Digital-Empire, , comics, alt.binaries.comics.dcp, 0, )