Bookshelf | Reports | Community | KDP Select

Home » Amazon KDP Support » Ask the Community » Formatting

Thread: Kindle Previewer 3 Book Conversion Failed


This question is answered.

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 10 - Pages: 1 - Last Post: Dec 11, 2017 5:53 AM Last Post By: jackibar
jackibar

Posts: 59
Registered: 10/28/10
Kindle Previewer 3 Book Conversion Failed
Posted: Dec 5, 2017 12:42 PM
 
Click to report abuse...   Click to reply to this thread Reply
It's been a while since I've updated or published any Kindle books and the last time I did I used the older Kindle Previewer which no longer seems to be working! I just tried to upload my corrected book with the newest version of Kindle Previewer 3 but it fails with errors such as:

Warning(inputpreprocessor):W29008: Tag rejected due to improper usage: </mbp:pagebreak>
in file: /private/var/folders/gw/p5v1rjqs00b8jcwc1bnsdqh40000gn/T/grJT8m/conv_tmp/

and:

Info(prcgen):I1049: Building table of content URL: /private/var/folders/gw/p5v1rjqs00b8jcwc1bnsdqh40000gn/T/grJT8m/conv_tmp/pEpubOut/extractedEpub/xml/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):/private/var/folders/gw/p5v1rjqs00b8jcwc1bnsdqh40000gn/T/grJT8m/conv_tmp/pEpubOut/extractedEpub/xml/Text/TOC.xhtml#
Error(prcgen):E24001: The table of content could not be built.

I have no idea what this means or what I need to do so the book will compile properly again. Can someone help me?! If there's a tutorial somewhere on the changes, that would be great too.

Thanks so much,

Jacki

cub06h

Posts: 3,199
Registered: 11/23/07
Re: Kindle Previewer 3 Book Conversion Failed
Posted: Dec 5, 2017 1:48 PM   in response to: jackibar in response to: jackibar
 
Click to report abuse...   Click to reply to this thread Reply
Upload your book to the KDP and see how it goes.

If it fails, tell us what format you are using, how you built the ebook, and any other pertinent stuff.
writerbn

Posts: 5,652
Registered: 05/12/12
Re: Kindle Previewer 3 Book Conversion Failed
Posted: Dec 5, 2017 2:02 PM   in response to: jackibar in response to: jackibar
 
Click to report abuse...   Click to reply to this thread Reply
You have a bad link in your Table of Contents. As Notjohn said, post some more details about the file type, how it was built, etc.

Note that you don't have to do any conversion to .mobi in order to publish on KDP. Validated ePub files will work just fine. Word docs are acceptable, too, if they're formatted correctly.
jackibar

Posts: 59
Registered: 10/28/10
Re: Kindle Previewer 3 Book Conversion Failed
Posted: Dec 5, 2017 2:09 PM   in response to: cub06h in response to: cub06h
 
Click to report abuse...   Click to reply to this thread Reply
I can't upload it at this point. I've always used manually coded text files - html, ncx, opf - then compile it into a mobi using Kindle Previewer, then upload the mobi to KDP. It's no longer working though and I don't know the best way to do this at this point! I have the separate book files but can't get them to compile.
booknookbiz

Posts: 4,211
Registered: 03/04/10
Re: Kindle Previewer 3 Book Conversion Failed
Posted: Dec 5, 2017 2:38 PM   in response to: jackibar in response to: jackibar
Helpful
Click to report abuse...   Click to reply to this thread Reply
jackibar wrote:
I can't upload it at this point. I've always used manually coded text files - html, ncx, opf - then compile it into a mobi using Kindle Previewer, then upload the mobi to KDP. It's no longer working though and I don't know the best way to do this at this point! I have the separate book files but can't get them to compile.

You're using the old mpb pagebreak coding, for page-breaks before, and that dog don't hunt, as they say. You need to remove or replace that.

In the TOC, you have a bad link. Just go through and check all the links in your toc.html and your NCX, just to be on the safe side.

Were I you, I'd slap that HTML into Sigil. It'll pull in the files you crafted by hand, and then you can check it using Sigil's built-in tools. That way you can narrow down the drama. You know?

Hitch
We produce eBooks
An Amazon Professional Conversion Service : http://amzn.to/29pWZSg
www.Booknook.Biz

jackibar

Posts: 59
Registered: 10/28/10
Re: Kindle Previewer 3 Book Conversion Failed
Posted: Dec 5, 2017 4:44 PM   in response to: booknookbiz in response to: booknookbiz
 
