08-01-2016, 05:05 AM | #1 |
Connoisseur
Posts: 73
Karma: 87474
Join Date: Jul 2011
Location: Budapest, Hungary
Device: Android tablet
|
Vexing error in EPUB file created in Sigil
I'm struggling to fix the few outstanding glitches in the EPUB version of my latest book, created in Sigil. There's only one remaining error warning, and it reads like this:
"WARNING: meta@dtb:uid content 'a8620173-6f09-4947-99a6-002454099f47' should conform to unique-identifier in content.opf: 'urn:uuid:a8620173-6f09-4947-99a6-002454099f47' in OEBPS/toc.ncx" I'm assuming that this is a Table of Contents error, but can anyone advise how to fix it in either Sigil or InDesign? Or is this just a case of finding the UID content entry with a text/HTML editor and changing it to read uuid:a8620173-6f09-4947-99a6-002454099f47? And if so, where should I look? Advice appreciated! Thanks! |
08-01-2016, 06:22 AM | #2 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I assume you did some manual changes in either the content.opf and/or toc.ncx. Perhaps some copy/pasting of another ePUB.
Anyway, an ePUB must have an unique indentifier and this is specified in the content.opf. You could try to regenerate the TOC (not the HTML TOC) to fix this. This should solve it, as the toc.ncx should not contain an UUID. |
Advert | |
|
08-01-2016, 06:50 AM | #3 | ||
Obsessively Dedicated...
Posts: 3,200
Karma: 34977896
Join Date: May 2011
Location: JAPAN (US expatriate)
Device: Sony PRS-T2, ADE on PC
|
Re-generating the toc is simpler, but if you have a special uuid, you can edit it manually. (You can edit the opf and the tox.ncx files with a text editor, or in the Sigil code window, but be very cautious)
I use Sigil, and I happen to create my own uuid manually, but even if I use the one generated automatically by Sigil, it will show in the content.opf as <dc:identifier blah blah ... So the entry in the opf file looks like: Quote:
Quote:
Last edited by GrannyGrump; 08-01-2016 at 07:03 AM. |
||
08-01-2016, 11:09 AM | #4 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I run into retail epubs all the time whose uid in the ncx doesn't match the opf uid. I match them up when I notice the discrepancy, but I have to seriously wonder if it really matters one single bit in the "real world."
When using Sigil, don't be afraid to alter the NCX dbt:uid value to match the OPF's uid. It's getting the OPF wrong that can wreak havoc. Last edited by DiapDealer; 08-01-2016 at 11:12 AM. |
08-01-2016, 02:18 PM | #5 |
Connoisseur
Posts: 73
Karma: 87474
Join Date: Jul 2011
Location: Budapest, Hungary
Device: Android tablet
|
Thanks, all. Still working on it!
|
Advert | |
|
08-02-2016, 06:46 AM | #6 |
Connoisseur
Posts: 73
Karma: 87474
Join Date: Jul 2011
Location: Budapest, Hungary
Device: Android tablet
|
Now, unfortunately, the Contents problem has sorted out, but a fresh one has cropped up. The file gets an error that says "ERROR: Unable to process encrypted EPUB".
I presume this is a problem either with InDesign implementing DRM unexpectedly, or with embedded fonts, which seem to cause the same error elsewhere. Does anyone have any ideas or suggestions on how to fix this error? Thanks! |
08-02-2016, 12:30 PM | #7 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
This could very well be related to embedded fonts. I seem to recall that if you embed fonts with ID that you need to specify that you do not want to encrypt fonts.
|
08-02-2016, 12:47 PM | #8 |
Sigil Developer
Posts: 7,647
Karma: 5433388
Join Date: Nov 2009
Device: many
|
The unique id is used to encode/decode embedded fonts. Two different font encryption approaches exist (one Adobe's and one Idpf) and exactly how they encrypt/decrypt and exactly what part of the unique id string they use also seems to be not well specified so there are variations on that as well.
For Adobe's version I would remove the "urn:uuid:" prefix from the unique id in the content.opf and the toc.ncx (making sure they match) as I think only the uuid part is used. For idpf, they use whatever is provided in that unique id , leading to font encryption vs decryption issues depending on how these routines were implemented across devices. Hope something here helps. KevinH Last edited by KevinH; 08-04-2016 at 09:41 AM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ePub created with Sigil : empty when loaded with Calibre | jpomart | Calibre | 12 | 12-12-2015 01:48 PM |
Epub file readers to test the created epub file. | kalees | ePub | 1 | 01-21-2014 03:25 AM |
epub created with Sigil invisible on iTunes | IAmGrammy | Apple Devices | 6 | 11-01-2013 06:13 PM |
Sony PRS T-1 won't open epub created from zip file | steinarb | Conversion | 10 | 11-09-2012 08:18 AM |
Errors in ePub Created in Sigil | FlooseMan Dave | Sigil | 12 | 08-25-2010 08:01 PM |