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 04-29-2020, 03:01 AM   #826
hengyu
Connoisseur
hengyu began at the beginning.
 
Posts: 57
Karma: 10
Join Date: Aug 2016
Device: Kobo Libra Colour
Hi, I've got an Ebook made from a website with Chrome's plugin EpubPress.

The .epub looks properly formatted and all that but I get a generic error when trying to convert to .kfx, and it's general enough that I'm not sure where to start debugging. Any thoughts?

Quote:
Kindle conversion has encountered an internal error while enabling Enhanced Typesetting on this book. We apologize for the inconvenience caused

Edit: Looks like Kindle Previewer can provide a conversion log to see what's wrong, I'll start from there

Last edited by hengyu; 04-29-2020 at 03:32 AM.
hengyu is offline   Reply With Quote
Old 04-29-2020, 08:42 AM   #827
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,055
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by hengyu View Post
The .epub looks properly formatted and all that but I get a generic error when trying to convert to .kfx, and it's general enough that I'm not sure where to start debugging. Any thoughts?
Tracking down the cause of Kindle Previewer conversion failures can be difficult and time consuming. My best advice, from the first post in this thread under Dealing with Conversion Errors is:

When Previewer errors occur it can be a tedious trial-and-error process to get a book to convert to KFX. One procedure is to use the calibre editor to selectively remove pieces of the source book until conversion is successful. This will narrow down what part of the book is causing the Previewer failure.

Quote:
Originally Posted by hengyu View Post
Edit: Looks like Kindle Previewer can provide a conversion log to see what's wrong, I'll start from there
This plugin should report everything that the Kindle Previewer provides in the calibre conversion log. If you find any useful information elsewhere I would be interested to find out about it so that I can improve this plugin.

Good luck.
jhowell is offline   Reply With Quote
Old 04-29-2020, 07:05 PM   #828
pipja
Junior Member
pipja began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Apr 2020
Device: iphone8+
Unhappy How do I enable Enhanced Typesetting in my Epub book?

Here is the conversion error:
{"title": "KFX conversion failed", "msg": "<b>Cannot convert Test Book</b><br><br><b>Conversion error:</b> Enhanced Typesetting not supported for this book", "det_msg": "", "level": "error"} (Error Code: 1)
pipja is offline   Reply With Quote
Old 04-29-2020, 07:17 PM   #829
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,055
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by pipja View Post
Here is the conversion error:
{"title": "KFX conversion failed", "msg": "<b>Cannot convert Test Book</b><br><br><b>Conversion error:</b> Enhanced Typesetting not supported for this book", "det_msg": "", "level": "error"} (Error Code: 1)
See "Dealing with Conversion Errors" in the first post of this thread.
jhowell is offline   Reply With Quote
Old 04-30-2020, 05:08 AM   #830
steakhutzeee
Connoisseur
steakhutzeee began at the beginning.
 
Posts: 63
Karma: 10
Join Date: Mar 2020
Device: Kindle Paperwhite 4 (2018)
There is any advantage in choosing the input format?

I want to convert an ebook to KFX and i have two options:

1. The epub version created for Nook with Sigil
2. The mobi version created from the epub version with Calibre

Thanks!
steakhutzeee is offline   Reply With Quote
Old 04-30-2020, 07:21 AM   #831
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,055
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by steakhutzeee View Post
There is any advantage in choosing the input format?
MOBI format is more limited than EPUB and some so types of HTML formatting are stripped out during conversion from EPUB to MOBI. The KFX result will better match the original formatting of the book if you convert from EPUB.

One case where you might want to try using MOBI as the source is if the conversion from EPUB to KFX fails as will sometimes occur if the book contains HTML formatting that is not allowed in KFX.
jhowell is offline   Reply With Quote
Old 04-30-2020, 08:55 AM   #832
steakhutzeee
Connoisseur
steakhutzeee began at the beginning.
 
