Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 06-25-2025, 01:14 AM   #1651
tomsem
Grand Sorcerer
tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.
 
Posts: 7,111
Karma: 28000001
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
I believe it is table of contents is too large. If you load your ePub into Kindle Previewer directly you should get the same error, since that is what KFX Output is using.

And Send To Kindle will likely fail for the same reason, I think the conversion code is similar if not identical. I had it fail with an omnibus 'collected works' with something like 1800 entries in it.
tomsem is offline   Reply With Quote
Old 06-25-2025, 08:26 AM   #1652
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 81,827
Karma: 150266009
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
The error message is pretty specific. You have a table with more than 1800 cells. You need to split that table in two so there are less then 1800 cells in each table.
JSWolf is online now   Reply With Quote
Advert
Old 06-25-2025, 09:35 AM   #1653
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,234
Karma: 95000001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
The table of contents is not a “table” in the sense meant by this error message. It is referring to an HTML table.

You may be able to locate the large table and manually split it into smaller ones using calibre’s editor, but that will require knowledge of HTML to accomplish.

If you are not up to doing that I suggest converting this book to AZW3 instead of KFX.
jhowell is offline   Reply With Quote
Old 06-25-2025, 11:08 PM   #1654
beatlesfan5858
Junior Member
beatlesfan5858 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2025
Device: Kindle
Quote:
Originally Posted by jhowell View Post
The table of contents is not a “table” in the sense meant by this error message. It is referring to an HTML table.

You may be able to locate the large table and manually split it into smaller ones using calibre’s editor, but that will require knowledge of HTML to accomplish.

If you are not up to doing that I suggest converting this book to AZW3 instead of KFX.
Thanks. I don't know how to split my book into a smaller HTML tables. How would I go about doing this? Is there an easy way I can do it within Calibre?
beatlesfan5858 is offline   Reply With Quote
Old 06-26-2025, 12:17 AM   #1655
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,436
Karma: 62503914
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by beatlesfan5858 View Post
Thanks. I don't know how to split my book into a smaller HTML tables. How would I go about doing this? Is there an easy way I can do it within Calibre?
Easy? For me or anyone knowing HTML, yes, using the (calibre) Editor

The most difficult bit is finding a logical spot to break a huge table into 2 or more parts

A Table starts with a <table> tag
and ends with </table>

Look at any Calibre Generated Jacket's code for a simple use example

In your case, you probably want to duplicate the column headers at each split
theducks is online now   Reply With Quote
Advert
Old 07-07-2025, 06:04 PM   #1656
dendron
Junior Member
dendron began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2016
Device: Kindle PW5, PW2
Quote:
Originally Posted by jhowell View Post
I am curious about what is present in those books leading to them being rejected by the Kindle Previewer. I will look into the root cause if you either post an EPUB with copyrighted content removed using the ScrambleEbook plugin or PM me a link to an original file that produces this error. (I understand if you are not interested in tasking this any further.)
I ran into the same problem as DoctorOhh.

Trying to open the EPUB in Kindle Previewer (v3.96.0) or to convert it into KFX using the plugin yields this error message:
Code:
E21018: Enhanced Mobi building failure, while parsing content in the file. Content: <img> in file: OEBPS\chapter.xhtml line: 267
It is rather weird because the lines that are referenced do not even contain an <img> element.

I will attach the scrambled EPUB for further investigation.
Attached Files
File Type: epub scrambled.epub (3.54 MB, 40 views)

Last edited by dendron; 07-07-2025 at 06:07 PM.
dendron is offline   Reply With Quote
Old 07-07-2025, 07:47 PM   #1657
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,436
Karma: 62503914
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
That book page (chapter) has an insane number of stylesheets.
I am not even sure I could do a trace to figure which one really had control.

Error line #'s are when the error became obvious and can be way down the line from the opening tag (eg You are closing a nest of tags with on inside still open)
theducks is online now   Reply With Quote
Old 07-08-2025, 03:35 PM   #1658
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,234
Karma: 95000001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by dendron View Post
I ran into the same problem as DoctorOhh.
...
I will attach the scrambled EPUB for further investigation.
Thank you for posting that.

Quote:
Originally Posted by dendron View Post
Trying to open the EPUB in Kindle Previewer (v3.96.0) or to convert it into KFX using the plugin yields this error message:
Code:
E21018: Enhanced Mobi building failure, while parsing content in the file. Content: <img> in file: OEBPS\chapter.xhtml line: 267
It is rather weird because the lines that are referenced do not even contain an <img> element.
I was able to find the cause of the problem. It is actually on line 270, not on line 267 as indicated in the error message.

It appears that the existence of "&gt;" (a greater than character) in the "alt" attribute of an img element triggers a conversion failure in Amazon's kindlegen, which is used by the Kindle Previewer as part of the process of converting to KFX format.

The next release of the KFX Output plugin will remove those characters from image alt text prior to conversion in order to avoid this problem.
jhowell is offline   Reply With Quote
Old 07-08-2025, 07:18 PM   #1659
Drybonz
Connoisseur
Drybonz began at the beginning.
 
