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 12-29-2023, 10:29 AM   #1456
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,239
Karma: 95000001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by don111 View Post
I've installed the version 7.2 calibre and kfx input, kfx output plugin, however, calibre fail to convert my drm free epub to kfx, any ideas?
Thanks for posting the conversion log. The critical message there is: Kindle conversion has encountered an internal error.

Most of the work involved in converting to KFX is performed by Amazon's Kindle Previewer. There are some things that program does not handle, including fixed-layout books which includes the book you are attempting to convert. There is no good solution for converting this particular book to KFX format.

You can read more about this in the Dealing with Conversion Errors section of the first post of this thread.
jhowell is offline   Reply With Quote
Old 12-30-2023, 11:00 AM   #1457
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,239
Karma: 95000001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Version 2.5.0 - 30 Dec 2023

Reposition tfoot elements to the end of tables to prevent Kindle Previewer conversion failure. (Fixes "Conversion error: Invalid Table Structure found in html")

Improve the quality of cover images that need to be re-encoded into JFIF format for Kindle lock screen cover support.

Ignore the case of file extensions.
jhowell is offline   Reply With Quote
Old 01-18-2024, 07:59 PM   #1458
Shaduy
Junior Member
Shaduy began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2024
Device: Kindle
Is there a way to specify which available format of a book the plugin should use for the conversion?


I like to use the "Polish books" feature of Calibre to clean up my books a little.

This leaves me with two versions of the book.
A newly created .epub that contains all changes made by "Polish books" and my original version of the book, now renamed to .original_epub.

Sometimes I then make some manual changes to the new .epub version of the book with the Calibre book editor. Like fixing some spelling mistakes or changing out some particular bad translation jobs.


But when converting a book to the .kfx format, to send to my device, the plugin is using my .original_epub file to work with.

Is there a way to change this behavior so the plugin uses my polished & manually edited version of a book instead of the original file?
Shaduy is offline   Reply With Quote
Old 01-19-2024, 09:17 AM   #1459
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,239
Karma: 95000001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by Shaduy View Post
But when converting a book to the .kfx format, to send to my device, the plugin is using my .original_epub file to work with.

Is there a way to change this behavior so the plugin uses my polished & manually edited version of a book instead of the original file?
Conversion output plugins, such as this one, have no control over the source format used for conversion. That is determined by calibre itself and calibre selects the original version of a format as the source for conversion if it is present.

You need to delete the original format before conversion if you want to prevent it from being used.
jhowell is offline   Reply With Quote
Old 01-19-2024, 09:35 PM   #1460
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
Quote:
Originally Posted by jhowell View Post
Conversion output plugins, such as this one, have no control over the source format used for conversion. That is determined by calibre itself and calibre selects the original version of a format as the source for conversion if it is present.

You need to delete the original format before conversion if you want to prevent it from being used.
Good to know, but ideally I could choose default behavior. I don’t like to delete the original in case there is some issue with the ‘current’ one.

But converting to KFX is not something I do that often.
tomsem is offline   Reply With Quote
Old 01-25-2024, 10:42 AM   #1461
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,239
Karma: 95000001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Version 2.6.0 - 25 Jan 2024

Detect Kindle Previewer versions up to 3.75.0.

When launching the Kindle Previewer include additional environment variables that be be needed for some non-standard Wine installations on Linux.
jhowell is offline   Reply With Quote
Old 01-28-2024, 02:13 PM   #1462
Slipkid
Enthusiast
Slipkid ought to be getting tired of karma fortunes by now.Slipkid ought to be getting tired of karma fortunes by now.Slipkid ought to be getting tired of karma fortunes by now.Slipkid ought to be getting tired of karma fortunes by now.Slipkid ought to be getting tired of karma fortunes by now.Slipkid ought to be getting tired of karma fortunes by now.Slipkid ought to be getting tired of karma fortunes by now.Slipkid ought to be getting tired of karma fortunes by now.Slipkid ought to be getting tired of karma fortunes by now.Slipkid ought to be getting tired of karma fortunes by now.Slipkid ought to be getting tired of karma fortunes by now.
 
