Post processing errors

Get help, report and discuss bugs.
Post Reply
wknight7
Posts: 1
Joined: 28 Apr 2016, 03:23

Post processing errors

Post by wknight7 » 26 Dec 2021, 22:03

Hello-
Having some issues with email.py and videosort.py. I had them working for years, but had to reformat the NAS and cannot get these back to functioning. I'm on QNAP TS251, latest firmware. I have python 2.7.12.1.1 and 3.5.2.0.1 installed from the qnap store. I don't know what else to check, most of this is over my head. If someone can point me in the right direction, I'd appreciate it. I've spent hours googling this forum and others, can't seem to figure it out.
Thanks so much.


INFO Sun Dec 26 2021 16:33:16 Collection Star.Wars.Episode.IV.A.New.Hope.1977.1080p.BluRay.x264-nikt0 added to history
DETAIL Sun Dec 26 2021 16:33:16 Deleting file 9601ae44423f8bbb33f212434470f8ec.vol126+073.par2 from download queue
DETAIL Sun Dec 26 2021 16:33:16 Deleting file 9601ae44423f8bbb33f212434470f8ec.vol062+064.par2 from download queue
DETAIL Sun Dec 26 2021 16:33:16 Deleting file 9601ae44423f8bbb33f212434470f8ec.vol030+032.par2 from download queue
DETAIL Sun Dec 26 2021 16:33:16 Deleting file 9601ae44423f8bbb33f212434470f8ec.vol014+016.par2 from download queue
DETAIL Sun Dec 26 2021 16:33:16 Deleting file 9601ae44423f8bbb33f212434470f8ec.vol006+008.par2 from download queue
DETAIL Sun Dec 26 2021 16:33:16 Deleting file 9601ae44423f8bbb33f212434470f8ec.vol002+004.par2 from download queue
DETAIL Sun Dec 26 2021 16:33:16 Deleting file 9601ae44423f8bbb33f212434470f8ec.vol000+002.par2 from download queue
INFO Sun Dec 26 2021 16:33:16 Cleaning up download queue for Star.Wars.Episode.IV.A.New.Hope.1977.1080p.BluRay.x264-nikt0
ERROR Sun Dec 26 2021 16:33:16 Post-process-script Logger.py for Star.Wars.Episode.IV.A.New.Hope.1977.1080p.BluRay.x264-nikt0 failed (terminated with unknown status)

INFO Sun Dec 26 2021 16:33:16 Logger: ImportError: No module named xmlrpc.client
INFO Sun Dec 26 2021 16:33:16 Logger: from xmlrpc.client import ServerProxy # python 3
INFO Sun Dec 26 2021 16:33:16 Logger: File "/share/CACHEDEV1_DATA/.qpkg/NZBGet/nzbget/scripts/Logger.py", line 46, in <module>
INFO Sun Dec 26 2021 16:33:16 Logger: Traceback (most recent call last):
INFO Sun Dec 26 2021 16:33:16 Executing post-process-script Logger.py for Star.Wars.Episode.IV.A.New.Hope.1977.1080p.BluRay.x264-nikt0
ERROR Sun Dec 26 2021 16:33:16 Post-process-script EMail.py for Star.Wars.Episode.IV.A.New.Hope.1977.1080p.BluRay.x264-nikt0 failed (terminated with unknown status)
INFO Sun Dec 26 2021 16:33:16 EMail: ImportError: No module named xmlrpc.client
INFO Sun Dec 26 2021 16:33:16 EMail: from xmlrpc.client import ServerProxy # python 3
INFO Sun Dec 26 2021 16:33:16 EMail: File "/share/CACHEDEV1_DATA/.qpkg/NZBGet/nzbget/scripts/EMail.py", line 94, in <module>
INFO Sun Dec 26 2021 16:33:16 EMail: Traceback (most recent call last):

INFO Sun Dec 26 2021 16:33:15 Executing post-process-script EMail.py for Star.Wars.Episode.IV.A.New.Hope.1977.1080p.BluRay.x264-nikt0
ERROR Sun Dec 26 2021 16:33:15 Post-process-script VideoSort.py for Star.Wars.Episode.IV.A.New.Hope.1977.1080p.BluRay.x264-nikt0 failed (terminated with unknown status)
INFO Sun Dec 26 2021 16:33:15 VideoSort: ImportError: cannot import name monkeypatch
INFO Sun Dec 26 2021 16:33:15 VideoSort: from . import monkeypatch as _monkeypatch
INFO Sun Dec 26 2021 16:33:15 VideoSort: File "/share/CACHEDEV1_DATA/.qpkg/NZBGet/nzbget/scripts/lib/guessit/__init__.py", line 6, in <module>
INFO Sun Dec 26 2021 16:33:15 VideoSort: import guessit
INFO Sun Dec 26 2021 16:33:15 VideoSort: File "/share/CACHEDEV1_DATA/.qpkg/NZBGet/nzbget/scripts/VideoSort.py", line 273, in <module>
INFO Sun Dec 26 2021 16:33:15 VideoSort: Traceback (most recent call last):
INFO Sun Dec 26 2021 16:33:15 Executing post-process-script VideoSort.py for Star.Wars.Episode.IV.A.New.Hope.1977.1080p.BluRay.x264-nikt0
INFO Sun Dec 26 2021 16:33:15 Post-process-script SafeRename.py for Star.Wars.Episode.IV.A.New.Hope.1977.1080p.BluRay.x264-nikt0 successful

sanderj
Posts: 181
Joined: 10 Feb 2014, 21:46

Re: Post processing errors

Post by sanderj » 29 Dec 2021, 12:17

wknight7 wrote:
26 Dec 2021, 22:03
Hello-
Having some issues with email.py and videosort.py. I had them working for years, but had to reformat the NAS and cannot get these back to functioning. I'm on QNAP TS251, latest firmware. I have python 2.7.12.1.1 and 3.5.2.0.1 installed from the qnap store.
Those python versions are old and not supported anymore. See https://en.wikipedia.org/wiki/History_o ... f_versions . So: upgrade to python 3.7. Remove any python2.

... and then solve this by installing those packages with pip3:
INFO Sun Dec 26 2021 16:33:16 Logger: ImportError: No module named xmlrpc.client
INFO Sun Dec 26 2021 16:33:16 EMail: ImportError: No module named xmlrpc.client
INFO Sun Dec 26 2021 16:33:15 VideoSort: ImportError: cannot import name monkeypatch

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests