View Single Post
Old 10-22-2025, 06:06 PM   #4
un_pogaz
Chalut o/
un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.
 
un_pogaz's Avatar
 
Posts: 495
Karma: 678910
Join Date: Dec 2017
Device: Kobo
Quote:
Originally Posted by KevinH View Post
The first 3 entries have unique ids but identical file paths inside the epub according to the manifest.
oops, their mean to be differents (fix but you get the idea).

Quote:
Originally Posted by KevinH View Post
Does epubcheck detect the duplicate manifest entries?
Internal check show nothing. epubcheck will report this:
Col: 101: ERROR(OPF-074): The package resource "texts/Section0001.xhtml" is declared in several items of the manifest.

Quote:
Originally Posted by KevinH View Post
Also will you please copy and rename the epub to .zip and run unzip -t on it to see if these duplicates are identical files listed inside the epub zip itself (maybe with different capitalizations) or just maybe symlinks to the same file?
Check it, their is no duplicate file or case issue. Only malformed OPF.

Quote:
Originally Posted by KevinH View Post
Also would you please post this epub someplace and pm (KevinH) me with a link to it. Alternatively, add a password to that zip, post the password protected one as an attachment to this thread as a zip and pm me with just the password.

That way I will have a test case to run and test my changes against it.

Thanks
Damn, I already manualy fix the ePub. And useless, since it's rather trivial to recreate: just open Sigil on a empty ePub (2 or 3), duplicate a entry and boom, error (tested).

Quote:
Originally Posted by KevinH View Post
I will try to code up a load warning that detects duplicate filepaths and at least manually warn the user to verify/fix its opf manifest to remove identified duplicates for the next release.
Thanks.

Last edited by un_pogaz; 10-22-2025 at 06:08 PM.
un_pogaz is offline   Reply With Quote