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 11-25-2021, 03:55 PM   #1141
anishmittal
Junior Member
anishmittal began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Nov 2021
Device: Kindle Paperwhite 5 (2021)
KFX conversion failed: CLI return code 00000005

Hello!

I am trying to convert an Epub to KFX using the Plugin KFX output (1.57.0) with Calibre in Ubuntu 20.4, with KindlePreviewerInstaller.exe (3.59.1) installed using wine-6.0.2.

I am getting the follwoing error:

calibre, version 5.31.1
ERROR: KFX conversion failed:Cannot convert Permanent Record
Conversion error: Process Failure: CLI return code 00000005


Any suggestion, what can I do about this error?

Last edited by anishmittal; 11-25-2021 at 03:58 PM.
anishmittal is offline   Reply With Quote
Old 11-26-2021, 07:47 PM   #1142
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: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Quote:
Originally Posted by anishmittal View Post
Conversion error: Process Failure: CLI return code 00000005

Any suggestion, what can I do about this error?
It appears that there is a problem getting the Kindle Previewer to run under Wine on your system. I am sorry but I do not know how to fix that.

One possible solution is to run Windows in a virtual machine.
jhowell is offline   Reply With Quote
Advert
Old 11-27-2021, 10:36 AM   #1143
mustafanoah
Junior Member
mustafanoah began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2021
Device: kindle
a problem during conversion

hello,
i am using calibre on linux , when i try to convert an e-book from any format to "kfx" format, i keep getting an error during conversion
this is the error:

calibre, version 5.11.0
ERROR: KFX conversion failed: Exception('Wine registry file /home/mhnoah/.wine/user.reg not found. Ensure that Wine is correctly installed.')

i installed wine and i keep getting the error

what should i do ??

Last edited by mustafanoah; 11-27-2021 at 10:39 AM.
mustafanoah is offline   Reply With Quote
Old 11-27-2021, 11:01 AM   #1144
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: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Version 1.58.0 - 27 Nov 2021

Detect Kindle Previewer versions up to 3.60.0. Version 3.60.0 adds support for additional list-style-type values.

Fix conversion to retain the creation date and multiple author names if present in the source EPUB. (Only the first author name will be shown on Kindle devices for books in KFX format.)

Fix embedding of metadata to maintain the order of author names when a book has multiple authors.
jhowell is offline   Reply With Quote
Old 11-27-2021, 11:04 AM   #1145
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: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Quote:
Originally Posted by mustafanoah View Post
ERROR: KFX conversion failed: Exception('Wine registry file /home/mhnoah/.wine/user.reg not found. Ensure that Wine is correctly installed.')
From the error message it appears that you have not installed Wine correctly on your system. I am not a Linux user and do not have any suggestions on how to fix that.
jhowell is offline   Reply With Quote
Advert
Old 11-28-2021, 05:15 AM   #1146
mwaschbu
Junior Member
mwaschbu began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2020
Device: Kindle Oasis 3
Quote:
Originally Posted by mustafanoah View Post
ERROR: KFX conversion failed: Exception('Wine registry file /home/mhnoah/.wine/user.reg not found. Ensure that Wine is correctly installed.')
Did you already run Wine to install the Kindle Previewer?
That file should be there for every Wine installation. Does it exist and can you access its content?
Did you install Calibre via Snap, Flatpak, AppImage or something similar? That will not work. It must be installed directly in your system and not in a container.
mwaschbu is offline   Reply With Quote
Old 11-29-2021, 09:35 AM   #1147
anishmittal
Junior Member
anishmittal began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Nov 2021
Device: Kindle Paperwhite 5 (2021)
Quote:
Originally Posted by anishmittal View Post
Hello!

I am trying to convert an Epub to KFX using the Plugin KFX output (1.57.0) with Calibre in Ubuntu 20.4, with KindlePreviewerInstaller.exe (3.59.1) installed using wine-6.0.2.

I am getting the follwoing error:

calibre, version 5.31.1
ERROR: KFX conversion failed:Cannot convert Permanent Record
Conversion error: Process Failure: CLI return code 00000005


Any suggestion, what can I do about this error?
@mwaschbu Can you please comment on this?

I again reinstalled wine and Kindle previever, but I am stuck with the same error.
anishmittal is offline   Reply With Quote
Old 11-29-2021, 12:06 PM   #1148
anishmittal
Junior Member
anishmittal began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Nov 2021
Device: Kindle Paperwhite 5 (2021)
@mwaschbu @jhowell

I successfully installed and converted epub using
- Plugin KFX output (1.57.0) with Calibre in Ubuntu 20.4, with KindlePreviewerInstaller.exe (3.59.1) installed using wine-6.0.2.
anishmittal is offline   Reply With Quote
Old 11-29-2021, 01:39 PM   #1149
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: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Quote:
Originally Posted by anishmittal View Post
@mwaschbu @jhowell

I successfully installed and converted epub using
- Plugin KFX output (1.57.0) with Calibre in Ubuntu 20.4, with KindlePreviewerInstaller.exe (3.59.1) installed using wine-6.0.2.
I’m glad to hear it. Feel free to share any tips you may have on getting it installed and working.
jhowell is offline   Reply With Quote
Old 12-12-2021, 04:20 AM   #1150
eyalmazuz
Junior Member
eyalmazuz began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2021
Device: kindle
Quote:
Originally Posted by jhowell View Post
I’m glad to hear it. Feel free to share any tips you may have on getting it installed and working.
I had a similar problem with wine 6.22 and 6.23 but it seems to be fixed with wine 7.0-rc1
I used KFX output 1.58 and kindle previewer 3.60 on Ubuntu 20.04
eyalmazuz is offline   Reply With Quote
Old 12-27-2021, 05:47 AM   #1151
unkn0wn
Evangelist
unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.
 
Posts: 444
Karma: 82686
Join Date: May 2021
Device: kindle
rescaling images

When converting an epub to kfx format, it normally reconverts the epub to epub like you said, before converting to kfx.

but during this process it re-scales all images to a lower resolution. (although not by much)

Can we change it, to not to re-scale images at all, so that all images remain in their original resolution?
unkn0wn is offline   Reply With Quote
Old 12-27-2021, 08:15 AM   #1152
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: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Quote:
Originally Posted by unkn0wn View Post
Can we change it, to not to re-scale images at all, so that all images remain in their original resolution?
The scaling of images is controlled by the Output Profile selected in the Page Setup tab of the conversion dialog. Choosing Tablet will disable the scaling of images.

(This is a feature of calibre, not specific to KFX conversion.)

Last edited by jhowell; 12-27-2021 at 08:33 AM.
jhowell is offline   Reply With Quote
Old 12-28-2021, 03:07 AM   #1153
unkn0wn
Evangelist
unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.unkn0wn can do the Funky Gibbon.
 
Posts: 444
Karma: 82686
Join Date: May 2021
Device: kindle
Ooh

Thanks.. my profile was set to kindle oasis, that maybe why.

I saw that it was re-scaling images of lower resolutions too, and so i thought it might be related.
unkn0wn is offline   Reply With Quote
Old 12-28-2021, 10:20 AM   #1154
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: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Quote:
Originally Posted by unkn0wn View Post
I saw that it was re-scaling images of lower resolutions too, and so i thought it might be related.
Cover images may be regenerated by the KFX Output plugin for compatibility with the Kindle's cover lock screen feature, but that should not change their dimensions.

The part of KFX conversion performed by the Kindle Previewer checks images for Kindle compatibility. I haven't seen that reduce resolution except for extremely large images.

If there is anything else going on with image scaling I am unaware of it.
jhowell is offline   Reply With Quote
Old 12-30-2021, 08:23 PM   #1155
Babyblasphemy
Junior Member
Babyblasphemy began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2021
Device: Kindle Android App
Not sure if others have seen this, but I could not get the Kindle App on Android to see KFX files unless I placed them in Android/data/com.amazon.kindle/files instead of Books, Documents, or any other folder the app had access to.
Babyblasphemy 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 551 07-18-2023 06:22 AM
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 08:42 AM.


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