Posts: 34
Karma: 400010
Join Date: Nov 2018
Device: kindle
Is it possible to revert to an older version of kfx-output? Something broke for me with this update.

Update: I was using calibre 5 and decided to finally update. This fixed the issue, whatever it was.

Last edited by Slipkid; 01-28-2024 at 03:33 PM.
Slipkid is offline   Reply With Quote
Old 01-28-2024, 10:32 PM   #1463
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,239
Karma: 95000001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by Slipkid View Post
Is it possible to revert to an older version of kfx-output? Something broke for me with this update.

Update: I was using calibre 5 and decided to finally update. This fixed the issue, whatever it was.
I’m glad that you were able to get it to work.

Could you let me know what platform and specific calibre version you were using so that I can try and duplicate the problem?

Oops! I found the problem and will release a plugin update shortly.

Last edited by jhowell; 01-29-2024 at 11:38 AM.
jhowell is offline   Reply With Quote
Old 01-29-2024, 11:53 AM   #1464
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,239
Karma: 95000001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Version 2.6.1 - 29 Jan 2024

Fix plugin not working using calibre versions older than 6.0.
jhowell is offline   Reply With Quote
Old 01-29-2024, 12:35 PM   #1465
Slipkid
Enthusiast
Slipkid ought to be getting tired of karma fortunes by now.Slipkid ought to be getting tired of karma fortunes by now.Slipkid ought to be getting tired of karma fortunes by now.Slipkid ought to be getting tired of karma fortunes by now.Slipkid ought to be getting tired of karma fortunes by now.Slipkid ought to be getting tired of karma fortunes by now.Slipkid ought to be getting tired of karma fortunes by now.Slipkid ought to be getting tired of karma fortunes by now.Slipkid ought to be getting tired of karma fortunes by now.Slipkid ought to be getting tired of karma fortunes by now.Slipkid ought to be getting tired of karma fortunes by now.
 
Posts: 34
Karma: 400010
Join Date: Nov 2018
Device: kindle
Quote:
Originally Posted by jhowell View Post
Version 2.6.1 - 29 Jan 2024

Fix plugin not working using calibre versions older than 6.0.

Thanks. I figured it was only a matter of time before 5 stopped working for my needs.
Slipkid is offline   Reply With Quote
Old 01-30-2024, 09:10 PM   #1466
ivy@sail17.net
Junior Member
ivy@sail17.net began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2024
Device: kobi Aura h2o
Heavy sigh!

I'm following instructions for installing.
It says "download KFX Conversion Input Plugin(v2.6.0)" and there's a hot link to this page.
All the discussion is quite helpful and all. But where, o where, is the file to download? I cannot read through 98 pages of discussion.

Thanks!
ivy@sail17.net is offline   Reply With Quote
Old 01-30-2024, 10:56 PM   #1467
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,239
Karma: 95000001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by ivy@sail17.net View Post
I'm following instructions for installing.
Whose instructions are you following?

Quote:
Originally Posted by ivy@sail17.net View Post
It says "download KFX Conversion Input Plugin(v2.6.0)" and there's a hot link to this page.
That link is incorrect. This thread is for the KFX Output plugin, not KFX Input.

Quote:
Originally Posted by ivy@sail17.net View Post
All the discussion is quite helpful and all. But where, o where, is the file to download? I cannot read through 98 pages of discussion.
The actual plugin file is attached to the first post of the MobileRead thread for each plugin. That post also contains instructions for using the plugin.

You can also get the plugin directly within calibre by going to Preferences, Plugins, Get new plugins. That avoids the need to download anything. Pretty much the only case where you actually need to download a plugin for installation is the DRM removal plugin which is not hosted here at MobileRead.
jhowell is offline   Reply With Quote
Old 02-13-2024, 02:31 PM   #1468
amon81
Junior Member
amon81 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Feb 2024
Device: kindle
Also with last release,
calibre, version 7.5.1
ERRORE: KFX conversion failed: Cannot convert.... Conversion error: Process Failure: CLI return code c0000135
Is there anything to fix it?
tx
amon81 is offline   Reply With Quote
Old 02-13-2024, 02:43 PM   #1469
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,239
Karma: 95000001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by amon81 View Post
Also with last release,
calibre, version 7.5.1
ERRORE: KFX conversion failed: Cannot convert.... Conversion error: Process Failure: CLI return code c0000135
Is there anything to fix it?
tx
That error most likely means that there is something wrong with the Kindle Previewer on your system. I suggest uninstalling it and then installing it again.

