Import not creating CBZ

Post any problems / bugs / issues that are Mylar-related in here.
User avatar
oldirtdog
Posts: 56
Joined: Fri Nov 04, 2016 7:52 pm

Re: Import not creating CBZ

Post by oldirtdog » Tue Aug 07, 2018 1:50 pm

I just checked and all that is set... if I do a manual scan and import, will it do the CBR to CBZ conversion?

User avatar
oldirtdog
Posts: 56
Joined: Fri Nov 04, 2016 7:52 pm

Re: Import not creating CBZ

Post by oldirtdog » Tue Aug 07, 2018 2:41 pm

I think I have an error now to work on... this is the message I'm getting in the logs when I try to do a manual metatag for a file... I see the CBR-To-CBZ block is failing... however, I'm not really sure what to do to fix that... is it a python issue?

2018-08-07 10:39:43 INFO ERROR. Unable to properly retrieve the cover for displaying. It's probably best to re-tag this file.
2018-08-07 10:39:39 DEBUG CBZ file detected. Checking for .xml within file
2018-08-07 10:39:33 DEBUG [MANUAL META-TAGGING] Unable to write metadata successfully - check mylar.log file.
2018-08-07 10:39:33 WARNING [META-TAGGER][COMIC-TAGGER][CBR-TO-CBZ] Failed to convert cbr to cbz - check permissions on folder : /Applications/Mylar/cache/ and/or the location where Mylar is trying to tag the files from.
2018-08-07 10:39:33 DEBUG [META-TAGGER] Absolute path to script: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
2018-08-07 10:39:33 DEBUG [META-TAGGER] Executing command: ['/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python', '/Applications/Mylar/comictagger.py', '-e', '--delete-rar', u'/Applications/Mylar/cache/mylar_HpknEk/Batman Year One 1 (1988).cbz']
2018-08-07 10:39:33 DEBUG [META-TAGGER] Enabling ComicTagger script: ['/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python', '/Applications/Mylar/comictagger.py'] with options: ['-e', '--delete-rar', u'/Applications/Mylar/cache/mylar_HpknEk/Batman Year One 1 (1988).cbz']
2018-08-07 10:39:33 DEBUG [META-TAGGER] Will modify existing tag blocks even if it exists.
2018-08-07 10:39:33 DEBUG [META-TAGGER] CBL Tagging enabled.
2018-08-07 10:39:33 DEBUG [META-TAGGER] CR Tagging enabled.
2018-08-07 10:39:33 DEBUG [META-TAGGER] ComicTagger 1.25.1 [ninjas.walk.alone / SHURIKEN] being used - using personal ComicVine API key supplied via mylar.
2018-08-07 10:39:32 DEBUG [META-TAGGER] Running the ComicTagger Add-on for Mylar
2018-08-07 10:39:32 DEBUG [META-TAGGER] comicpath : /Applications/Mylar/cache/mylar_HpknEk
2018-08-07 10:39:32 DEBUG [META-TAGGER] sabnzbdscriptpath : /Applications/Mylar
2018-08-07 10:39:32 DEBUG [META-TAGGER] downloadpath : /Volumes/Storage/Documents/Comics/Mylar/Batman Year One (1988)
2018-08-07 10:39:32 DEBUG [META-TAGGER] scriptname : Mylar.py
2018-08-07 10:39:32 DEBUG [META-TAGGER] Paths / Locations:
2018-08-07 10:39:29 DEBUG New_Filepath: /Applications/Mylar/cache/mylar_HpknEk/Batman Year One 1 (1988).cbz
2018-08-07 10:39:29 DEBUG New_Folder: /Applications/Mylar/cache/mylar_HpknEk
2018-08-07 10:39:29 DEBUG Filename: Batman Year One 1 (1988).cbz
2018-08-07 10:39:29 DEBUG Filepath: /Volumes/Storage/Documents/Comics/Mylar/Batman Year One (1988)/Batman Year One 1 (1988).cbz
2018-08-07 10:39:29 DEBUG [META-TAGGER] Filename is : /Volumes/Storage/Documents/Comics/Mylar/Batman Year One (1988)/Batman Year One 1 (1988).cbz
2018-08-07 10:39:29 DEBUG ComicTagger Path location for internal comictagger.py set to : /Applications/Mylar/comictagger.py
2018-08-07 10:39:29 DEBUG [META-TAGGER] dirName:/Volumes/Storage/Documents/Comics/Mylar/Batman Year One (1988)

