Dup Check is erroring out on Manual post-processing

Post any problems / bugs / issues that are Mylar-related in here.
Post Reply
leaderdog
Posts: 377
Joined: Sun Apr 26, 2015 1:52 pm

Dup Check is erroring out on Manual post-processing

Post by leaderdog »

Hi Evilhero,

It seems after the last fix of the post-processing this became an issue.

When I hit manual post process sometimes somethings will get moved other times I keep getting this:

Code: Select all

20-Oct-2019 19:42:23 - DEBUG   :: mylar.forceRescan.1034 : Thread-49 : No issues with identical issue numbering were detected for this series
20-Oct-2019 19:42:23 - DEBUG   :: mylar.forceRescan.1056 : Thread-49 : [ANNUAL-CHK] No annuals with identical issue numbering across annual volumes were detected for this series
20-Oct-2019 19:42:23 - INFO    :: mylar.forceRescan.1505 : Thread-49 : [FILE-RESCAN] Total files located: 0
20-Oct-2019 19:42:23 - DEBUG   :: mylar.forceRescan.1523 : Thread-49 : [FILE-RESCAN] Adjusting have total to 16 because of this many archive files already in Archive status :16
20-Oct-2019 19:42:23 - DEBUG   :: mylar.forceRescan.1612 : Thread-49 : [FILE-RESCAN] Ensuring permissions/ownership enforced for series: Catwoman
20-Oct-2019 19:42:23 - INFO    :: mylar.forceRescan.1614 : Thread-49 : [FILE-RESCAN] I have physically found 0 issues, ignored 0 issues, snatched 0 issues, and accounted for 16 in an Archived state [ Total Issue Count: 16 / 17 ]
20-Oct-2019 19:42:23 - INFO    :: mylar.duplicate_filecheck.2140 : Thread-49 : [DUPECHECK] Duplicate check for L:\Complete\Catwoman 016 (2019) (2 covers) (Digital) (Oracle-SWA).cbr
20-Oct-2019 19:42:23 - INFO    :: mylar.duplicate_filecheck.2171 : Thread-49 : [DUPECHECK] Existing Status already set to Archived
20-Oct-2019 19:42:23 - INFO    :: mylar.duplicate_filecheck.2174 : Thread-49 : [DUPECHECK] Existing filesize is 0 bytes as I cannot locate the orginal entry - it is probably archived.
20-Oct-2019 19:42:23 - DEBUG   :: mylar.duplicate_filecheck.2175 : Thread-49 : [DUPECHECK] Checking series for unrefreshed series syndrome (USS).
20-Oct-2019 19:42:23 - DEBUG   :: mylar.duplicate_filecheck.2187 : Thread-49 : [DUPECHECK] File is Archived but no file can be located within the db at the specified location. Assuming this was a manual archival and will not post-process this issue.
20-Oct-2019 19:42:23 - INFO    :: mylar.duplicate_filecheck.2140 : Thread-49 : [DUPECHECK] Duplicate check for L:\Complete\Coffin Bound 003 (2019) (digital) (NeverAngel-Empire).cbr
20-Oct-2019 19:42:23 - INFO    :: mylar.duplicate_filecheck.2171 : Thread-49 : [DUPECHECK] Existing Status already set to Downloaded
20-Oct-2019 19:42:23 - ERROR   :: mylar.excepthook.315 : Thread-49 : Uncaught exception: Traceback (most recent call last):
  File "C:\Mylar\mylar\logger.py", line 337, in new_run
    old_run(*args, **kwargs)
  File "C:\Python27\lib\threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "C:\Mylar\mylar\PostProcessor.py", line 1650, in Process
    dupthis = helpers.duplicate_filecheck(ml['ComicLocation'], ComicID=comicid, IssueID=issueid)
  File "C:\Mylar\mylar\helpers.py", line 2200, in duplicate_filecheck
    logger.info('[DUPECHECK] Existing file within db :' + dupchk['Location'] + ' has a filesize of : ' + str(dupsize) + ' bytes.')
TypeError: cannot concatenate 'str' and 'NoneType' objects

After I delete the offending file, then it will continue to move things until it comes to another one that is already downloaed, and then will error again as you can see here:

Code: Select all

Catwoman
20-Oct-2019 19:47:02 - INFO    :: mylar.forceRescan.1614 : Thread-50 : [FILE-RESCAN] I have physically found 0 issues, ignored 0 issues, snatched 0 issues, and accounted for 16 in an Archived state [ Total Issue Count: 16 / 17 ]
20-Oct-2019 19:47:02 - INFO    :: mylar.duplicate_filecheck.2140 : Thread-50 : [DUPECHECK] Duplicate check for L:\Complete\Catwoman 016 (2019) (2 covers) (Digital) (Oracle-SWA).cbr
20-Oct-2019 19:47:02 - INFO    :: mylar.duplicate_filecheck.2171 : Thread-50 : [DUPECHECK] Existing Status already set to Archived
20-Oct-2019 19:47:02 - INFO    :: mylar.duplicate_filecheck.2174 : Thread-50 : [DUPECHECK] Existing filesize is 0 bytes as I cannot locate the orginal entry - it is probably archived.
20-Oct-2019 19:47:02 - DEBUG   :: mylar.duplicate_filecheck.2175 : Thread-50 : [DUPECHECK] Checking series for unrefreshed series syndrome (USS).
20-Oct-2019 19:47:02 - DEBUG   :: mylar.duplicate_filecheck.2187 : Thread-50 : [DUPECHECK] File is Archived but no file can be located within the db at the specified location. Assuming this was a manual archival and will not post-process this issue.
20-Oct-2019 19:47:02 - INFO    :: mylar.duplicate_filecheck.2140 : Thread-50 : [DUPECHECK] Duplicate check for L:\Complete\Collapser 004 (2019) (Digital) (Zone-Empire).cbr
20-Oct-2019 19:47:02 - INFO    :: mylar.duplicate_filecheck.2171 : Thread-50 : [DUPECHECK] Existing Status already set to Downloaded
20-Oct-2019 19:47:02 - ERROR   :: mylar.excepthook.315 : Thread-50 : Uncaught exception: Traceback (most recent call last):
  File "C:\Mylar\mylar\logger.py", line 337, in new_run
    old_run(*args, **kwargs)
  File "C:\Python27\lib\threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "C:\Mylar\mylar\PostProcessor.py", line 1650, in Process
    dupthis = helpers.duplicate_filecheck(ml['ComicLocation'], ComicID=comicid, IssueID=issueid)
  File "C:\Mylar\mylar\helpers.py", line 2200, in duplicate_filecheck
    logger.info('[DUPECHECK] Existing file within db :' + dupchk['Location'] + ' has a filesize of : ' + str(dupsize) + ' bytes.')
TypeError: cannot concatenate 'str' and 'NoneType' objects
I double checked to make sure comic dups is on and it is in the config.ini

Code: Select all

[Duplicates]
ddump = True
duplicate_dump = L:\_comic dups
dupeconstraint = filesize
duplicate_dated_folders = False
I hope it's something simple to fix. :)

Mylar Version: development
-- git build 36f544b6d9455d0f2a4b2eb91ae3a762b558c3de.
Python Version : 2.7.16
Language : en_US.cp1252
leaderdog
Posts: 377
Joined: Sun Apr 26, 2015 1:52 pm

Re: Dup Check is erroring out on Manual post-processing

Post by leaderdog »

Update:

after removing those files. Mylar seems to be going through and putting stuff in comic dups and moving the files it should be.

/shrugs
Post Reply