View Single Post
Old 08-04-2017, 10:49 AM   #31
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,121
Karma: 92500001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by Carbonman View Post
I have. It did not work.

Its parting message was "MOBI cannot be generated because of errors", which I did not find even slightly useful.
You need to look back in the kindlegen log for messages that start with "Error". For example see this log from converting a book with a reference to a non-existent HTML document in the NCX:

Spoiler:

Info(prcgen):I1047: Added metadata dc:Title "Common Sense"
Info(prcgen):I1047: Added metadata dc:Date "1994-07-01"
Info(prcgen):I1047: Added metadata dc:Creator "Thomas Paine"
Info(prcgen):I1047: Added metadata dc:Subject "United States -- Politics and government -- 1775-1783"
Info(prcgen):I1047: Added metadata dc:Subject "Political science -- Early works to 1800"
Info(prcgen):I1047: Added metadata dc:Subject "Monarchy -- Early works to 1800"
Info(prcgen):I1047: Added metadata dc:Rights "Public domain in the USA."
Info(prcgen):I1047: Added metadata dc:Source "http://www.gutenberg.org/files/147/147-h/147-h.htm"
Info(prcgen):I1052: Kindle support cover images but does not support cover HTML. Hence using the cover image specified and suppressing cover HTML in content. URL: C:\Users\John\AppData\Local\Temp\mbp_7E1_8_4_A_2E_ 30_28F_7BC_448C_1\OEBPS\wrap0000.html
Info(prcgen):I1002: Parsing files 0000003
Info(prcgen):I1015: Building PRC file
Info(prcgen):I1006: Resolving hyperlinks
Info(prcgen):I1049: Building table of content URL: C:\Users\John\AppData\Local\Temp\mbp_7E1_8_4_A_2E_ 30_28F_7BC_448C_1\OEBPS\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\John\AppData\Local\Temp\mbp _7E1_8_4_A_2E_30_28F_7BC_448C_1\OEBPS\@public@vhos t@g@gutenberg@html@files@147@147-h@147-h-9.htm.html#pgepubid00000
Error(prcgen):E24001: The table of content could not be built.
Info(prcgen):I1016: Building enhanced PRC file
Info(prcgen):I1007: Resolving mediaidlinks
Info(prcgen):I1011: Writing mediaidlinks
Info(prcgen):I1009: Resolving guide items
Info(prcgen):I1038: MOBI file could not be generated because of errors!
jhowell is online now   Reply With Quote