On 2019-04-08 12:31:00 +0000, astrawebfan said:
> On 2019-04-08 01:20:51 +0000, symm said:
>
>> The two archives are corrupt but recoverable. All images CRC checksums
>> report as OK but it reports 2 errors without details (frustrating).
>>
>> So the archives are corrupt/damaged but recoverable (after "rar r", the
>> rebuilt test as good). Will add code to detect this condition and auto
>> attempt to rebuild and replace original on success. Not comfortable
>> just ignoring as they may degrade further and no longer be recoverable.
>> I'd feel better if rar gave info on errors. 7z reports no errors (All
>> OK, exit code 0).
>>
>> Can you provide examples of the comic app added comments (preferably
>> both rar and zip)?
>>
>> Thanks,
>>
>> symm
>
> I believe I used ComicBookInfo which was only able to tag ZIP archives,
> not RAR, so I only have examples of the one type. I only bothered
> tagging a handful because I didn't end up liking ComicBookLover.
>
> Here's two examples: one typical, one outlier.
>
> Path = /Volumes/External HD/Comics/Marvel Comics/Marvel Comics
> 1960s/1961 Fantastic Four 1-293 A1-19 GS1-4/Fantastic Four 274 (c2c).cbz
> Type = zip
> WARNINGS:
> There are data after the end of archive
> Physical Size = 13354982
> Tail Size = 1
> Comment =
> {"ComicBookInfo/1.0":{"publicationYear":1985,"genre":"Superhero","volume":1,"series":"Fantastic
> Four","issue":"274","rating":0,"publisher":"Marvel","publicationMonth":1,"country":"United
> States","language":"English","title":"Fantastic Four 274
> (c2c)"},"appID":"ComicBookLover/1291","lastModified":"2013-04-30
> 15:41:05 +0000"}
>
> Path = /Volumes/External HD/Comics/Marvel Comics/Marvel Comics
> 2010s/2013 Uncanny X-Men 1-35 S1/Uncanny X-Men 002 (2013) (Digital)
> (Zone-Empire).cbz
> Type = zip
> WARNINGS:
> There are data after the end of archive
> Physical Size = 22805439
> Tail Size = 73
> Comment =
> {"ComicBookInfo/1.0":{"publicationYear":2013,"issue":"2","series":"Uncanny
> X-Men","publicationMonth":4,"comments":"There is a mole on Cyclops'
> team, but who is it?\n\nWhen you hunt the UNCANNY X-MEN you use
> Sentinels, but when you find out WHO'S DOING THE HUNTING your jaw will
> drop!","publisher":"Marvel","rating":0,"country":"United
> States","credits":[{"person":"Jordan D.
> White","role":"Editor"},{"person":"Francesco
> Francavilla","role":"Cover"},{"person":"Stuart
> Immonen","role":"Cover"},{"person":"Skottie
> Young","role":"Cover"},{"person":"Joe
> Caramagna","role":"Production"},{"person":"Al
> Vey","role":"Inker"},{"person":"Chris
> Bachalo","role":"Colorist"},{"person":"Joe
> Quesada","role":"Cover"},{"person":"Gabriele
> Dell'Otto","role":"Cover"},{"person":"Tim
> Townsend","role":"Inker"},{"person":"Victor
> Olazaba","role":"Inker"},{"person":"Joe
> Quesada","role":"Other"},{"person":"Dan
> Buckley","role":"Journalist"},{"person":"Chris
> Bachalo","role":"Cover"},{"person":"Joe
> Caramagna","role":"Letterer"},{"person":"Danny
> Miki","role":"Cover"},{"person":"Richard
> Isanove","role":"Cover"},{"person":"Jaime
> Mendoza","role":"Inker"},{"person":"Alan
> Fine","role":"Production"},{"person":"Brian Michael
> Bendis","role":"Writer"},{"person":"Marte
> Gracia","role":"Cover"},{"person":"Axel
> Alonso","role":"Editor"},{"person":"Chris
> Bachalo","role":"Penciler"},{"person":"Nick
> Lowe","role":"Editor"}],"language":"English","title":"Poink Is the New
> Bamf"},"appID":"ComicBookLover/1291","lastModified":"2013-03-07
> 18:44:48 +0000"}
There are more details I can get with the files like the 7z exit
code(s) and results from other test tools, but thanks for the info.
Both finds were exactly what I was looking for in outside testing.
A basic test adding a comment via "zip -z" tested file with 7z:
=============================================================================
Type = zip
Physical Size = 40819112
Comment =
{"ComicBookInfo/1.0":{"publicationYear":1985,"genre":"Superhero","volume":1,"series":"Fantastic
Four","issue":"274","rating":0,"publisher":"Marvel","publicationMonth":1,"country":"United
States","language":"English","title":"Fantastic Four 274 (c2c)"},"app
ID":"ComicBookLover/1291","lastModified":"2013-04-30 15:41:05 +0000"}
Everything is Ok
Folders: 1
Files: 55
Size: 40901027
Compressed: 40819112
==============================================================================
Looks like ComicBookLover screwed up the zip comment.
I did some further testing with the two "corrupt" files you posted. I'm
beginning to think there is a bug in rar/unrar (v5.70, latest
non-beta). WINRAR reports both archives as OK (same as 7x using the
unrar dll). The fact that the GUI app (which is the grandaddy of all
rar) says the archives are OK strongly indicates that the phantom
errors (no details) from rar/unrar are bogus.
So change of plans. I'll amend the test_archive code to disregard the
"errors" when all items test as OK. And add a check for data at the end
of zip archives that begin with '{"ComicBookInfo'.
symm
|
Follow-ups: | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 | 32 | 33 | 34 |
|