Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 08-26-2024, 08:12 AM   #1546
steakhutzeee
Connoisseur
steakhutzeee began at the beginning.
 
Posts: 59
Karma: 10
Join Date: Mar 2020
Device: Kindle Paperwhite 4 (2018)
Question, Wine-wow64 is available https://gitlab.winehq.org/wine/wine/-/releases/wine-9.0. In my tests I installed that for the limited number of dependencies. But the KFX Output looks after the wine64 executable.

Could be possible to let the plugin work with Wine-wow64 also?, so also with the single wine command that in this version replaces the wine64 command?

I don't know, maybe a symlink wine -> wine64 would suffice? I'm not sure.

Last edited by steakhutzeee; 08-26-2024 at 10:39 AM.
steakhutzeee is offline   Reply With Quote
Old 08-26-2024, 11:18 AM   #1547
Kennysim93
Junior Member
Kennysim93 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Aug 2024
Device: Kindle
Quote:
Originally Posted by jhowell View Post
Something is going wrong with Kindle Previewer on your system but I can’t tell anything more than that. Sorry.
That's frustrating, but thanks. Do you have any inkling as to why it's happening or what I can try in order to fix it? It's very annoying as it was working fine and just stopped a few days ago.

Out of interest, I'm aware that the plugin is only tested up to Kindle Previewer 3.84, and I've already tried installing various versions of this, but what is the best way to install a previous version? I think I just googled "Kindle Previewer 3.84 download" and found this https://www.filepuma.com/download/ki..._3.84.0-40034/. Maybe there's a better way?
Kennysim93 is offline   Reply With Quote
Advert
Old 08-26-2024, 11:19 AM   #1548
Kennysim93
Junior Member
Kennysim93 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Aug 2024
Device: Kindle
Quote:
Originally Posted by steakhutzeee View Post
My log from https://www.mobileread.com/forums/sh...postcount=1536 looks the same. Mostly identical Traceback.
Maybe try with a different version of Kindle Previewer. I have to try that under Wine.
Annoyingly I've tried multiple versions of Kindle Previewer as mentioned in my last post right above this one. Did you ever manage to get this error fixed or are you still struggling with it?
Kennysim93 is offline   Reply With Quote
Old 08-26-2024, 04:55 PM   #1549
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,681
Karma: 86234809
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by Kennysim93 View Post
Do you have any inkling as to why it's happening or what I can try in order to fix it?
I have no idea. It works fine for me under Windows 11.

Quote:
Originally Posted by Kennysim93 View Post
Out of interest, I'm aware that the plugin is only tested up to Kindle Previewer 3.84
I have actually tested it with the latest Kindle Previewer version (3.87.0). I updated the documentation in first post in this thread to reflect this.

Quote:
Originally Posted by Kennysim93 View Post
what is the best way to install a previous version? I think I just googled "Kindle Previewer 3.84 download" and found this https://www.filepuma.com/download/ki..._3.84.0-40034/. Maybe there's a better way?
I have used the Internet Archive Wayback Machine and UptoDown to locate some old versions. However I cannot vouch for the integrity of the files downloaded from those sites.
jhowell is offline   Reply With Quote
Old 08-26-2024, 05:13 PM   #1550
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,681
Karma: 86234809
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by steakhutzeee View Post
Could be possible to let the plugin work with Wine-wow64 also?, so also with the single wine command that in this version replaces the wine64 command?
I will change the plugin to look for both "wine64" and "wine" in the next release.
jhowell is offline   Reply With Quote
Advert
Old 08-26-2024, 05:37 PM   #1551
Kennysim93
Junior Member
Kennysim93 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Aug 2024
Device: Kindle
[QUOTE=jhowell;4449008] I have no idea. It works fine for me under Windows 11.
QUOTE]

No worries. I guess all I can do is keep trying. I don't suppose you know if there's a way to convert files to KFX without using the plugin, for example, maybe there's a way of converting to KFX by directly using the Kindle Previewer?
Kennysim93 is offline   Reply With Quote
Old 08-26-2024, 05:46 PM   #1552
Kennysim93
Junior Member
Kennysim93 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Aug 2024
Device: Kindle
Apologies for messing up the formatting above. Won't let me edit annoyingly. Hopefully you're still able to read my question.
Kennysim93 is offline   Reply With Quote
Old 08-26-2024, 06:23 PM   #1553
steakhutzeee
Connoisseur
steakhutzeee began at the beginning.
 
Posts: 59
Karma: 10
Join Date: Mar 2020
Device: Kindle Paperwhite 4 (2018)
Quote:
Originally Posted by jhowell View Post
I will change the plugin to look for both "wine64" and "wine" in the next release.
Thank you!
steakhutzeee is offline   Reply With Quote
Old 08-26-2024, 07:04 PM   #1554
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: 6,665
Karma: 26963509
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
[QUOTE=Kennysim93;4449020]
Quote:
Originally Posted by jhowell View Post
I have no idea. It works fine for me under Windows 11.
QUOTE]

No worries. I guess all I can do is keep trying. I don't suppose you know if there's a way to convert files to KFX without using the plugin, for example, maybe there's a way of converting to KFX by directly using the Kindle Previewer?
KFX Output isn't doing the conversion, it is using command line interface of Kindle Previewer. So presumably you can use that too.
tomsem is offline   Reply With Quote
Old 08-26-2024, 07:29 PM   #1555
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,681
Karma: 86234809
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by Kennysim93 View Post
I don't suppose you know if there's a way to convert files to KFX without using the plugin, for example, maybe there's a way of converting to KFX by directly using the Kindle Previewer?
There is a more complex alternative process. You can use the regular graphical interface of the Kindle Previewer to open an EPUB and then after it displays you can export a KPF file. That file can then be converted to KFX using the command line interface of this plugin. See the first post of this thread for details. (However given that the Kindle Previewer appears to be failing when invoked by the plugin I suspect that it will also be unable to produce a KPF file when run manually.)

