Story Arc DDL Post Processing

Post any problems / bugs / issues that are Mylar-related in here.
Post Reply
pod1908
Posts: 1
Joined: Tue Dec 29, 2020 10:40 pm

Story Arc DDL Post Processing

Post by pod1908 »

I was using the Story Arc Feature to grab issues that I was missing issues from and I ran into an issue where the Post Processing would throw an error. I went ahead and added one of the issues to my wanted library and it processed without and issue. But I still get the below error when using the StoryArc interface. Thanks!

2021-01-01 15:53:49 ERROR [POST-PROCESSING] Unable to post-process file as it is not in a valid cbr/cbz format or cannot be located in path. PostProcessing aborted.
2021-01-01 15:53:49 INFO [POST-PROCESSING] One-off STORYARC mode enabled for Post-Processing for Endless Winter
2021-01-01 15:53:49 INFO [POST-PROCESSING] issuenzb not found.
2021-01-01 15:53:49 INFO [POST-PROCESSING] Could not detect as a standard issue - checking against annuals.
2021-01-01 15:53:49 INFO [PPINFO-POST-PROCESSING-ATTEMPT] {'comicid': '132567', 'comicname': 'Teen Titans: Endless Winter Special', 'issuenumber': '1', 'publisher': 'DC Comics', 'comiclocation': None, 'issueid': 'S60696_8517', 'sarc': 'Endless Winter', 'oneoff': True}
2021-01-01 15:53:49 INFO Now loading from post-processing queue: {'nzb_name': 'Teen Titans - Endless Winter Special 01 (2021) (Digital) (Mephisto-Empire).cbr', 'nzb_folder': 'C:\\Users\\Joshua\\mylar3\\cache\\Teen Titans - Endless Winter Special 01 (2021) (Digital) (Mephisto-Empire).cbr', 'failed': False, 'issueid': '60696_8517', 'comicid': '132567', 'apicall': True, 'ddl': True}
2021-01-01 15:53:47 INFO Teen Titans - Endless Winter Special 01 (2021) (Digital) (Mephisto-Empire).cbr successfully downloaded - now initiating post-processing for C:\Users\Joshua\mylar3\cache\Teen Titans - Endless Winter Special 01 (2021) (Digital) (Mephisto-Empire).cbr
2021-01-01 15:51:54 INFO Now loading request from DDL queue: Teen Titans – Endless Winter Special #1
2021-01-01 15:51:52 INFO [UPDATER] Updated the status (Snatched) complete for Teen Titans: Endless Winter Special Issue: 1
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Story Arc DDL Post Processing

Post by evilhero »

Could you put Mylar into debug mode (History -- View Logs -- Turn Verbose Logging ON), and try the post-processing of that issue again in order to replicate the problem ? There's some info that would help alot as to the actual post-processing that's occuring with the DDL download.
dond72
Posts: 9
Joined: Wed Jul 31, 2019 9:40 am

Re: Story Arc DDL Post Processing

Post by dond72 »

Happens the same to me.

Running on windows, if you look closely you can see there's duplicated \ on the route.

2021-01-01 15:53:49 INFO Now loading from post-processing queue: {'nzb_name': 'Teen Titans - Endless Winter Special 01 (2021) (Digital) (Mephisto-Empire).cbr', 'nzb_folder': 'C:\\Users\\Joshua\\mylar3\\cache\\Teen Titans - Endless Winter Special 01 (2021) (Digital) (Mephisto-Empire).cbr', 'failed': False, 'issueid': '60696_8517', 'comicid': '132567', 'apicall': True, 'ddl': True}

This is my log with verbose ON

