Thread: KFX Format
View Single Post
Old 05-25-2017, 07:21 PM   #602
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 Hitch View Post
The worst part is, as it is right now, you can test a book with KP3.10 or 11 or whatever it is, and if it passes, great. But if it doesn't, there's ZERO indication about WHY it did not pass or wasn't compatible, or whatever. I've got one right now--didn't show up as compatible. I have ZERO idea why. I've checked all the documented "not compatible" CSS and HTML, and we're not using any of it.
Kindle Previewer 3 invokes a conversion routine (KFXGenApp) to turn the source file into KPF format, a variant of KFX. This converter produces a lengthy set of log files containing obscure, but sometimes informative, error messages. These logs are not presented by the Previewer. I assume that Amazon felt that they would be too technical for the typical user and didn't want to deal with the support questions that would occur. Some examples of typical error messages are:

Error(YJEpubAdapter):E00403: "Unsupported Transformer for tag : TagName= span Display= inline-block ParentNode= p in file ..\html\09_c3.xhtml at line number 13";

Error(YJConvValidator):E120024: Negative margin for table is not supported.Table Type=DATA_TABLE, PropertyKey=margin_bottom, PropertyValue=decimal:-0.1191 lh

Error(YJConvValidator):E120022: Large Data Table not supported.No. of characters=0, No. of rows=1, No. of cells=6

Error(YJEpubAdapter):E00107: Found an unsupported property value {td}{amzn-src-id=2541, amzn-node-id=468}{padding-top=0.3em, padding-left=0.3em, display=table-cell, vertical-align=baseline, padding-bottom=0.3em, font-size=0.800000011920929em, line-height=1.2em, outline-width=0px, padding-right=0.3em, text-align=left} in file ..\ch02.html at line number 267


My KFX Output plugin for calibre invokes the Previewer's KFXGenApp, preserves the logs, and presents the final error message if one occurs. You may want to consider giving that a try. It has a command line interface that allows it to be used outside of the calibre GUI.
jhowell is offline   Reply With Quote