evilhero / mylar

An automated Comic Book downloader (cbr/cbz) for use with SABnzbd, NZBGet and torrents
GNU General Public License v3.0
976 stars 172 forks source link

Comic Tagging failing / aborting #1687

Closed claym closed 3 years ago

claym commented 7 years ago

Error with post processing. Pertinent Info:

The file has a 600 permission - is that supposed to be present ?

Not sure what this means.

Do you use the ownership settings with Mylar for owner:group / permissions and if you do what are they set to ?

Enforce Permissions X
Directory CHMOD: 0775
File CHMOD: 0664
Owner: media
Group: media

Is the user running Mylar in the media group or the media user ?

Yes, media is the user.

root@blackbeard:/usr/pbi/mylar-amd64/share/mylar/mylar/cache/mylar_RZ3HUV # ps aux | grep mylar
media /usr/pbi/mylar-amd64/bin/python2.7 /usr/pbi/mylar-amd64/share/mylar/mylar/Mylar.py 

Did the move complete properly (it copies it first, then deletes thereafter) into the correct series directory but then possibly failed on doing something else thereafter ?

Actually, possibly yes. I have a Crosswind (2017) 001.cbz in the final directory that looks like this:

root@blackbeard:/mnt/media/comics/library/Image/Crosswind (2017) # unzip -l Crosswind\ \(2017\)\ 001.cbz
Archive:  Crosswind (2017) 001.cbz
  Length     Date   Time    Name
 --------    ----   ----    ----
  2609728  07-26-17 17:32   Crosswind 001 (2017) (Digital) (Mephisto-Empire)/Crosswind-001-(2017)-(Digital)-(Mephisto-Empire)-001.jpg
  2209155  07-26-17 17:32   Crosswind 001 (2017) (Digital) (Mephisto-Empire)/Crosswind-001-(2017)-
     2875  07-26-17 17:32   ComicInfo.xml

Logs:

2017-07-26 17:32:43 | WARNING | [POST-PROCESSING] Post-Processing ABORTED
-- | -- | --
2017-07-26 17:32:43 | WARNING | [POST-PROCESSING] Failed to move /usr/pbi/mylar-amd64/share/mylar/mylar/cache/mylar_RZ3HUV/Crosswind 001 (2017) (Digital) (Mephisto-Empire).cbz - check directories and manually re-run.
2017-07-26 17:32:43 | DEBUG | [POST-PROCESSING] Renaming /usr/pbi/mylar-amd64/share/mylar/mylar/cache/mylar_RZ3HUV/Crosswind 001 (2017) (Digital) (Mephisto-Empire).cbz ..to.. /usr/pbi/mylar-amd64/share/mylar/mylar/cache/mylar_RZ3HUV/Crosswind (2017) 001.cbz
2017-07-26 17:32:43 | DEBUG | [POST-PROCESSING] nfilename:Crosswind (2017) 001.cbz
2017-07-26 17:32:43 | DEBUG | [POST-PROCESSING] ofilename:Crosswind 001 (2017) (Digital) (Mephisto-Empire).cbz
2017-07-26 17:32:43 | DEBUG | [POST-PROCESSING] odir: /usr/pbi/mylar-amd64/share/mylar/mylar/cache/mylar_RZ3HUV
2017-07-26 17:32:43 | DEBUG | [POST-PROCESSING] self.nzb_folder: /mnt/media/download/sabnzbd/complete/comics/Crosswind.001.2017.Digital.Mephisto-Empire.1
2017-07-26 17:32:43 | DEBUG | [POST-PROCESSING] Destination: /mnt/media/comics/library/Image/Crosswind (2017)/Crosswind (2017) 001.cbz
2017-07-26 17:32:43 | DEBUG | [POST-PROCESSING] Source: /usr/pbi/mylar-amd64/share/mylar/mylar/cache/mylar_RZ3HUV/Crosswind 001 (2017) (Digital) (Mephisto-Empire).cbz
2017-07-26 17:32:43 | INFO | [POST-PROCESSING][DIRECTORY-CHECK] Found comic directory: /mnt/media/comics/library/Image/Crosswind (2017)
2017-07-26 17:32:43 | DEBUG | [POST-PROCESSING] New Filename: Crosswind (2017) 001
2017-07-26 17:32:43 | DEBUG | [POST-PROCESSING] Original Extension: .cbz
2017-07-26 17:32:43 | DEBUG | [POST-PROCESSING] Original Filename: Crosswind 001 (2017) (Digital) (Mephisto-Empire).cbz
2017-07-26 17:32:43 | INFO | [POST-PROCESSING] Sucessfully wrote metadata to .cbz (Crosswind 001 (2017) (Digital) (Mephisto-Empire).cbz) - Continuing..
2017-07-26 17:32:43 | INFO | [META-TAGGER][COMIC-TAGGER] Successfully wrote ComicRack tagging [/usr/pbi/mylar-amd64/share/mylar/mylar/cache/mylar_RZ3HUV/Crosswind 001 (2017) (Digital) (Mephisto-Empire).cbz]
2017-07-26 17:32:39 | DEBUG | [META-TAGGER] Absolute path to script: /usr/pbi/mylar-amd64/bin/python2.7
2017-07-26 17:32:39 | DEBUG | [META-TAGGER] Executing command: ['/usr/pbi/mylar-amd64/bin/python2.7', '/usr/pbi/mylar-amd64/share/mylar/mylar/comictagger.py', '-s', '-m', 'volume=1', '--cv-api-key', u'REDACTED', '-o', '--id', u'603157', '--type', 'cr', u'/usr/pbi/mylar-amd64/share/mylar/mylar/cache/mylar_RZ3HUV/Crosswind 001 (2017) (Digital) (Mephisto-Empire).cbz']
2017-07-26 17:32:39 | DEBUG | [META-TAGGER] Enabling ComicTagger script: ['/usr/pbi/mylar-amd64/bin/python2.7', '/usr/pbi/mylar-amd64/share/mylar/mylar/comictagger.py'] with options: ['-s', '-m', 'volume=1', '--cv-api-key', u'REDACTED', '-o', '--id', u'603157', '--type', 'cr', u'/usr/pbi/mylar-amd64/share/mylar/mylar/cache/mylar_RZ3HUV/Crosswind 001 (2017) (Digital) (Mephisto-Empire).cbz']
2017-07-26 17:32:39 | INFO | [META-TAGGER] ComicRack tagging meta-tagging processing started.
2017-07-26 17:32:39 | DEBUG | [META-TAGGER][COMIC-TAGGER][CBR-TO-CBZ] New filename: /usr/pbi/mylar-amd64/share/mylar/mylar/cache/mylar_RZ3HUV/Crosswind 001 (2017) (Digital) (Mephisto-Empire).cbz
2017-07-26 17:32:39 | DEBUG | [META-TAGGER][COMIC-TAGGER] : Archive exported successfully to: Crosswind 001 (2017) (Digital) (Mephisto-Empire).cbz (Original deleted)
2017-07-26 17:32:22 | DEBUG | [META-TAGGER] Absolute path to script: /usr/pbi/mylar-amd64/bin/python2.7
2017-07-26 17:32:22 | DEBUG | [META-TAGGER] Executing command: ['/usr/pbi/mylar-amd64/bin/python2.7', '/usr/pbi/mylar-amd64/share/mylar/mylar/comictagger.py', '-e', '--delete-rar', u'/usr/pbi/mylar-amd64/share/mylar/mylar/cache/mylar_RZ3HUV/Crosswind 001 (2017) (Digital) (Mephisto-Empire).cbr']
2017-07-26 17:32:22 | DEBUG | [META-TAGGER] Enabling ComicTagger script: ['/usr/pbi/mylar-amd64/bin/python2.7', '/usr/pbi/mylar-amd64/share/mylar/mylar/comictagger.py'] with options: ['-e', '--delete-rar', u'/usr/pbi/mylar-amd64/share/mylar/mylar/cache/mylar_RZ3HUV/Crosswind 001 (2017) (Digital) (Mephisto-Empire).cbr']
2017-07-26 17:32:22 | DEBUG | [META-TAGGER] CR Tagging enabled.
2017-07-26 17:32:22 | DEBUG | [META-TAGGER] ComicTagger 1.20.1 [ninjas.walk.alone / SHURIKEN] being used - using personal ComicVine API key supplied via mylar.
2017-07-26 17:32:21 | DEBUG | [META-TAGGER] Running the ComicTagger Add-on for Mylar
2017-07-26 17:32:21 | DEBUG | [META-TAGGER] comicpath : /usr/pbi/mylar-amd64/share/mylar/mylar/cache/mylar_RZ3HUV
2017-07-26 17:32:21 | DEBUG | [META-TAGGER] sabnzbdscriptpath : /usr/pbi/mylar-amd64/share/mylar/mylar
2017-07-26 17:32:21 | DEBUG | [META-TAGGER] downloadpath : /mnt/media/download/sabnzbd/complete/comics/Crosswind.001.2017.Digital.Mephisto-Empire.1
2017-07-26 17:32:21 | DEBUG | [META-TAGGER] scriptname : Mylar.py
2017-07-26 17:32:21 | DEBUG | [META-TAGGER] Paths / Locations:
2017-07-26 17:32:21 | INFO | Attempting to move: move
2017-07-26 17:32:21 | INFO | New_Filepath: /usr/pbi/mylar-amd64/share/mylar/mylar/cache/mylar_RZ3HUV/Crosswind 001 (2017) (Digital) (Mephisto-Empire).cbr
2017-07-26 17:32:21 | INFO | New_Folder: /usr/pbi/mylar-amd64/share/mylar/mylar/cache/mylar_RZ3HUV
2017-07-26 17:32:21 | INFO | Filename: Crosswind 001 (2017) (Digital) (Mephisto-Empire).cbr
2017-07-26 17:32:21 | INFO | Filepath: /mnt/media/download/sabnzbd/complete/comics/Crosswind.001.2017.Digital.Mephisto-Empire.1/Crosswind 001 (2017) (Digital) (Mephisto-Empire).cbr
2017-07-26 17:32:21 | DEBUG | [META-TAGGER] Filename is : /mnt/media/download/sabnzbd/complete/comics/Crosswind.001.2017.Digital.Mephisto-Empire.1/Crosswind 001 (2017) (Digital) (Mephisto-Empire).cbr
2017-07-26 17:32:21 | DEBUG | ComicTagger Path location for internal comictagger.py set to : /usr/pbi/mylar-amd64/share/mylar/mylar/comictagger.py
2017-07-26 17:32:21 | DEBUG | [META-TAGGER] dirName:/mnt/media/download/sabnzbd/complete/comics/Crosswind.001.2017.Digital.Mephisto-Empire.1
2017-07-26 17:32:21 | DEBUG | [POST-PROCESSING] Metatagging enabled - proceeding...
2017-07-26 17:32:21 | DEBUG | [POST-PROCESSING] ofilename: Crosswind 001 (2017) (Digital) (Mephisto-Empire).cbr
2017-07-26 17:32:21 | DEBUG | [POST-PROCESSING] odir: /mnt/media/download/sabnzbd/complete/comics/Crosswind.001.2017.Digital.Mephisto-Empire.1
2017-07-26 17:32:21 | DEBUG | [POST-PROCESSING] ofilename: Crosswind 001 (2017) (Digital) (Mephisto-Empire).cbr
2017-07-26 17:32:21 | DEBUG | [POST-PROCESSING] odir (root): /mnt/media/download/sabnzbd/complete/comics/Crosswind.001.2017.Digital.Mephisto-Empire.1
2017-07-26 17:32:21 | DEBUG | [POST-PROCESSING] New format: $Series ($Year) $Issue
2017-07-26 17:32:21 | DEBUG | [POST-PROCESSING] Not an annual - removing from filename parameters
2017-07-26 17:32:21 | DEBUG | [POST-PROCESSING] New format is now: $Series ($Year) $Issue
2017-07-26 17:32:21 | DEBUG | [POST-PROCESSING] No version # found for series, removing from filename
2017-07-26 17:32:21 | DEBUG | [POST-PROCESSING] Comic Version: None
2017-07-26 17:32:21 | DEBUG | [POST-PROCESSING] Comic Location: /mnt/media/comics/library/Image/Crosswind (2017)
2017-07-26 17:32:21 | DEBUG | [POST-PROCESSING] Year: 2017
2017-07-26 17:32:21 | DEBUG | [POST-PROCESSING] Series: Crosswind
2017-07-26 17:32:21 | DEBUG | [POST-PROCESSING] Publisher: Image
2017-07-26 17:32:21 | DEBUG | [POST-PROCESSING] Issue Year : 2017
2017-07-26 17:32:21 | DEBUG | [POST-PROCESSING] Pretty Comic Issue is : 001
2017-07-26 17:32:21 | DEBUG | Zero level supplement set to 00x. Issue will be set as : 001
2017-07-26 17:32:21 | DEBUG | issue detected less than 10
2017-07-26 17:32:21 | DEBUG | [POST-PROCESSING] Zero Suppression set to : 00x
2017-07-26 17:32:21 | DEBUG | [POST-PROCESSING] issuenumOG: 1
2017-07-26 17:32:21 | DEBUG | [POST-PROCESSING] issueid: 603157
2017-07-26 17:32:21 | INFO | [POST-PROCESSING] [1/1] Starting Post-Processing for Crosswind issue: 1
2017-07-26 17:32:21 | INFO | [DUPECHECK] Duplication detection returned no hits. This is not a duplicate of anything that I have scanned in as of yet.
2017-07-26 17:32:21 | INFO | [DUPECHECK] Duplicate check for /mnt/media/download/sabnzbd/complete/comics/Crosswind.001.2017.Digital.Mephisto-Empire.1
2017-07-26 17:32:21 | INFO | [POST-PROCESSING] issuenzb found.
2017-07-26 17:32:21 | DEBUG | [POST-PROCESSING] Issueid: 603157
2017-07-26 17:32:21 | DEBUG | [POST-PROCESSING] After conversions, nzbname is : Crosswind.001.2017.Digital.Mephisto-Empire
2017-07-26 17:32:21 | DEBUG | [NZBNAME] nzbname (remove extensions, double spaces, convert underscores to spaces): Crosswind 001 2017 Digital Mephisto-Empire
2017-07-26 17:32:21 | DEBUG | [NZBNAME] nzbname (remove chars): Crosswind.001.2017.Digital.Mephisto-Empire
2017-07-26 17:32:21 | DEBUG | [NZBNAME]: Crosswind.001.2017.Digital.Mephisto-Empire
2017-07-26 17:32:21 | DEBUG | [POST-PROCESSING] nzb folder: /mnt/media/download/sabnzbd/complete/comics/Crosswind.001.2017.Digital.Mephisto-Empire.1
2017-07-26 17:32:21 | DEBUG | [POST-PROCESSING] nzb name: Crosswind.001.2017.Digital.Mephisto-Empire
2017-07-26 17:32:21 | INFO | Starting postprocessing for : Crosswind.001.2017.Digital.Mephisto-Empire
2017-07-26 17:32:21 | WARNING | ComicRN should be v1.01 and autoProcessComics.py should be v1.0, but they are not and are out of date. Post-Processing may or may not work.
2017-07-26 17:32:02 | INFO | [UPDATER] Updated the status (Snatched) complete for Crosswind Issue: 1
evilhero commented 7 years ago

What I meant by 0600 is the perms of the file in your cache folder are that for some reason. Which would make me think that either something else is enforcing perms at a higher level (the cache folder has lower perms than required) , or the default perms assigned when a file is created in that dir are too low for it to be managed/changed by mylar thereafter (ie. It can't delete).

Is the file in the series directory complete? You only posted a fee lines, so I'm assuming it is - but if it's an incomplete copy - is the series drive running low on space?