Posts: 93
Karma: 10
Join Date: Apr 2010
Device: iPad, Kindle Scribe 2024
What is the "no body tag" error when converting? Is there a way to get this conversion to finish?

calibre, version 8.5.0
ERROR: KFX conversion failed:
Cannot convert
Conversion error: E19001: No BODY tag found in content file.

Last edited by Drybonz; 07-08-2025 at 07:21 PM.
Drybonz is offline   Reply With Quote
Old 07-09-2025, 07:34 AM   #1660
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,234
Karma: 95000001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by Drybonz View Post
What is the "no body tag" error when converting? Is there a way to get this conversion to finish?
I have not seen that error and do not know what could be causing it for you.

If you post a scrambled version of the book you are trying to convert I will take a look at it and try to determine the cause of the failure.
jhowell is offline   Reply With Quote
Old 07-09-2025, 10:09 AM   #1661
Drybonz
Connoisseur
Drybonz began at the beginning.
 
Posts: 93
Karma: 10
Join Date: Apr 2010
Device: iPad, Kindle Scribe 2024
Quote:
Originally Posted by jhowell View Post
If you post a scrambled version of the book you are trying to convert I will take a look at it and try to determine the cause of the failure.
Thank you for that. I tried the scrambler and couldn't remove certain elements of the book so that it felt completely obscured to me, so I decided not to post it, but thanks again for your help.
Drybonz is offline   Reply With Quote
Old 07-10-2025, 06:44 AM   #1662
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 81,827
Karma: 150266009
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Drybonz View Post
Thank you for that. I tried the scrambler and couldn't remove certain elements of the book so that it felt completely obscured to me, so I decided not to post it, but thanks again for your help.
You don't need to remove anything as we cannot tell what the original was.
JSWolf is online now   Reply With Quote
Old 07-12-2025, 08:18 PM   #1663
JBaby
Addict
JBaby ought to be getting tired of karma fortunes by now.JBaby ought to be getting tired of karma fortunes by now.JBaby ought to be getting tired of karma fortunes by now.JBaby ought to be getting tired of karma fortunes by now.JBaby ought to be getting tired of karma fortunes by now.JBaby ought to be getting tired of karma fortunes by now.JBaby ought to be getting tired of karma fortunes by now.JBaby ought to be getting tired of karma fortunes by now.JBaby ought to be getting tired of karma fortunes by now.JBaby ought to be getting tired of karma fortunes by now.JBaby ought to be getting tired of karma fortunes by now.
 
JBaby's Avatar
 
Posts: 251
Karma: 3755662
Join Date: May 2013
Location: Parsons, KS
Device: 1st Gen Colorsoft SE, 2024 11” M4 iPad Pro & iPhone 15 Pro Max
[Conversion Output] KFX Output

How do I get the make EBOK checkbox stay checked? Now I have to click it for every book and it’s slowing my progress. I never want PDOC because I want Goodreads integration.

I’m an idiot. I didn’t go to Preferences > Output Options.

Last edited by JBaby; 07-12-2025 at 08:20 PM.
JBaby is offline   Reply With Quote
Old 07-13-2025, 08:32 AM   #1664
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,234
Karma: 95000001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Version 2.16.0 - 13 Jul 2025

Detect Kindle Previewer versions up to 3.96.0.

Prevent conversion failure in cases where image alt text contains a greater-than character. (Fixes "E21018: Enhanced Mobi building failure, while parsing content in the file. Content: <img> in file ...")
jhowell is offline   Reply With Quote
Old 07-24-2025, 08:45 PM   #1665
jacobp
Junior Member
jacobp began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2025
Device: Kindle scribe
Thanks for this plugin jwhowell. I'm having issues updating the cover of my PDOC kfx kindle documents. Some context:

I make an exact replica kindle create, import my pdf, preserve links, and export as a kpf. I then convert to kfx with `calibre-debug -r "KFX Output" -- -p 0 "book.kpf"`. Within Calibre, I have the kfx output plugin installed with the 'Enable updating of all KFX metadata` option enabled, along with the included KFX metadata plugin enabled. However, when I send the book to the kindle with the proper cover in the calibre book metadata, the kindle shows the first page of the book as the cover. I've tried resending it, waiting a while, and playing around with the metadata within Calibre but no luck.

If anyone could help me out with this I would appreciate it. Thanks.
jacobp is offline   Reply With Quote
Reply

Tags
kfx, linux, wine


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Conversion Output] KePub Output Plugin jgoguen Plugins 588 03-28-2025 03:26 PM
Conversion output plugins? jgoguen Development 14 08-10-2013 12:19 PM
Output file name after conversion dbellefuil Calibre 2 06-14-2013 05:40 PM
catalogue builder output columns are not in the same order in the output KWhytte Library Management 5 12-04-2012 03:03 AM
Conversion output folders TechieLady Conversion 6 01-19-2012 03:49 AM


All times are GMT -4. The time now is 04:18 PM.


MobileRead.com is a privately owned, operated and funded community.