User avatar
oldirtdog
Posts: 56
Joined: Fri Nov 04, 2016 7:52 pm

Re: Import not creating CBZ

Post by oldirtdog » Mon Aug 13, 2018 2:25 pm

it's still not working as expected... I'm going to try to recreate the permissions on the imports folder, but I'm not sure what else to do or what might have changed

dosaceos
Posts: 12
Joined: Fri Oct 09, 2015 1:10 pm

Re: Import not creating CBZ

Post by dosaceos » Thu Aug 16, 2018 7:16 pm

I'm having the same issue, and it's a recent development. Historically I've had no issues with cbz conversion or meta tagging, and haven't changed any settings in years.

User avatar
oldirtdog
Posts: 56
Joined: Fri Nov 04, 2016 7:52 pm

Re: Import not creating CBZ

Post by oldirtdog » Thu Aug 16, 2018 7:27 pm

same here... the import works fine, but the conversion and meta tag of a CBR file just doesn't work... I was able to do a manual meta tag of a CBZ file just fine... I'm wondering if perhaps it is related to an issue I had where I deleted my imports folder to get rid of some artifacts that kept showing up in my import results...

dosaceos
Posts: 12
Joined: Fri Oct 09, 2015 1:10 pm

Re: Import not creating CBZ

Post by dosaceos » Thu Aug 16, 2018 7:43 pm

My log just tells me to check my permissions when the conversion to cbz is attempted, but I can't find any issues there. But admittedly I'm not a permissions expert.

User avatar
evilhero
Site Admin
Posts: 2262
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Import not creating CBZ

Post by evilhero » Thu Aug 16, 2018 7:54 pm

Probably 2 different types of errors, albeit involving the same process.

@olddirtdog: from the root of the mylar directory (where the comictagger.py file is located), try running the following, but replace the last path with the path to another cbr not in the cache folder probably:

Code: Select all

/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python comictagger.py -e --delete-rar '/Applications/Mylar/cache/mylar_HpknEk/Batman Year One 1 (1988).cbz'
If that throws back an error of some kind, that's the problem (as that's the exact command that mylar uses)

@dosaceos: can you provide the debug.log from a metatagging operatiom of some kind so I can see the leadup to the failure? Also what OS you're running mylar on.

User avatar
oldirtdog
Posts: 56
Joined: Fri Nov 04, 2016 7:52 pm

Re: Import not creating CBZ

Post by oldirtdog » Thu Aug 16, 2018 8:46 pm

I did that command and it worked fine... however, when I do a manual meta-tag from a directory, it doesn't seem to do anything... in fact, I don't even see the command running in the log... I'm going to restart it and do a little more messing tomorrow...

dosaceos
Posts: 12
Joined: Fri Oct 09, 2015 1:10 pm

Re: Import not creating CBZ

Post by dosaceos » Thu Aug 16, 2018 9:09 pm

This far enough ahead?



