|
|
Thread Tools | Search this Thread |
04-28-2013, 03:50 PM | #1 |
Enthusiast
Posts: 36
Karma: 10
Join Date: Apr 2013
Device: ipad
|
How to fix this error? " the id in the spine does not match any item in the manifest"
I'm trying to convert my epub to the kindle format using Kindle Preview. I've triple checked the manifest and everything matches up. any idea what might be happening?
|
04-28-2013, 05:25 PM | #2 |
Resident Curmudgeon
Posts: 76,055
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Please post your OPF file so someone can have a look at it.
|
Advert | |
|
04-28-2013, 06:03 PM | #3 |
Grand Sorcerer
Posts: 27,971
Karma: 198535232
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quite simply: one of the itemrefs in the spine section of your opf file has an idref attribute that doesn't match the id attribute of any of the items in the manifest section. Flightcrew or epubcheck might give you a better hint about where, exactly, the problem area is, if you're having trouble spotting it.
|
04-29-2013, 08:29 AM | #4 |
Enthusiast
Posts: 36
Karma: 10
Join Date: Apr 2013
Device: ipad
|
here is the opf. still can't find any disagreeing info
Spoiler:
Last edited by pdurrant; 04-29-2013 at 09:07 AM. |
04-29-2013, 11:19 AM | #5 |
Digital Amanuensis
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
Your CSS items are not closed:
Code:
<item id="covercss" href="css/cover.css" media-type="text/css"> <item id="css1" href="css/page1.css" media-type="text/css"> <item id="css2" href="css/page2.css" media-type="text/css"> <item id="css3" href="css/page3.css" media-type="text/css"> Code:
<item id="covercss" href="css/cover.css" media-type="text/css"/> <item id="css1" href="css/page1.css" media-type="text/css"/> <item id="css2" href="css/page2.css" media-type="text/css"/> <item id="css3" href="css/page3.css" media-type="text/css"/> |
Advert | |
|
04-29-2013, 12:06 PM | #6 |
Digital Amanuensis
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
I confirm, open <item>'s reproduce exactly "Error(opfparser):E20004: the id in the spine does not match any item in the manifest" error.
BTW, before running kindlegen, validate your EPUB file with EpubCheck and/or FlightCrew (if EPUB 2). |
04-29-2013, 04:03 PM | #7 |
Enthusiast
Posts: 36
Karma: 10
Join Date: Apr 2013
Device: ipad
|
Thanks so much! I can't believe I missed that. I changed it, and tried again to convert it, but this time I got different errors which I can't make sense of. I pasted the errors below. It seems like something is searching for my files in a completely wrong folder?
Info(prcgen):I1047: Added metadata dc:Creator "Daryl Alexy" Info(prcgen):I1047: Added metadata dc:Publisher "PUBLISHER NAME" Info(prcgen):I1047: Added metadata fixed-layout "true" Info(prcgen):I1047: Added metadata orientation-lock "landscape" Info(prcgen):I1047: Added metadata original-resolution "600x1024" Info(prcgen):I1047: Added metadata zero-gutter "true" Info(prcgen):I1047: Added metadata zero-margin "true" Info(prcgen):I1047: Added metadata dc:Subject "ENTER LIBRARY OF CONGRESS HEADINGS HERE" Info(prcgen):I1047: Added metadata dc:Rights "Copyright 2013 - All Rights Reserved" Info(prcgen):I1047: Added metadata dc:Type "FICTION/Children's/humor/illustrated." Info(prcgen):I1047: Added metadata dcescription "ENTER BOOK BLURB HERE" Info(prcgen):I1002: Parsing files 0000004 Info(prcgen):I1003: Parsing file URL: cover.html Warning(prcgen):W14010: media file not found C:\Users\STUMPY~1\AppData\Local\Temp\mbp_7DD_4_1D_ 15_3A_2F_174_DC4_165C_1\html\images\cover.jpg Info(cssparser):I10005: CSS file not found "C:\Users\STUMPY~1\AppData\Local\Temp\mbp_7DD_4_1D _15_3A_2F_174_DC4_165C_1\html\css\cover.css" Info(prcgen):I1003: Parsing file URL: page1.html Info(cssparser):I10005: CSS file not found "C:\Users\STUMPY~1\AppData\Local\Temp\mbp_7DD_4_1D _15_3A_2F_174_DC4_165C_1\html\css\page1.css" Info(prcgen):I1003: Parsing file URL: page2.html Info(cssparser):I10005: CSS file not found "C:\Users\STUMPY~1\AppData\Local\Temp\mbp_7DD_4_1D _15_3A_2F_174_DC4_165C_1\html\css\page2.css" Info(prcgen):I1003: Parsing file URL: page3.html Warning(prcgen):W14010: media file not found C:\Users\STUMPY~1\AppData\Local\Temp\mbp_7DD_4_1D_ 15_3A_2F_174_DC4_165C_1\html\images\page3.jpg Info(cssparser):I10005: CSS file not found "C:\Users\STUMPY~1\AppData\Local\Temp\mbp_7DD_4_1D _15_3A_2F_174_DC4_165C_1\html\css\page3.css" Info(prcgen):I1016: Building enhanced PRC file Info(prcgen):I1015: Building PRC file Info(prcgen):I1049: Building table of content URL: C:\Users\STUMPY~1\AppData\Local\Temp\mbp_7DD_4_1D_ 15_3A_2F_174_DC4_165C_1\toc.ncx Error(prcgen):E24010: Hyperlink not resolved in toc (One possible reason can be that the link points to a tag with style display:none):C:\Users\STUMPY~1\AppData\Local\Temp \mbp_7DD_4_1D_15_3A_2F_174_DC4_165C_1\html\page01. html# Error(prcgen):E24001: The table of content could not be built. |
04-29-2013, 04:26 PM | #8 |
Grand Sorcerer
Posts: 27,971
Karma: 198535232
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Sounds like a structural issue. All those hrefs in the OPF file need to be relative to the OPF file in the epub's directory structure. And the file/folder names are case-sensitive. Make sure your folders are names 'html', 'css', images', etc. and not 'Html', 'Css' and 'Images'.
According to your OPF, your epub is constructed as follows (strictly from the perspective of the OPF file): css/ cover.css html/page1.css page2.css page3.css cover.html images/page1.html page2.html page3.css cover.jpg fonts/page1.jpg page2.jpg page3.jpg Booter_5-0.ttf toc.ncxcontent.opf You really should consider using an ePub validator before tossing one into Kindle Previewer. |
04-30-2013, 05:59 AM | #9 |
Digital Amanuensis
Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
I agree with DiapDealer.
1) You need to check your ebook directory hierarchy, and make sure that the references to resources (like images referenced by XHTML pages) are relative; 2) Before attempting converting to Kindle format, use an EPUB validator, which --- in case --- will give you better error/warning messages than kindlegen/Kindle Preview. |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What does properties="svg" on an <item> element in the manifest mean? | rtmyers | ePub | 0 | 12-14-2012 06:37 AM |
Try to remove : This item was downloaded by caliber from .... and "Section Menu", "Ma | poulardalber | Recipes | 4 | 08-21-2012 05:23 AM |
Validation issues: spine and manifest | Daaf | Sigil | 17 | 06-13-2012 06:07 PM |
"ELF binary type "0" not known" Error. When run Kindlegen | chovan | Amazon Kindle | 4 | 02-09-2012 11:49 AM |
Any way to create a "toc" guide item when converting HTML to MOBI? | DMSmillie | Calibre | 2 | 12-16-2010 06:47 PM |