Or you can use one of several send-to-kindle methods supported be Amazon, including a web site. That will deliver KFX format in most cases but it requires your device to be online with Amazon.
jhowell is offline   Reply With Quote
Old 08-27-2024, 08:01 AM   #1556
steakhutzeee
Connoisseur
steakhutzeee began at the beginning.
 
Posts: 59
Karma: 10
Join Date: Mar 2020
Device: Kindle Paperwhite 4 (2018)
Other then the Wine-wow64 argument. Is it possible to point to Kindle Previewer installed in a Wine custom $WINEPREFIX?

From my previous tests I see that the plugin looks for the 'Exception('Wine registry file /home/steakhutzeee/.wine/user.reg' file. I'm new to Wine so don't know if this file is unique or if it's present in any WINEPREFIX.

EDIT: Yes it looks that any WINEPREFIX has its user.reg file. From https://wiki.winehq.org/Bottling_Standards I can see:

Quote:
Winetrick's current approach is a good foundation. Every prefix includes a file named wrapper.cfg (at the top-level of a prefix next to user.reg), which stores the prefix's longer title. Then whenever a new verb is installed in a prefix, metadata specific to the verb is registered in a new file, according to the convention current_prefix/verb_category/verb_name.vars
Maybe an option could be added to the plugin to specify the WINEPREFIX dir? And if left unspecified it will use the default in /home/user/.wine?

Thanks!

Last edited by steakhutzeee; 08-28-2024 at 03:17 AM.
steakhutzeee is offline   Reply With Quote
Old 09-05-2024, 01:35 PM   #1557
Ruby Dragon
Junior Member
Ruby Dragon began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Sep 2024
Device: Kindle Paperwhite
Quote:
Originally Posted by jhowell View Post
You can convert a book to KFX with hyphenation disabled by changing the conversion settings. In the "Look and feel" section choose the "Styling" tab and paste the following into the "Extra CSS" box:

body {-webkit-hyphens: none;}
I have the opposite problem - after conversion to kfx, all hyphenations disappear. I added them using the polish books/hyphenate this plugin and they work fine in epub, but not after I convert it to kfx. Is there any way to fix this?
Ruby Dragon is offline   Reply With Quote
Old 09-05-2024, 02:14 PM   #1558
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,681
Karma: 86234809
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by Ruby Dragon View Post
I have the opposite problem - after conversion to kfx, all hyphenations disappear. I added them using the polish books/hyphenate this plugin and they work fine in epub, but not after I convert it to kfx. Is there any way to fix this?
KFX format does not support soft hyphens as added by those plugins. Instead it uses built in hyphenation dictionaries for Kindle supported languages, which does not include 'Polish.
jhowell is offline   Reply With Quote
Old 09-06-2024, 06:24 AM   #1559
shamanNS
Guru
shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.
 
Posts: 972
Karma: 10500010
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5, Kobo Libra 2, Kindle PW1
Pa @jhowell Unless something changed in last ~6 months your statement about KFX renderer on Kindle devices not supporting soft hyphens is 100% incorrect. Sometimes after Amazon started using KFx format for PDOCs send via Send to Kindle web app I've tested the idea of sending soft hyphenated epub book in serbian language and the end result was a KFX file that had hyphens in the correct places.
If I would send the same book but without added soft hyphens the delivered KFX wouldn't have hyphens.
It's also curios how unlike Kindle Previewer that refuses to convert to KFX books in serbian (since it is not officially supported language) "cloud" conversation pipeline doesn't care about the language and creates a KFX file (normally without hyphenation since the firmware doesn't? include hyphenation dictionary for serbian language).


So, in conclusion: the same approach that worked in the past for getting hyphenated azw3 file via Send to Kindle also worked for KFX... at least the last time I've tested it in both Kindle for Android and Kindle PW5.

Last edited by shamanNS; 09-06-2024 at 06:34 AM.
shamanNS is offline   Reply With Quote
Old 09-06-2024, 09:41 PM   #1560
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,681
Karma: 86234809
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by shamanNS View Post
Pa @jhowell Unless something changed in last ~6 months your statement about KFX renderer on Kindle devices not supporting soft hyphens is 100% incorrect. Sometimes after Amazon started using KFx format for PDOCs send via Send to Kindle web app I've tested the idea of sending soft hyphenated epub book in serbian language and the end result was a KFX file that had hyphens in the correct places.
If I would send the same book but without added soft hyphens the delivered KFX wouldn't have hyphens.
It's also curios how unlike Kindle Previewer that refuses to convert to KFX books in serbian (since it is not officially supported language) "cloud" conversation pipeline doesn't care about the language and creates a KFX file (normally without hyphenation since the firmware doesn't? include hyphenation dictionary for serbian language).
I did not know that. Thank you for the update.

Quote:
Originally Posted by shamanNS View Post
So, in conclusion: the same approach that worked in the past for getting hyphenated azw3 file via Send to Kindle also worked for KFX... at least the last time I've tested it in both Kindle for Android and Kindle PW5.
Perhaps Ruby Dragon can provide a sample file that exhibits the problem for further analysis.
jhowell is offline   Reply With Quote
Reply

Tags
kfx, linux, wine

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Conversion Output] KePub Output Plugin jgoguen Plugins 566 08-07-2024 09:12 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:12 AM.


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