View Single Post
Old 11-27-2023, 08:37 PM   #1196
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,212
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
Quote:
Originally Posted by jhowell View Post
Converting to KFX produces KFX. My assumption is that the next step after converting to KFX is importing the book into calibre. File Type plugins will then run.

If the KFX Input plugin is installed then that will convert the book from KFX to KFX-ZIP on import. What normally happens after that is the DeDRM plugin (if installed) removes any DRM, which won't won't exist in this case. Then the KFX Input plugin converts the KFX-ZIP back to KFX.

It appears that this final step is failing for some reason. Perhaps a calibre debug log would help to show why.

Please feel free to contain the discussion in one of the KFX plugin threads.
I cannot test this myself because the conversion asks for a program (kindle previewer?) which is not available on linux, but if it is of any help for you, that's how Action Chains runs the convert process, and then imports the book:

Code:
gui_convert(input_path, output_path, recommendations)
db.new_api.add_format(book_id, output_format, output_path)
Is there anything here that causes the problems? It seems to work for all other formats.

Edit: output_path will end with a .kfx extension, and output_format is KFX.

Last edited by capink; 11-27-2023 at 08:48 PM.
capink is offline   Reply With Quote