Posts: 63
Karma: 10
Join Date: Mar 2020
Device: Kindle Paperwhite 4 (2018)
Quote:
Originally Posted by jhowell View Post
MOBI format is more limited than EPUB and some so types of HTML formatting are stripped out during conversion from EPUB to MOBI. The KFX result will better match the original formatting of the book if you convert from EPUB.

One case where you might want to try using MOBI as the source is if the conversion from EPUB to KFX fails as will sometimes occur if the book contains HTML formatting that is not allowed in KFX.
Thank you!

So the conversion for this ebook was html>epub>mobi.

I will use epub then.
steakhutzeee is offline   Reply With Quote
Old 05-01-2020, 12:30 PM   #833
steakhutzeee
Connoisseur
steakhutzeee began at the beginning.
 
Posts: 63
Karma: 10
Join Date: Mar 2020
Device: Kindle Paperwhite 4 (2018)
Just converted an epub and this is the log. There are some errors and some are about "obfuscated fonts". Also trying to opening the book to read it with the Calibre reader i have there errors. Calibre asks me to convert the epub to epub first.

Anyway the book has been sent to the kindle by Calibre. Is it ok or i should do something?

https://pastebin.com/ES0Gdttn

Thanks in advance!
steakhutzeee is offline   Reply With Quote
Old 05-01-2020, 03:26 PM   #834
steakhutzeee
Connoisseur
steakhutzeee began at the beginning.
 
Posts: 63
Karma: 10
Join Date: Mar 2020
Device: Kindle Paperwhite 4 (2018)
Tried to convert EPUB to EPUB and then use the resulting EPUB to convert into KFX but the log is the same.
steakhutzeee is offline   Reply With Quote
Old 05-01-2020, 08:23 PM   #835
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,055
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by steakhutzeee View Post
Just converted an epub and this is the log. There are some errors and some are about "obfuscated fonts".
Failed to de-obfuscate EPUB font OEBPS/Fonts/font00217.otf
Failed to de-obfuscate EPUB font OEBPS/Fonts/font00228.otf
Failed to de-obfuscate EPUB font OEBPS/Fonts/font00229.otf


Commercially published EPUBs use a weak form of DRM called obfuscation to protect embedded font files. The errors indicate that the EPUB has been edited in a way that breaks the font obfuscation algorithm, preventing to fonts from being decoded.

This will prevent the embedded fonts in the book from being used. Whether that has much of an effect or not on readability depends on the book.

You can use the calibre editor to remove the fonts from the book along with references to them in the book's CSS and see how it looks. Or you can go back to the original EPUB file and edit it more carefully before converting it.
jhowell is offline   Reply With Quote
Old 05-02-2020, 08:21 AM   #836
steakhutzeee
Connoisseur
steakhutzeee began at the beginning.
 
Posts: 63
Karma: 10
Join Date: Mar 2020
Device: Kindle Paperwhite 4 (2018)
Quote:
Originally Posted by jhowell View Post
Failed to de-obfuscate EPUB font OEBPS/Fonts/font00217.otf
Failed to de-obfuscate EPUB font OEBPS/Fonts/font00228.otf
Failed to de-obfuscate EPUB font OEBPS/Fonts/font00229.otf


Commercially published EPUBs use a weak form of DRM called obfuscation to protect embedded font files. The errors indicate that the EPUB has been edited in a way that breaks the font obfuscation algorithm, preventing to fonts from being decoded.

This will prevent the embedded fonts in the book from being used. Whether that has much of an effect or not on readability depends on the book.

You can use the calibre editor to remove the fonts from the book along with references to them in the book's CSS and see how it looks. Or you can go back to the original EPUB file and edit it more carefully before converting it.
Thank you!

Did that and this is the log file now: https://pastebin.com/xY3HiqW3

No more obfuscated fonts errors.

I see that the book is converted with warnings, but it's ok as you said in a previous post if i'm not wrong.

Only doubt is about the latest sections of the log, the .csv files.