2021-09-07 16:25:57 ERROR [POST-PROCESSING] Failed to move C:\Git\mylar\cache\Future State - Kara Zor-El, Superwoman 001 (2021) (digital) (Son of Ultron-Empire).cbr\Future State - Kara Zor-El, Superwoman 001 (2021) (digital) (Son of Ultron-Empire).cbr:
2021-09-07 16:25:57 ERROR [MOVE] error : [Errno 2] No such file or directory: 'C:\\Git\\mylar\\cache\\Future State - Kara Zor-El, Superwoman 001 (2021) (digital) (Son of Ultron-Empire).cbr\\Future State - Kara Zor-El, Superwoman 001 (2021) (digital) (Son of Ultron-Empire).cbr'
2021-09-07 16:25:57 DEBUG [FREESPACE-CHECK] E:\Comics\StoryArcs\Future State (2021) has 419.3GiB free
2021-09-07 16:25:57 INFO [POST-PROCESSING][move] Future State - Kara Zor-El, Superwoman 001 (2021) (digital) (Son of Ultron-Empire).cbr into directory : E:\Comics\StoryArcs\Future State (2021)\006-Future State - Kara Zor-El, Superwoman 001 (2021) (digital) (Son of Ultron-Empire).cbr
2021-09-07 16:25:57 INFO [POST-PROCESSING] Destination Path : E:\Comics\StoryArcs\Future State (2021)\006-Future State - Kara Zor-El, Superwoman 001 (2021) (digital) (Son of Ultron-Empire).cbr
2021-09-07 16:25:57 DEBUG [POST-PROCESSING] readingorder#: 6
2021-09-07 16:25:57 INFO [POST-PROCESSING][DIRECTORY-CHECK] Found comic directory: E:\Comics\StoryArcs\Future State (2021)
2021-09-07 16:25:57 INFO [POST-PROCESSING] Source Path : C:\Git\mylar\cache\Future State - Kara Zor-El, Superwoman 001 (2021) (digital) (Son of Ultron-Empire).cbr\Future State - Kara Zor-El, Superwoman 001 (2021) (digital) (Son of Ultron-Empire).cbr
2021-09-07 16:25:57 DEBUG readingorder: [('Future State', 6)]
2021-09-07 16:25:57 DEBUG [POST-PROCESSING] issuearcid:60715_9228
2021-09-07 16:25:57 DEBUG [POST-PROCESSING] Assumed directory location (C:\Git\mylar\cache\Future State - Kara Zor-El, Superwoman 001 (2021) (digital) (Son of Ultron-Empire).cbr) is actually file location. Correcting...

Anything we can try? Did you manage to solve the issue?
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Story Arc DDL Post Processing

Post by evilhero »

@dond72,
The double-slashes are normal for escaping windows paths within Python - not really anything that would stop the items from processing (it migth look like an issue, but it's all handled under the hood).

What probably is more the problem is the workflow that's being used in order to get the issue to post-process. You posted the log directly from the GUI, so while it was in debug mode it doesn't show the relevant line references in the code (these are present if you look at the actual log files, the GUI aspect doesn't display them).

But as far as the issue - how are you trying to post-process this ? Specifically:
- Has it already downloaded outside of Mylar and you're doing a manual post-process on it?
- Is it trying to post-process it from a search - and if so was it done via manual search from the series detail page, a force check (automated scheduled search), or via the story arc page ?
- Do you have the given series on your watchlist?

The answer to these 3 questions (at least to start) will point to the directed workflow that's being done in mylar and a closer look can be taken - how the information is passed to the post-processor determines how it's actually post-processed and while the end result is the same, the methods to get there are different.
dond72
Posts: 9
Joined: Wed Jul 31, 2019 9:40 am

Re: Story Arc DDL Post Processing

Post by dond72 »

But as far as the issue - how are you trying to post-process this ? Specifically:
- Has it already downloaded outside of Mylar and you're doing a manual post-process on it?
- Is it trying to post-process it from a search - and if so was it done via manual search from the series detail page, a force check (automated scheduled search), or via the story arc page ?
- Do you have the given series on your watchlist?
1. No, it hasn't. I've tried manually and automatically post processing.
2. It was marked as wanted on story arc and nothing else.
3. No I haven't, that's the first thing that I tought off, and deleted the series from the event from my watchlist and tried again with no luck.

Attached you can find my log.

https://drive.google.com/file/d/1cZ757f ... sp=sharing

The error is on line 10240.
There you can see al the things I tried.

Thanks a lot
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Story Arc DDL Post Processing

Post by evilhero »

Can you please update your version of Mylar and see if the fixes that went in over the last few weeks resolve your error?

There were some arc-related problems with paths that were corrected is what I'm thinking was the problem (as you notice, in your path, the filename is listed as being both a directory and a file as it's listed twice in the path).
dond72
Posts: 9
Joined: Wed Jul 31, 2019 9:40 am

Re: Story Arc DDL Post Processing

Post by dond72 »

Works like a charm!

Thanks a lot, just a quick question is there anyway when I add a story arc to mark all the issues as wanted?
Post Reply