Manual Post Processing/Folder Monitoring not renaming/moving

Post any problems / bugs / issues that are Mylar-related in here.
Post Reply
Warborg
Posts: 45
Joined: Sat Apr 16, 2016 7:01 pm

Manual Post Processing/Folder Monitoring not renaming/moving

Post by Warborg »

Ok, so I am running on Windows Home Server 2011 and started having problems after the change that was checking for the proper slash within the folder path. We fixed that, but manual post processing is no longer picking anything out of my import folder as it used to do (basically I'd bulk download the issues I want and put them in an IMPORT_COMICS folder and then do a manual pp and it would grab/rename/move as it should). I did notice that the file paths that I had added before said change retained the incorrect slash so I made sure to update the settings so the path was correct just in case, I've even gone in and manually renamed the comic files to match pre-existing comics (i.e. for whatever series I made sure the formatting was the same except for incrementing the issue number by 1) and still no joy. I can manually move the comic into the proper folder and then go into the issue in Mylar and do a file scan and it'll see the issue at that point. Below I have pasted all the version info and below that the complete debug log in hopes that we can sort this out.

Mylar Version: development
-- git build 625a36abe75f6663775d1cd8a94ca83e3e8bc242.
Python Version : 2.7.11
Language : en_US.cp1252

2019-01-10 03:49:05 ERROR 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 557, in Process
just_the_digits = re.sub('[^0-9]', '', watchmatch['series_volume']).strip()
File "C:\Python27\lib\re.py", line 155, in sub
return _compile(pattern, flags).sub(repl, string, count)
TypeError: expected string or buffer
2019-01-10 03:49:05 INFO Now checking: Thor [111590]
2019-01-10 03:49:05 INFO Now checking: Thor [110253]
2019-01-10 03:49:05 DEBUG [POST-PROCESSING][SUCCESSFUL MATCH: Spider-Gwen: Ghost-Spider-114734] Match verified for Spider-Gwen - Ghost-Spider 004 (2019).cbr
2019-01-10 03:49:05 DEBUG [POST-PROCESSING][DEFINITIVE-NAME MATCH] Definitive name match exactly to : Spider-Gwen - Ghost-Spider [114734]
2019-01-10 03:49:05 DEBUG [POST-PROCESSING][CLOCATION] X:\Downloads\Downloads\Imports_COMICS
2019-01-10 03:49:05 DEBUG [POST-PROCESSING][ISSUE-VERIFY][Lone Volume MATCH] Volume label of None indicates only volume for this series on your watchlist.
2019-01-10 03:49:05 DEBUG [POST-PROCESSING][ISSUE-VERIFY] Now checking against Spider-Gwen: Ghost-Spider-114734
2019-01-10 03:49:05 DEBUG temploc: 004
2019-01-10 03:49:05 INFO Now checking: Spider-Gwen: Ghost-Spider [114734]
2019-01-10 03:49:05 DEBUG [POST-PROCESSING][SUCCESSFUL MATCH: Miles Morales: Spider-Man-115897] Match verified for Miles Morales - Spider-Man 002 (2019).cbr
2019-01-10 03:49:05 DEBUG [POST-PROCESSING][DEFINITIVE-NAME MATCH] Definitive name match exactly to : Miles Morales - Spider-Man [115897]
2019-01-10 03:49:05 DEBUG [POST-PROCESSING][CLOCATION] X:\Downloads\Downloads\Imports_COMICS
2019-01-10 03:49:05 DEBUG [POST-PROCESSING][ISSUE-VERIFY][Lone Volume MATCH] Volume label of None indicates only volume for this series on your watchlist.
2019-01-10 03:49:05 DEBUG [POST-PROCESSING][ISSUE-VERIFY] Now checking against Miles Morales: Spider-Man-115897
2019-01-10 03:49:05 DEBUG temploc: 002
2019-01-10 03:49:05 INFO Now checking: Miles Morales: Spider-Man [115897]
2019-01-10 03:49:05 DEBUG [POST-PROCESSING] Alternate series naming detected: Miles Morales
2019-01-10 03:49:05 DEBUG [POST-PROCESSING][SUCCESSFUL MATCH: Black Order-115237] Match verified for Black Order 003 (2019).cbr
2019-01-10 03:49:05 DEBUG [POST-PROCESSING][DEFINITIVE-NAME MATCH] Definitive name match exactly to : Black Order [115237]
2019-01-10 03:49:05 DEBUG [POST-PROCESSING][CLOCATION] X:\Downloads\Downloads\Imports_COMICS
2019-01-10 03:49:05 DEBUG [POST-PROCESSING][ISSUE-VERIFY][Lone Volume MATCH] Volume label of None indicates only volume for this series on your watchlist.
2019-01-10 03:49:05 DEBUG [POST-PROCESSING][ISSUE-VERIFY] Now checking against Black Order-115237
2019-01-10 03:49:05 DEBUG temploc: 003
2019-01-10 03:49:05 INFO Now checking: Black Order [115237]
2019-01-10 03:49:05 INFO I have located 5 files that I should be able to post-process. Continuing...
2019-01-10 03:49:05 DEBUG series title possibly: Web Of Venom Venom Unleashed
2019-01-10 03:49:05 DEBUG sf_highest_series_pos: ['Web', 'Of', 'Venom', 'Venom', 'Unleashed']
2019-01-10 03:49:05 DEBUG issue verified as : 001
2019-01-10 03:49:05 DEBUG issue_position: 5
2019-01-10 03:49:05 DEBUG possible_issuenumbers: [{'position': 5, 'validcountchk': False, 'number': '001', 'mod_position': 29}]
2019-01-10 03:49:05 DEBUG highest_series_position: 6
2019-01-10 03:49:05 DEBUG year verified as: 2019
2019-01-10 03:49:05 DEBUG year verified as : 2019
2019-01-10 03:49:05 DEBUG sctd: 2019
2019-01-10 03:49:05 DEBUG datecheck: [{'date': '2019', 'position': 6, 'mod_position': 33}]
2019-01-10 03:49:05 DEBUG date: 2019
2019-01-10 03:49:05 DEBUG checking date : 2019
2019-01-10 03:49:05 DEBUG NEWLY SPLIT REORGD: ['Web', 'Of', 'Venom', 'Venom', 'Unleashed', '001', '(2019)']
2019-01-10 03:49:05 DEBUG [FILENAME]: Web Of Venom Venom Unleashed 001 (2019).cbr
2019-01-10 03:49:05 DEBUG series title possibly: Thor
2019-01-10 03:49:05 DEBUG sf_highest_series_pos: ['Thor']
2019-01-10 03:49:05 DEBUG issue verified as : 009
2019-01-10 03:49:05 DEBUG issue_position: 1
2019-01-10 03:49:05 DEBUG possible_issuenumbers: [{'position': 1, 'validcountchk': False, 'number': '009', 'mod_position': 5}]
2019-01-10 03:49:05 DEBUG highest_series_position: 2
2019-01-10 03:49:05 DEBUG year verified as: 2019
2019-01-10 03:49:05 DEBUG year verified as : 2019
2019-01-10 03:49:05 DEBUG sctd: 2019
2019-01-10 03:49:05 DEBUG datecheck: [{'date': '2019', 'position': 2, 'mod_position': 9}]
2019-01-10 03:49:05 DEBUG date: 2019
2019-01-10 03:49:05 DEBUG checking date : 2019
2019-01-10 03:49:05 DEBUG NEWLY SPLIT REORGD: ['Thor', '009', '(2019)']
2019-01-10 03:49:05 DEBUG [FILENAME]: Thor 009 (2019).cbr
2019-01-10 03:49:05 DEBUG series title possibly: Spider-Gwen - Ghost-Spider
2019-01-10 03:49:05 DEBUG sf_highest_series_pos: ['Spider-Gwen', '-', 'Ghost-Spider']
2019-01-10 03:49:05 DEBUG issue verified as : 004
2019-01-10 03:49:05 DEBUG issue_position: 3
2019-01-10 03:49:05 DEBUG possible_issuenumbers: [{'position': 3, 'validcountchk': False, 'number': '004', 'mod_position': 27}]
2019-01-10 03:49:05 DEBUG highest_series_position: 4
2019-01-10 03:49:05 DEBUG year verified as: 2019
2019-01-10 03:49:05 DEBUG year verified as : 2019
2019-01-10 03:49:05 DEBUG sctd: 2019
2019-01-10 03:49:05 DEBUG datecheck: [{'date': '2019', 'position': 4, 'mod_position': 31}]
2019-01-10 03:49:05 DEBUG date: 2019
2019-01-10 03:49:05 DEBUG checking date : 2019
2019-01-10 03:49:05 DEBUG NEWLY SPLIT REORGD: ['Spider-Gwen', '-', 'Ghost-Spider', '004', '(2019)']
2019-01-10 03:49:05 DEBUG [FILENAME]: Spider-Gwen - Ghost-Spider 004 (2019).cbr
2019-01-10 03:49:05 DEBUG Alternate series / issue title: Miles Morales [Spider-Man]
2019-01-10 03:49:05 DEBUG series title possibly: Miles Morales - Spider-Man
2019-01-10 03:49:05 DEBUG sf_highest_series_pos: ['Miles', 'Morales', '-', 'Spider-Man']
2019-01-10 03:49:05 DEBUG ALT-SERIES NAME [ISSUE TITLE]: Miles Morales [Spider-Man]
2019-01-10 03:49:05 DEBUG issue verified as : 002
2019-01-10 03:49:05 DEBUG issue_position: 4
2019-01-10 03:49:05 DEBUG possible_issuenumbers: [{'position': 4, 'validcountchk': False, 'number': '002', 'mod_position': 27}]
2019-01-10 03:49:05 DEBUG highest_series_position: 5
2019-01-10 03:49:05 DEBUG year verified as: 2019
2019-01-10 03:49:05 DEBUG year verified as : 2019
2019-01-10 03:49:05 DEBUG sctd: 2019
2019-01-10 03:49:05 DEBUG datecheck: [{'date': '2019', 'position': 5, 'mod_position': 31}]
2019-01-10 03:49:05 DEBUG date: 2019
2019-01-10 03:49:05 DEBUG checking date : 2019
2019-01-10 03:49:05 DEBUG NEWLY SPLIT REORGD: ['Miles', 'Morales', '-', 'Spider-Man', '002', '(2019)']
2019-01-10 03:49:05 DEBUG [FILENAME]: Miles Morales - Spider-Man 002 (2019).cbr
2019-01-10 03:49:05 DEBUG series title possibly: Black Order
2019-01-10 03:49:04 DEBUG sf_highest_series_pos: ['Black', 'Order']
2019-01-10 03:49:04 DEBUG issue verified as : 003
2019-01-10 03:49:04 DEBUG issue_position: 2
2019-01-10 03:49:04 DEBUG possible_issuenumbers: [{'position': 2, 'validcountchk': False, 'number': '003', 'mod_position': 12}]
2019-01-10 03:49:04 DEBUG highest_series_position: 3
2019-01-10 03:49:04 DEBUG year verified as: 2019
2019-01-10 03:49:04 DEBUG year verified as : 2019
2019-01-10 03:49:04 DEBUG sctd: 2019
2019-01-10 03:49:04 DEBUG issue verified as : 003
2019-01-10 03:49:04 DEBUG issue_position: 2
2019-01-10 03:49:04 DEBUG possible_issuenumbers: [{'position': 2, 'validcountchk': False, 'number': '003', 'mod_position': 12}]
2019-01-10 03:49:04 DEBUG highest_series_position: 3
2019-01-10 03:49:04 DEBUG year verified as: 2019
2019-01-10 03:49:04 DEBUG year verified as : 2019
2019-01-10 03:49:04 DEBUG sctd: 2019
2019-01-10 03:49:04 DEBUG datecheck: [{'date': '2019', 'position': 3, 'mod_position': 16}]
2019-01-10 03:49:04 DEBUG date: 2019
2019-01-10 03:49:04 DEBUG checking date : 2019
2019-01-10 03:49:04 DEBUG NEWLY SPLIT REORGD: ['Black', 'Order', '003', '(2019)']
2019-01-10 03:49:04 DEBUG [FILENAME]: Black Order 003 (2019).cbr
2019-01-10 03:49:04 INFO there are 5 files.
2019-01-10 03:49:04 DEBUG [POST-PROCESSING] Manual Run initiated
2019-01-10 03:49:04 DEBUG [POST-PROCESSING] Not using SABnzbd : Manual Run
2019-01-10 03:49:04 DEBUG [POST-PROCESSING] nzb folder: X:\Downloads\Downloads\Imports_COMICS
2019-01-10 03:49:04 DEBUG [POST-PROCESSING] nzb name: Manual Run
2019-01-10 03:49:04 INFO Starting postprocessing for : Manual Run
2019-01-10 03:48:59 INFO Web logs cleared
Warborg
Posts: 45
Joined: Sat Apr 16, 2016 7:01 pm

Re: Manual Post Processing/Folder Monitoring not renaming/moving

Post by Warborg »

I suspect it's just certain items that are throwing it off as well... My import folder was empty, I put two files in there (The Black Order issues 1 and 2) and did a Manual PP, picked them up and processed them properly. Debug log below just for reference:

2019-01-10 04:02:52 INFO [DUPECHECK] Duplication detection returned no hits. This is not a duplicate of anything that I have scanned in as of yet.
2019-01-10 04:02:52 INFO [DUPECHECK] Duplicate check for X:\Downloads\Downloads\Imports_COMICS\The Black Order 001 (2019) (Digital) (Zone-Empire).cbr
2019-01-10 04:02:52 DEBUG [POST-PROCESSING] There are 2 files found that match on your watchlist, 0 files are considered one-off's, and 0 files do not match anything
2019-01-10 04:02:52 DEBUG [POST-PROCESSING][SUCCESSFUL MATCH: Black Order-115237] Match verified for The Black Order 002 (2019) (Digital) (Zone-Empire).cbr
2019-01-10 04:02:52 DEBUG [POST-PROCESSING][DEFINITIVE-NAME MATCH] Definitive name match exactly to : The Black Order [115237]
2019-01-10 04:02:52 DEBUG [POST-PROCESSING][CLOCATION] X:\Downloads\Downloads\Imports_COMICS
2019-01-10 04:02:52 DEBUG [POST-PROCESSING][ISSUE-VERIFY][Lone Volume MATCH] Volume label of None indicates only volume for this series on your watchlist.
2019-01-10 04:02:52 DEBUG [POST-PROCESSING][ISSUE-VERIFY] 2019 comparing to 2019 : rechecking by month-check versus year.
2019-01-10 04:02:52 DEBUG [POST-PROCESSING][ISSUE-VERIFY] IssueYear (issyr) is 2019
2019-01-10 04:02:52 DEBUG [POST-PROCESSING][ISSUE-VERIFY] 2018-12-12 is before the issue year of 2019 that was discovered in the filename
2019-01-10 04:02:52 DEBUG [POST-PROCESSING][ISSUE-VERIFY] Now checking against Black Order-115237
2019-01-10 04:02:52 DEBUG temploc: 002
2019-01-10 04:02:52 INFO Now checking: Black Order [115237]
2019-01-10 04:02:52 DEBUG [POST-PROCESSING][SUCCESSFUL MATCH: Black Order-115237] Match verified for The Black Order 001 (2019) (Digital) (Zone-Empire).cbr
2019-01-10 04:02:52 DEBUG [POST-PROCESSING][DEFINITIVE-NAME MATCH] Definitive name match exactly to : The Black Order [115237]
2019-01-10 04:02:52 DEBUG [POST-PROCESSING][CLOCATION] X:\Downloads\Downloads\Imports_COMICS
2019-01-10 04:02:52 DEBUG [POST-PROCESSING][ISSUE-VERIFY][Lone Volume MATCH] Volume label of None indicates only volume for this series on your watchlist.
2019-01-10 04:02:52 DEBUG [POST-PROCESSING][ISSUE-VERIFY] 2019 comparing to 2019 : rechecking by month-check versus year.
2019-01-10 04:02:52 DEBUG [POST-PROCESSING][ISSUE-VERIFY] IssueYear (issyr) is 2019
2019-01-10 04:02:51 DEBUG [POST-PROCESSING][ISSUE-VERIFY] 2018-11-14 is before the issue year of 2019 that was discovered in the filename
2019-01-10 04:02:51 DEBUG [POST-PROCESSING][ISSUE-VERIFY] Now checking against Black Order-115237
2019-01-10 04:02:51 DEBUG temploc: 001
2019-01-10 04:02:51 INFO Now checking: Black Order [115237]
2019-01-10 04:02:51 INFO I have located 2 files that I should be able to post-process. Continuing...
2019-01-10 04:02:51 DEBUG series title possibly: The Black Order
2019-01-10 04:02:51 DEBUG sf_highest_series_pos: ['The', 'Black', 'Order']
2019-01-10 04:02:51 DEBUG issue verified as : 002
2019-01-10 04:02:51 DEBUG issue_position: 3
2019-01-10 04:02:51 DEBUG possible_issuenumbers: [{'position': 3, 'validcountchk': False, 'number': '002', 'mod_position': 16}]
2019-01-10 04:02:51 DEBUG highest_series_position: 4
2019-01-10 04:02:51 DEBUG year verified as: 2019
2019-01-10 04:02:51 DEBUG year verified as : 2019
2019-01-10 04:02:51 DEBUG sctd: 2019
2019-01-10 04:02:51 DEBUG datecheck: [{'date': '2019', 'position': 4, 'mod_position': 20}]
2019-01-10 04:02:51 DEBUG date: 2019
2019-01-10 04:02:51 DEBUG checking date : 2019
2019-01-10 04:02:51 DEBUG NEWLY SPLIT REORGD: ['The', 'Black', 'Order', '002', '(2019)', '(Digital)']
2019-01-10 04:02:51 DEBUG Scanner group tag discovered: Zone-Empire
2019-01-10 04:02:51 DEBUG [FILENAME]: The Black Order 002 (2019) (Digital) (Zone-Empire).cbr
2019-01-10 04:02:51 DEBUG series title possibly: The Black Order
2019-01-10 04:02:51 DEBUG sf_highest_series_pos: ['The', 'Black', 'Order']
2019-01-10 04:02:51 DEBUG issue verified as : 001
2019-01-10 04:02:51 DEBUG issue_position: 3
2019-01-10 04:02:51 DEBUG possible_issuenumbers: [{'position': 3, 'validcountchk': False, 'number': '001', 'mod_position': 16}]
2019-01-10 04:02:51 DEBUG highest_series_position: 4
2019-01-10 04:02:51 DEBUG year verified as: 2019
2019-01-10 04:02:51 DEBUG year verified as : 2019
2019-01-10 04:02:51 DEBUG sctd: 2019
2019-01-10 04:02:51 DEBUG datecheck: [{'date': '2019', 'position': 4, 'mod_position': 20}]
2019-01-10 04:02:51 DEBUG date: 2019
2019-01-10 04:02:51 DEBUG checking date : 2019
2019-01-10 04:02:51 DEBUG NEWLY SPLIT REORGD: ['The', 'Black', 'Order', '001', '(2019)', '(Digital)']
2019-01-10 04:02:51 DEBUG Scanner group tag discovered: Zone-Empire
2019-01-10 04:02:51 DEBUG [FILENAME]: The Black Order 001 (2019) (Digital) (Zone-Empire).cbr
2019-01-10 04:02:51 INFO there are 2 files.
2019-01-10 04:02:51 DEBUG [POST-PROCESSING] Manual Run initiated
2019-01-10 04:02:51 DEBUG [POST-PROCESSING] Not using SABnzbd : Manual Run
2019-01-10 04:02:51 DEBUG [POST-PROCESSING] nzb folder: X:\Downloads\Downloads\Imports_COMICS
2019-01-10 04:02:51 DEBUG [POST-PROCESSING] nzb name: Manual Run
2019-01-10 04:02:51 INFO Starting postprocessing for : Manual Run
User avatar
evilhero
Site Admin
Posts: 2876
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Manual Post Processing/Folder Monitoring not renaming/moving

Post by evilhero »

It does sound like it's one of the files that's causing some problems, albeit which one is the actual question at this point.

That error you posted in the first post, usually it's due to Mylar checking for an issue number but the series is not indicated as having any issue numbers (ie. TPB/GN), and it's causing that error as a result. Normally, the Edition is set the wrong type (in the series detail page for the given series) - so if it says TPB, you'd need to force it to Print or vice-versa. In doing so, it changes the way the file-parser works (TPB's don't have issue numbers, Print editions do, One-Shots can have either).

So, the question is - what are some of the more questionable files in your folder monitor location? By questionable, I mean that don't have an issue number in the filename, and/or the series was marked incorrectly?
Warborg
Posts: 45
Joined: Sat Apr 16, 2016 7:01 pm

Re: Manual Post Processing/Folder Monitoring not renaming/moving

Post by Warborg »

That's just it, just to try to figure it out I got it down to 5 files in that folder and made sure the naming matched the older issues exactly, issue number, year, everything and it was still having problems processing them.
User avatar
evilhero
Site Admin
Posts: 2876
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Manual Post Processing/Folder Monitoring not renaming/moving

Post by evilhero »

Update to the latest development commit and it will trap that exception and indicate the series / filename that's being affected. Paste the log snippet in here and we can go more from there.
Warborg
Posts: 45
Joined: Sat Apr 16, 2016 7:01 pm

Re: Manual Post Processing/Folder Monitoring not renaming/moving

Post by Warborg »

I did an update today and then put my comics in the import folder and it worked as it should now... So something was fixed, or it was a transient problem, or something... :)
Post Reply