So if i'm reading those correctly, there is no errors but only warnings?
steakhutzeee is offline   Reply With Quote
Old 05-02-2020, 09:48 AM   #837
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,055
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by steakhutzeee View Post
Only doubt is about the latest sections of the log, the .csv files.
You can disable reporting of those CSV files by turning off the option "Show full Kindle Previewer conversion logs" in the KFX Output tab of the conversion options. They do not add any useful information in most cases.

Quote:
Originally Posted by steakhutzeee View Post
So if i'm reading those correctly, there is no errors but only warnings?
The warning being reported is:

Warning: W14001: Hyperlink not resolved: C:\Users\xxx\AppData\Local\Temp\7344008a-3c69-453a-97d9-5f6a1b658d15\cTemp\mTemp\mbp_7E4_5_2_E_C_33_228_B8 _3EA0_1\OEBPS\Text\kindle:embed:0003?mime=image\jp g

That warning can be ignored. Ii is usually an artifact of converting a book from AZW3 or MOBI format that contains a link to the book's cover image as if it was an HTML file.
jhowell is offline   Reply With Quote
Old 05-03-2020, 06:13 AM   #838
steakhutzeee
Connoisseur
steakhutzeee began at the beginning.
 
Posts: 63
Karma: 10
Join Date: Mar 2020
Device: Kindle Paperwhite 4 (2018)
Quote:
Originally Posted by jhowell View Post
You can disable reporting of those CSV files by turning off the option "Show full Kindle Previewer conversion logs" in the KFX Output tab of the conversion options. They do not add any useful information in most cases.


The warning being reported is:

Warning: W14001: Hyperlink not resolved: C:\Users\xxx\AppData\Local\Temp\7344008a-3c69-453a-97d9-5f6a1b658d15\cTemp\mTemp\mbp_7E4_5_2_E_C_33_228_B8 _3EA0_1\OEBPS\Text\kindle:embed:0003?mime=image\jp g

That warning can be ignored. Ii is usually an artifact of converting a book from AZW3 or MOBI format that contains a link to the book's cover image as if it was an HTML file.
Thank you! I confirm that it's working fine now. Honestly i do not notice any difference in the book after the fonts deletion.
steakhutzeee is offline   Reply With Quote
Old 05-05-2020, 11:23 AM   #839
otherguy
Junior Member
otherguy began at the beginning.
 
otherguy's Avatar
 
Posts: 3
Karma: 10
Join Date: May 2020
Device: Kindle Voyage
Quote:
Originally Posted by steakhutzeee View Post
2. Here is a screenshot of Word Wise not working properly. I see just two words (i have selected the max number and this is first stange thing), and the meanings are wrong. Can this be fixed? I see multiple warnings in my conversion job details. Maybe the issue is in there somewhere. I can attach the details if needed. Here is a screenshot of what i see:
Hi! I love the KFX plugin and converted my whole library today (well, ...ish, it's still converting).

I did notice the same thing about Word Wise, though. Books that were downloaded as epub, converted to azw3 and now to kfx, suddenly show (incorrect) Word Wise hints.

Where are they coming from? Does my Kindle download those from Amazon?
otherguy is offline   Reply With Quote
Old 05-05-2020, 11:34 AM   #840
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,055
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by otherguy View Post
I did notice the same thing about Word Wise, though. Books that were downloaded as epub, converted to azw3 and now to kfx, suddenly show (incorrect) Word Wise hints.

Where are they coming from? Does my Kindle download those from Amazon?
Yes, the Kindle downloads them from Amazon based on the ASIN set in the book's metadata. The Word Wise file needs to match the book's content exactly in order to work properly. That will not happen for a book that you convert yourself.

Last edited by jhowell; 05-05-2020 at 11:39 AM. Reason: typo
jhowell 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 02:26 PM
Conversion output plugins? jgoguen Development 14 08-10-2013 11:19 AM
Output file name after conversion dbellefuil Calibre 2 06-14-2013 04:40 PM
catalogue builder output columns are not in the same order in the output KWhytte Library Management 5 12-04-2012 02:03 AM
Conversion output folders TechieLady Conversion 6 01-19-2012 02:49 AM


All times are GMT -4. The time now is 02:13 AM.


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