Click to report abuse...   Click to reply to this thread Reply
Thanks for the info! What is the new code for page breaks? I hate to start over on this because I literally just added three names to the Dedication and the rest of the book is the same as what's currently on Amazon...
booknookbiz

Posts: 4,211
Registered: 03/04/10
Re: Kindle Previewer 3 Book Conversion Failed
Posted: Dec 5, 2017 5:19 PM   in response to: jackibar in response to: jackibar
Helpful
Click to report abuse...   Click to reply to this thread Reply
jackibar wrote:
Thanks for the info! What is the new code for page breaks? I hate to start over on this because I literally just added three names to the Dedication and the rest of the book is the same as what's currently on Amazon...

I'm using CSS for it, instead, Jackie. page-break-before. That's what we do.

Hitch
We produce eBooks
An Amazon eBook Conversion service : http://amzn.to/29pWZSg
www.Booknook.Biz
jackibar

Posts: 59
Registered: 10/28/10
Re: Kindle Previewer 3 Book Conversion Failed
Posted: Dec 7, 2017 9:22 AM   in response to: booknookbiz in response to: booknookbiz
 
Click to report abuse...   Click to reply to this thread Reply
Okay, I'm trying to switch to page-break-before but not sure how this works with code such as what I have now is:

<mbp:pagebreak/>


a name="introduction2"

h2 INTRODUCTION TO THE 1993 EDITION h2

Will putting page-break-before in my H2 tags cause the indexing not to work right since the a tag is just before my h2 tag? I mean will it separate the two?

Or is there a way to manually encode it as a style just exactly where you want it (within the h2 tags or whatever tag it happens to be)?

Edited by: jackibar on Dec 7, 2017 9:26 AM

writerbn

Posts: 5,652
Registered: 05/12/12
Re: Kindle Previewer 3 Book Conversion Failed
Posted: Dec 7, 2017 12:00 PM   in response to: jackibar in response to: jackibar
Correct
Click to report abuse...   Click to reply to this thread Reply
jackibar wrote:
Will putting page-break-before in my H2 tags cause the indexing not to work right since the a tag is just before my h2 tag? I mean will it separate the two?

Or is there a way to manually encode it as a style just exactly where you want it (within the h2 tags or whatever tag it happens to be)?


Don't mix style elements with HTML tags. Instead, define a class for your heading, and incorporate the page-break-before attribute into the CSS for that class.

So, for example, your master stylesheet might have something like:

h2.special {
page-break-before: always;
font-weight: bold;
font-size:125%;
margin-top:1em;
margin-bottom:1em;
}

Personally, I avoid using page-break altogether. I simply put each chapter in its own HTML file within the ePub, and the "pages" break exactly as they should.
booknookbiz

Posts: 4,211
Registered: 03/04/10
Re: Kindle Previewer 3 Book Conversion Failed
Posted: Dec 7, 2017 2:08 PM   in response to: writerbn in response to: writerbn
 
Click to report abuse...   Click to reply to this thread Reply
writerbn wrote:
jackibar wrote:
Will putting page-break-before in my H2 tags cause the indexing not to work right since the a tag is just before my h2 tag? I mean will it separate the two?

Or is there a way to manually encode it as a style just exactly where you want it (within the h2 tags or whatever tag it happens to be)?

Don't mix style elements with HTML tags. Instead, define a class for your heading, and incorporate the page-break-before attribute into the CSS for that class.

So, for example, your master stylesheet might have something like:

h2.special {
page-break-before: always;
font-weight: bold;
font-size:125%;
margin-top:1em;
margin-bottom:1em;
}

Personally, I avoid using page-break altogether. I simply put each chapter in its own HTML file within the ePub, and the "pages" break exactly as they should.

Yes, what @writerbn said. We also do the same thing--each section or chapter is in its own XHTML file. The creates the illusion of a new page, (and for the HTML renderer, too), which enables some nicer chapter heads than you can get if you have a single HTML file.

Sorry, Jackibar, I didn't realize you were using a single HTML file. The page-break-before: always goes in the CSS for the chapter head, it's not used separately, IN the HTML.

Thanks,
Hitch
We produce ebooks
An Amazon Professional Conversion Service : http://amzn.to/29pWZSg
www.Booknook.Biz

jackibar

Posts: 59
Registered: 10/28/10
Re: Kindle Previewer 3 Book Conversion Failed
Posted: Dec 11, 2017 5:53 AM   in response to: jackibar in response to: jackibar
 
Click to report abuse...   Click to reply to this thread Reply
Thanks so much, everyone! I was able to get it fixed for now. From here on out, I will use a different method since things have changed so much, but I just needed to get this simple change in there quickly for now!
Legend
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums