Post Processing Problems

Post any problems / bugs / issues that are Mylar-related in here.
Post Reply
mrpaulwass
Posts: 1
Joined: Mon Sep 12, 2022 9:59 pm

Post Processing Problems

Post by mrpaulwass »

Files are downloading correctly, but are not completing post processing. Has anyone run into this problem?

Here's an example of some folders and files that were created today.


Sample Folders
D:\NZBGet\complete\Comics>dir
Directory of D:\NZBGet\complete\Comics
09/12/2022 04:30 PM <DIR> Flashpoint.Beyond.05.of.07.2022.digital.Son.of.Ultron-Empire
09/12/2022 04:39 PM <DIR> Superman.-.Son.of.Kal-El.003.2021.Digital.Zone-Empire
09/12/2022 04:48 PM <DIR> Superman.-.Son.of.Kal-El.006.2022.Digital.Zone-Empire
09/12/2022 04:51 PM <DIR> Superman.-.Son.of.Kal-El.007.2022.Digital.Zone-Empire
09/12/2022 04:54 PM <DIR> Superman.-.Son.of.Kal-El.008.2022.Digital.Zone-Empire
09/12/2022 04:57 PM <DIR> Superman.-.Son.Of.Kal-El.009.2022.Webrip.The.Last.Kryptonian-DCP
09/12/2022 05:00 PM <DIR> Superman.-.Son.Of.Kal-El.010.2022.Webrip.The.Last.Kryptonian-DCP
09/12/2022 05:03 PM <DIR> Superman.-.Son.of.Kal-El.011.2022.Digital.Zone-Empire
09/12/2022 05:07 PM <DIR> Superman.-.Son.of.Kal-El.012.2022.Digital.Zone-Empire
09/12/2022 05:10 PM <DIR> Superman.-.Son.of.Kal-El.013.2022.Digital.Zone-Empire
09/12/2022 05:12 PM <DIR> Superman.-.Son.of.Kal-El.014.2022.digital-SD



Sample File
D:\NZBGet\complete\Comics\Superman.-.Son.of.Kal-El.003.2021.Digital.Zone-Empire>dir
Directory of D:\NZBGet\complete\Comics\Superman.-.Son.of.Kal-El.003.2021.Digital.Zone-Empire
09/12/2022 04:39 PM 109,727,141 Superman - Son of Kal-El 003 (2021) (Digital) (Zone-Empire).cbr