16-Aug-2018 14:27:39 - INFO :: mylar.sender.43 : SEARCH-QUEUE : sending now to http://127.0.0.1:8080/api
16-Aug-2018 14:27:39 - INFO :: mylar.sender.50 : SEARCH-QUEUE : {u'status': True, u'nzo_ids': [u'SABnzbd_nzo_p3ktca']}
16-Aug-2018 14:27:39 - INFO :: mylar.searcher.2877 : SEARCH-QUEUE : Successfully sent nzb file to SABnzbd
16-Aug-2018 14:27:39 - INFO :: mylar.nzblog.683 : SEARCH-QUEUE : setting the nzbid for this download grabbed by nzb.su in the nzblog to : 9f41527fe56fe2e106eb67574312b207
16-Aug-2018 14:27:39 - INFO :: mylar.nzblog.687 : SEARCH-QUEUE : setting the alternate nzbname for this download grabbed by nzb.su in the nzblog to : EdgeofSpider-Geddon0012018DigitalZone-Empire
16-Aug-2018 14:27:39 - INFO :: mylar.foundsearch.751 : SEARCH-QUEUE : [UPDATER] Updating status to snatched
16-Aug-2018 14:27:39 - INFO :: mylar.foundsearch.854 : SEARCH-QUEUE : [UPDATER] Updated the status (Snatched) complete for Edge of Spider-Geddon Issue: 1
16-Aug-2018 14:30:17 - INFO :: mylar.getVersion.137 : CP Server Thread-6 : Branch detected & set to : master
16-Aug-2018 14:31:27 - INFO :: mylar.run.2449 : Thread-13 : [FOLDER-CHECK] Checking folder B:\Admin\Downloads\complete for newly snatched downloads
16-Aug-2018 14:31:27 - INFO :: mylar.traverse_directories.1198 : Thread-13 : there are 1 files.
16-Aug-2018 14:31:27 - INFO :: mylar.Process.386 : Thread-13 : I have located 1 files that I should be able to post-process. Continuing...
16-Aug-2018 14:31:27 - INFO :: mylar.Process.544 : Thread-13 : temploc: 001
16-Aug-2018 14:31:27 - INFO :: mylar.duplicate_filecheck.2089 : Thread-13 : [DUPECHECK] Duplicate check for B:\Admin\Downloads\complete\Edge.of.Spider-Geddon.001.2018.Digital.Zone-Empire\Edge of Spider-Geddon 001 (2018) (Digital) (Zone-Empire).cbr
16-Aug-2018 14:31:27 - INFO :: mylar.duplicate_filecheck.2221 : Thread-13 : [DUPECHECK] Duplication detection returned no hits. This is not a duplicate of anything that I have scanned in as of yet.
16-Aug-2018 14:31:27 - INFO :: mylar.Process_next.1718 : Thread-13 : [POST-PROCESSING] [1/1] Starting Post-Processing for Edge of Spider-Geddon issue: 1
16-Aug-2018 14:31:28 - WARNING :: mylar.run.241 : Thread-13 : [META-TAGGER][COMIC-TAGGER][CBR-TO-CBZ] Failed to convert cbr to cbz - check permissions on folder : C:\Program Files (x86)\mylar-development\cache/ and/or the location where Mylar is trying to tag the files from.
16-Aug-2018 14:31:29 - INFO :: mylar.validateAndCreateDirectory.1369 : Thread-13 : [POST-PROCESSING][DIRECTORY-CHECK] Found comic directory: B:\Media\Comics\Edge of Spider-Geddon (2018)
16-Aug-2018 14:31:29 - INFO :: mylar.Process_next.2218 : Thread-13 : [POST-PROCESSING] move successful to : B:\Media\Comics\Edge of Spider-Geddon (2018)\Edge of Spider-Geddon 1 (2018).cbr
16-Aug-2018 14:31:29 - INFO :: mylar.foundsearch.857 : Thread-13 : [POST-PROCESSING][UPDATER] Setting status to Post-Processed in history.
16-Aug-2018 14:31:29 - INFO :: mylar.foundsearch.914 : Thread-13 : [POST-PROCESSING][UPDATER] Updating Status (Post-Processed) now complete for Edge of Spider-Geddon issue: 1
16-Aug-2018 14:31:29 - INFO :: mylar.Process_next.2369 : Thread-13 : [POST-PROCESSING] Post-Processing completed for: Edge of Spider-Geddon #1
16-Aug-2018 14:31:29 - INFO :: mylar.Process.1317 : Thread-13 : [POST-PROCESSING] Manual post-processing completed for 1 issues [FAILED: 1]
16-Aug-2018 14:31:29 - INFO :: mylar.run.2452 : Thread-13 : [FOLDER-CHECK] Finished checking for newly snatched downloads
16-Aug-2018 14:31:59 - INFO :: mylar.dbUpdate.348 : Thread-13 : Update complete

dosaceos
Posts: 12
Joined: Fri Oct 09, 2015 1:10 pm

Re: Import not creating CBZ

Post by dosaceos » Fri Aug 17, 2018 5:47 pm

Also I'm running it on a windows server.

Post Reply