Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 03-23-2025, 08:48 PM   #1
abe
Enthusiast
abe began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Mar 2025
Device: kobo libra 2
are errors normal in epubs?

are these kind of errors normal with calibre ? almost all of my books have several types of errors. database isn't corrupted however


https://imgur.com/a/tRoeSMb
abe is offline   Reply With Quote
Old 03-23-2025, 09:44 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 45,544
Karma: 168929301
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Those errors are not normal. The first two relate to the dc:identifier element which is a required element and is not supposed to be blank or absent.

As for the third item, that looks like a Kobo epub which has structural issues.

The following snippet is the first 7 lines of the .opf file from a blank ePub3 generated by Sigil. The identifier, language, title and modified items MUST be present for an ePub3 file.

Code:
<?xml version="1.0" encoding="utf-8"?>
<package version="3.0" unique-identifier="BookId" xmlns="http://www.idpf.org/2007/opf">
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">
<dc:identifier id="BookId">urn:uuid:982c9231-abdd-4c4c-9ff5-d4814ae29041</dc:identifier>
<dc:language>en</dc:language>
<dc:title>[Main title here]</dc:title>
<meta property="dcterms:modified">2025-03-23T18:40:12Z</meta>
DNSB is offline   Reply With Quote
Advert
Old 03-23-2025, 09:48 PM   #3
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,636
Karma: 5703586
Join Date: Nov 2009
Device: many
No those errors are not normal in any spec epub. It looks like someone who does not know what they are doing, has edited the epub's OPF, removing the package tag unique id attribute or its target and improperly re-used an id.

This can be a sign that the epub was edited using poorly written software or that the epub itself was pirated by someone who feared the unique-id would somehow identify them so they removed it.

Either way, not normal.
KevinH is online now   Reply With Quote
Old 03-23-2025, 10:18 PM   #4
abe
Enthusiast
abe began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Mar 2025
Device: kobo libra 2
and is it problematic ? for me i mean, the user

it's weird because it never caused me issues, but now i've just updated the metadata for all books and created tag-based collections, and my device is much slower (i might make a separate post about it)

what's the quickest way to solve these errors, can i do a batch fix , or do i have to do it individually ?
abe is offline   Reply With Quote
Old 03-23-2025, 10:43 PM   #5
abe
Enthusiast
abe began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Mar 2025
Device: kobo libra 2
it seems my reply didnt work . you can see my response above
abe is offline   Reply With Quote
Advert
Old 03-24-2025, 10:31 AM   #6
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,636
Karma: 5703586
Join Date: Nov 2009
Device: many
Lack of a unique book id can cause some ebook organizing software to slow down because the book's unique id is often used alone or in combination with the modification date and time to uniquely identify a specific instance of the epub.

Also duplicate ids in an opf depending on where it is used in the opf can result in broken metadata or missing spine items, or lost manifest data.

You should probably fix those issues, little by little. Use the calibre editor to fix those issues or something like Sigil.

If you understand the form and function of an epub OPF you could fix things in the opf using simple text editor.

A batch script to add in the bookid metadata would be doable but if epub2, do not forget to update the unique identifier used in the ncx as well.

Last edited by KevinH; 03-24-2025 at 10:56 AM.
KevinH is online now   Reply With Quote
Old 03-25-2025, 09:15 PM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,484
Karma: 145863170
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by KevinH View Post
LA batch script to add in the bookid metadata would be doable but if epub2, do not forget to update the unique identifier used in the ncx as well.
It it's an ePub3 that you want to be backwards compatible with ePub2, then you'll want an NCX ToC that also has the ID.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre EPUBs cause errors during upload to "epubli" MarToc Conversion 5 01-06-2025 03:50 PM
Epubs with errors soft-bricking my Kobo 305869 Kobo Reader 13 05-22-2023 04:20 AM
Cleaning up errors across multiple epubs w00dent0p Editor 1 01-24-2022 06:35 PM
Errors when submitting epubs to iBookstore Tiiba ePub 6 03-02-2012 02:46 PM
Some EPUBs not opening - normal? zormal Astak EZReader 17 05-19-2010 08:05 AM


All times are GMT -4. The time now is 10:07 PM.


MobileRead.com is a privately owned, operated and funded community.