Below is the log snippet from mylar.log
12-Sep-2022 17:50:50 - INFO :: mylar.post_process.1735 : CP Server Thread-7 : Starting postprocessing for : Manual Run
12-Sep-2022 17:50:50 - INFO :: mylar.traverse_directories.1572 : Thread-25 : there are 11 files.
12-Sep-2022 17:50:50 - INFO :: mylar.Process.435 : Thread-25 : I have located 11 files that I should be able to post-process. Continuing...
12-Sep-2022 17:50:50 - INFO :: mylar.Process.1738 : Thread-25 : watchmatch: {'process_status': 'match', 'sub': 'Flashpoint.Beyond.05.of.07.2022.digital.Son.of.Ultron-Empire', 'volume': None, 'match_type': None, 'comicfilename': 'Flashpoint Beyond 05 (of 07) (2022) (digital) (Son of Ultron-Empire).cbr', 'comiclocation': 'D:\\NZBGet\\complete\\Comics', 'series_name': 'Flashpoint Beyond', 'series_volume': None, 'alt_series': None, 'alt_issue': None, 'issue_year': '2022', 'issueid': None, 'justthedigits': '05', 'annual_comicid': None, 'scangroup': 'Son of Ultron-Empire', 'booktype': 'issue'}
12-Sep-2022 17:50:50 - INFO :: mylar.Process.751 : Thread-25 : Now checking: Superman: Son of Kal-El [137844]
12-Sep-2022 17:50:50 - INFO :: mylar.Process.751 : Thread-25 : Now checking: Superman: Son of Kal-El [137844]
12-Sep-2022 17:50:50 - INFO :: mylar.Process.751 : Thread-25 : Now checking: Superman: Son of Kal-El [137844]
12-Sep-2022 17:50:50 - INFO :: mylar.Process.751 : Thread-25 : Now checking: Superman: Son of Kal-El [137844]
12-Sep-2022 17:50:50 - INFO :: mylar.Process.751 : Thread-25 : Now checking: Superman: Son of Kal-El [137844]
12-Sep-2022 17:50:50 - INFO :: mylar.Process.751 : Thread-25 : Now checking: Superman: Son of Kal-El [137844]
12-Sep-2022 17:50:50 - INFO :: mylar.Process.751 : Thread-25 : Now checking: Superman: Son of Kal-El [137844]
12-Sep-2022 17:50:50 - INFO :: mylar.Process.751 : Thread-25 : Now checking: Superman: Son of Kal-El [137844]
12-Sep-2022 17:50:50 - INFO :: mylar.Process.751 : Thread-25 : Now checking: Superman: Son of Kal-El [137844]
12-Sep-2022 17:50:50 - INFO :: mylar.Process.751 : Thread-25 : Now checking: Superman: Son of Kal-El [137844]
12-Sep-2022 17:50:50 - INFO :: mylar.Process.2106 : Thread-25 : [PPINFO-POST-PROCESSING-ATTEMPT] {'comicid': '142259', 'comicname': 'Flashpoint Beyond', 'seriesyear': '2022', 'issuenumber': '5', 'publisher': 'DC Comics', 'issueid': '946062', 'comiclocation': 'D:\\NZBGet\\complete\\Comics\\Flashpoint.Beyond.05.of.07.2022.digital.Son.of.Ultron-Empire\\Flashpoint Beyond 05 (of 07) (2022) (digital) (Son of Ultron-Empire).cbr', 'sarc': None, 'oneoff': True}
12-Sep-2022 17:50:50 - INFO :: mylar.nzb_or_oneoff_pp.2267 : Thread-25 : [POST-PROCESSING] Could not detect as a standard issue - checking against annuals.
12-Sep-2022 17:50:50 - INFO :: mylar.nzb_or_oneoff_pp.2270 : Thread-25 : [POST-PROCESSING] issuenzb not found.
12-Sep-2022 17:50:50 - INFO :: mylar.nzb_or_oneoff_pp.2288 : Thread-25 : [POST-PROCESSING] [ONE-OFF POST-PROCESSING] One-off download detected. Post-processing as a non-watchlist item.
12-Sep-2022 17:50:50 - INFO :: mylar.nzb_or_oneoff_pp.2319 : Thread-25 : [POST-PROCESSING] One-off mode enabled for Post-Processing. Will move into Grab-bag directory: d:\comics\Grabbag
12-Sep-2022 17:50:50 - ERROR :: mylar.excepthook.315 : Thread-25 : Uncaught exception: Traceback (most recent call last):
File "C:\Users\Media\mylar3-master\mylar\logger.py", line 337, in new_run
old_run(*args, **kwargs)
File "C:\Users\Media\AppData\Local\Programs\Python\Python39\lib\threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\Media\mylar3-master\mylar\PostProcessor.py", line 2107, in Process
self.nzb_or_oneoff_pp(tinfo=pp)
File "C:\Users\Media\mylar3-master\mylar\PostProcessor.py", line 2395, in nzb_or_oneoff_pp
vol_label = arcdata['ComicVersion']
UnboundLocalError: local variable 'arcdata' referenced before assignment


12-Sep-2022 17:50:50 - INFO :: mylar.post_process.1735 : CP Server Thread-6 : Starting postprocessing for : Manual Run
12-Sep-2022 17:50:50 - INFO :: mylar.traverse_directories.1572 : Thread-26 : there are 11 files.
12-Sep-2022 17:50:50 - INFO :: mylar.Process.435 : Thread-26 : I have located 11 files that I should be able to post-process. Continuing...
12-Sep-2022 17:50:50 - INFO :: mylar.Process.1738 : Thread-26 : watchmatch: {'process_status': 'match', 'sub': 'Flashpoint.Beyond.05.of.07.2022.digital.Son.of.Ultron-Empire', 'volume': None, 'match_type': None, 'comicfilename': 'Flashpoint Beyond 05 (of 07) (2022) (digital) (Son of Ultron-Empire).cbr', 'comiclocation': 'D:\\NZBGet\\complete\\Comics', 'series_name': 'Flashpoint Beyond', 'series_volume': None, 'alt_series': None, 'alt_issue': None, 'issue_year': '2022', 'issueid': None, 'justthedigits': '05', 'annual_comicid': None, 'scangroup': 'Son of Ultron-Empire', 'booktype': 'issue'}
12-Sep-2022 17:50:50 - INFO :: mylar.Process.751 : Thread-26 : Now checking: Superman: Son of Kal-El [137844]
12-Sep-2022 17:50:50 - INFO :: mylar.Process.751 : Thread-26 : Now checking: Superman: Son of Kal-El [137844]
12-Sep-2022 17:50:50 - INFO :: mylar.Process.751 : Thread-26 : Now checking: Superman: Son of Kal-El [137844]
12-Sep-2022 17:50:50 - INFO :: mylar.Process.751 : Thread-26 : Now checking: Superman: Son of Kal-El [137844]
12-Sep-2022 17:50:50 - INFO :: mylar.Process.751 : Thread-26 : Now checking: Superman: Son of Kal-El [137844]
12-Sep-2022 17:50:50 - INFO :: mylar.Process.751 : Thread-26 : Now checking: Superman: Son of Kal-El [137844]
12-Sep-2022 17:50:50 - INFO :: mylar.Process.751 : Thread-26 : Now checking: Superman: Son of Kal-El [137844]
12-Sep-2022 17:50:50 - INFO :: mylar.Process.751 : Thread-26 : Now checking: Superman: Son of Kal-El [137844]
12-Sep-2022 17:50:50 - INFO :: mylar.Process.751 : Thread-26 : Now checking: Superman: Son of Kal-El [137844]
12-Sep-2022 17:50:50 - INFO :: mylar.Process.751 : Thread-26 : Now checking: Superman: Son of Kal-El [137844]
12-Sep-2022 17:50:50 - INFO :: mylar.Process.2106 : Thread-26 : [PPINFO-POST-PROCESSING-ATTEMPT] {'comicid': '142259', 'comicname': 'Flashpoint Beyond', 'seriesyear': '2022', 'issuenumber': '5', 'publisher': 'DC Comics', 'issueid': '946062', 'comiclocation': 'D:\\NZBGet\\complete\\Comics\\Flashpoint.Beyond.05.of.07.2022.digital.Son.of.Ultron-Empire\\Flashpoint Beyond 05 (of 07) (2022) (digital) (Son of Ultron-Empire).cbr', 'sarc': None, 'oneoff': True}
12-Sep-2022 17:50:50 - INFO :: mylar.nzb_or_oneoff_pp.2267 : Thread-26 : [POST-PROCESSING] Could not detect as a standard issue - checking against annuals.
12-Sep-2022 17:50:50 - INFO :: mylar.nzb_or_oneoff_pp.2270 : Thread-26 : [POST-PROCESSING] issuenzb not found.
12-Sep-2022 17:50:50 - INFO :: mylar.nzb_or_oneoff_pp.2288 : Thread-26 : [POST-PROCESSING] [ONE-OFF POST-PROCESSING] One-off download detected. Post-processing as a non-watchlist item.
12-Sep-2022 17:50:50 - INFO :: mylar.nzb_or_oneoff_pp.2319 : Thread-26 : [POST-PROCESSING] One-off mode enabled for Post-Processing. Will move into Grab-bag directory: d:\comics\Grabbag
12-Sep-2022 17:50:50 - ERROR :: mylar.excepthook.315 : Thread-26 : Uncaught exception: Traceback (most recent call last):
File "C:\Users\Media\mylar3-master\mylar\logger.py", line 337, in new_run
old_run(*args, **kwargs)
File "C:\Users\Media\AppData\Local\Programs\Python\Python39\lib\threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\Media\mylar3-master\mylar\PostProcessor.py", line 2107, in Process
self.nzb_or_oneoff_pp(tinfo=pp)
File "C:\Users\Media\mylar3-master\mylar\PostProcessor.py", line 2395, in nzb_or_oneoff_pp
vol_label = arcdata['ComicVersion']
UnboundLocalError: local variable 'arcdata' referenced before assignment
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Post Processing Problems

Post by evilhero »

There's a bunch of questions:
- are these one-off issues from the weekly pull that aren't post-processing or are they items that are exist on your watchlist?

- Why are you running a manual post-processing on items that should be be post-processed using CDH immediately after it downloads?

- Do you not have CDH enabled and you're using folder monitor to monitor your nzb downloads directory (if so, don't).

- You don't specify what branch you are running, or what version/commit.

- The logs are INFO level which aren't helping us trying to troubleshoot your problem at hand. Posting a snippet of the logs also isn't helpful as we need to generally see the full log history.

Turn on debug logging, run a post-process or however you got the error, wait for it to error and then generate a carepackage and paste the link to it here.

We can better help you once we can see the carepackage and the questions above are answered.
Post Reply