![]() |
#1 | ||
Member
![]() Posts: 13
Karma: 10
Join Date: Nov 2011
Device: Kindle
|
TOC scope error when using Kindlegen
Current, I'm trying to fix an error that continues to pop up on various EPUBs that come back from conversion.
This error is as follows: Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#2 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,746
Karma: 134321338
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Before you try to convert this epub using Kindlegen, run it through epubcheck to make sure it's valid code.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 13
Karma: 10
Join Date: Nov 2011
Device: Kindle
|
It validates properly, except for the template fallback error bug that occurs in epubcheck 3.0.1. But nothing else.
This error is what is the bug: OEBPS/Text/cover.xhtml(9,105): non-standard stylesheet resource 'OEBPS/Misc/page-template.xpgt' of type 'application/vnd.adobe-page-template+xml'. A fallback must be specified. Which is set in the epub: <item href="Misc/page-template.xpgt" id="page" media-type="application/vnd.adobe-page-template+xml" /> |
![]() |
![]() |
![]() |
#4 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,473
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
And WHY am I so up on this? Becuase a client of mine, TODAY, came in with 40 freaking ePUBs, that we've made for them, since 2009, and--as he waited all this time, before uploading to iTunes, wants them FIXED. 40 of them. For hells' sake. Hitch |
|
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 13
Karma: 10
Join Date: Nov 2011
Device: Kindle
|
iTunes will not detect that error actually. In fact all partners somewhat don't detect that error. (maybe some I'm not aware of)
I pulled the template for Adobe, and that didn't solve me error. There is an addition error I didn't include on the Kindlegen log: ):W30001: An overlapping subsequent nav point found for the nav point: "INDEX" Error(prcgen):E24011: TOC section scope is not included in the parent chapter:Title Page But I can't see what's wrong with the overlap. |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,746
Karma: 134321338
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#7 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,473
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
FWIW. @Wolfie: I may yet love you. Hitch |
|
![]() |
![]() |
![]() |
#8 |
Member
![]() Posts: 13
Karma: 10
Join Date: Nov 2011
Device: Kindle
|
To make sure the warning itself wasn't causing this issue, I renamed all the TOC entries to be unique.
Still the TOC scope error appears. I also removed the anchors just to see if that did anything, but that didn't work either. I'm unable to find anything that validates this as well. |
![]() |
![]() |
![]() |
#9 |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,473
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
|
![]() |
![]() |
![]() |
#10 |
Member
![]() Posts: 13
Karma: 10
Join Date: Nov 2011
Device: Kindle
|
I meant the NCX in terms of nesting. If there was any kind of tool to validate to see if there is some extra, or missing code.
|
![]() |
![]() |
![]() |
#11 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,635
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Simply create a blank XML/XHTML document with XML Copy Editor, paste the contents of the NCX file into it and press F2 to check the NCX file for well-formedness. |
|
![]() |
![]() |
![]() |
#12 | |
Member
![]() Posts: 13
Karma: 10
Join Date: Nov 2011
Device: Kindle
|
Quote:
So now...I'm stumped. |
|
![]() |
![]() |
![]() |
#13 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 398
Karma: 96448
Join Date: Dec 2013
Device: iPad
|
Doesn't Calibre's "Check Book" function give you an error?
|
![]() |
![]() |
![]() |
#14 |
Member
![]() Posts: 13
Karma: 10
Join Date: Nov 2011
Device: Kindle
|
|
![]() |
![]() |
![]() |
#15 |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,473
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Well, then...
And I hate to say this, but what you have to do now is work your way OUT. That's what we do here--bracket navigation for errors like this. You need to start with the innermost ncx elements (yes--I understand you have three nested sections, this is a boxed-set, right? Or something spiritually akin?), and work outwards, building each one. Start with, say, what appears to be book 1--start with play orders 6-7, build that, and see if it validates (obviously, it will, but skipping steps = bad). Then add play order 5. See if you get the error when you add 5 (I think you might). If you don't, add 4, repeat, then 3. By the time you have added 3, I think you'll have replicated the error. It's a long, tedious process, but I don't see another way around it. I suspect that the glitch is either in 3 + 5, or 5 + 6. Something about this is ringing a very, very distant bell, from back in the MOBIPOCKET days, in building PRC's, but I can't quite pull it from the recesses of my brain. (Sorry about that, but it had to be at least 4 years ago, which is 3 millennium in eBook terms, obviously.) Also--can you post your GUIDE, in toto, please? Is there any chance you inadvertently duplicated Guide elements, like text or toc? That's my best advice, and it's what we would do, here. FWIW. Hitch |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
KindleGen error message: E1003 Unknown error in class String. | Doitsu | Kindle Formats | 1 | 06-25-2014 12:29 PM |
toc.ncx okay in calibre, missing after kindlegen...? | GeoffRussell | Kindle Formats | 2 | 01-31-2014 04:10 PM |
Creating an HTML TOC for kindlegen | MrB | Kindle Formats | 2 | 10-28-2012 02:53 PM |
kindlegen epub to mobi - TOC intention level incorrect | vogella | Kindle Formats | 3 | 11-04-2011 04:02 AM |
Troubleshooting TOC fails in Kindlegen 1.1, not Kindlegen 1.0 | cyberbaffled | Amazon Kindle | 3 | 12-25-2010 05:21 PM |