Last edited by jhowell; 02-13-2024 at 02:51 PM. Reason: typo
jhowell is offline   Reply With Quote
Old 02-14-2024, 12:19 PM   #1470
jackm8
Evangelist
jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.jackm8 ought to be getting tired of karma fortunes by now.
 
jackm8's Avatar
 
Posts: 402
Karma: 4500000
Join Date: Nov 2015
Device: none
I'm trying to troubleshoot an error that I get while trying to convert all .epub books in Slovene language that I've tried so far (five books). I'm suspecting something is going off on the side of Kindle Previewer. It's of no massive concern as there is a workaround.

I tried it on five .epub files, all failed with the same error.
Conversion attempt appears to freeze momentarily at line:
"Launching Kindle Previewer 3 (unknown_32741376) - CLI"
Then it ends up with:
"Exception: Conversion error: Kindle conversion has encountered an internal error."


Workaround to this. Conversions into .kfx succeed from .kfs or .epub files that were created in Kindle Create program. For example:

.epub converted to .docx, then to .kfs or .epub in Kindle Create, then to .kfx produces working .kfx.
.epub to mobi/azw3/docx, then using CLI to convert mobi/azw3/docx directly to .kfx, fails with the same error.
.epub to .pdf, then to .kfs in Kindle Create via Print Replica also works, but resulting file is then fixed paged .kfx



Full report from CLI:
Quote:
...>calibre-debug -r "KFX Output" -- "Fran S. Finžgar - Pod svobodnim soncem.EPUB" "Fran S. Finžgar - Pod svobodnim soncem.KFX" -d -p 0
Software versions: KFX Output 2.6.1, calibre 7.4, Windows-10-10.0.19045-SP0
KFX Output plugin help is available at https://www.mobileread.com/forums/sh...d.php?t=272407

Converting Fran S. Finžgar - Pod svobodnim soncem.EPUB
Converting "Fran S. Finžgar - Pod svobodnim soncem.EPUB" to KPF
Launching Kindle Previewer 3 (unknown_32741376) - CLI
**************************************************
Kindle Previewer 3.76.0 Copyright (c) Amazon.com
**************************************************
Checking specified arguments.
Pre-processing in progress.
Processing 1/1 book(s).
Book Conversion failed. ...\Fran S. Finžgar - Pod svobodnim soncem.epub
Post-processing in progress.
Writing output/log files to ...\calibre_vd6tryub\vhdljv_j\ys3ra9w3z53poz2c0mcj \0000

****************** Conversion Failure Reason *****************
Kindle conversion has encountered an internal error.
************************************************** ************

************ Kindle Previewer Conversion Guidance ************
Error Kindle conversion has encountered an internal error.
Recommended Fix: Our team needs to investigate this error in order to resolve. Please go to the KPR Help Menu and select the Send Feedback option to inform us of this issue. Please make sure you are signed in and we will provide you with more information within 3 business days. Thank you.

************************************************** ************
Traceback (most recent call last):
File "runpy.py", line 198, in _run_module_as_main
File "runpy.py", line 88, in _run_code
File "site.py", line 95, in <module>
File "site.py", line 90, in main
File "site.py", line 50, in run_entry_point
File "calibre\debug.py", line 283, in main
File "calibre_plugins.kfx_output.__init__", line 265, in cli_main
File "calibre_plugins.kfx_output.__init__", line 311, in convert_using_previewer
File "calibre_plugins.kfx_output.__init__", line 357, in report_failure
Exception: Conversion error: Kindle conversion has encountered an internal error.

Last edited by jackm8; 02-14-2024 at 12:49 PM.
jackm8 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 12:09 PM.


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