![]() |
#466 |
Connoisseur
![]() ![]() Posts: 50
Karma: 160
Join Date: Jan 2008
Location: Dewitt, MI
Device: Kindle Paperwhite 2021 / PC / iPad
|
Wrong thread.
Last edited by LessPaul; 09-23-2021 at 12:57 PM. |
![]() |
![]() |
![]() |
#467 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,070
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Version 1.44.0 - 04 Oct 2021
Fix optimization that was incorrectly removing nested div elements in some rare cases. |
![]() |
![]() |
Advert | |
|
![]() |
#468 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Oct 2021
Device: none
|
Hello, sorry if this doesn't belong here first of all. I'm having troubles installing the plugin on Calibre, saying there's no top level _init_.py file. I should mention though that when I download the zip folder, for some reason safari is immediately decompressing it into a regular folder so I tried compressing it into a zip file to instal it on Calibre.
Here's the full error: calibre, version 5.29.0 ERROR: Unhandled exception: <b>InvalidPlugin</b>:The plugin in '/Users/diego/Downloads/KFX Input.zip' is invalid. It does not contain a top-level __init__.py file calibre 5.29 embedded-python: True is64bit: True macOS-10.16-x86_64-i386-64bit Darwin ('64bit', '') ('Darwin', '20.6.0', 'Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:21 PDT 2021; root:xnu-7195.141.6~3/RELEASE_X86_64') Python 3.8.5 OSX: ('10.16', ('', '', ''), 'x86_64') Interface language: None Successfully initialized third party plugins: DeDRM (7, 2, 1) && Obok DeDRM (7, 2, 1) Traceback (most recent call last): File "calibre/gui2/preferences/plugins.py", line 327, in add_plugin File "calibre/customize/ui.py", line 477, in add_plugin File "calibre/customize/ui.py", line 65, in load_plugin File "calibre/customize/zipplugin.py", line 284, in load File "calibre/customize/zipplugin.py", line 379, in _locate_code calibre.customize.InvalidPlugin: The plugin in '/Users/diego/Downloads/KFX Input.zip' is invalid. It does not contain a top-level __init__.py file |
![]() |
![]() |
![]() |
#469 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,070
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
You can download and install plugins from the calibre user interface without using Safari. Go to Preferences, Plugins, Get new plugins. |
|
![]() |
![]() |
![]() |
#470 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Oct 2021
Device: none
|
That was the quickest and dumbest fix ever, it's all working now. Thanks a lot!
|
![]() |
![]() |
Advert | |
|
![]() |
#471 |
Connoisseur
![]() Posts: 59
Karma: 10
Join Date: Oct 2021
Device: Kindle 4
|
Hello, thank you for this plugin and the instruction to avoid KFX on Kindle desktop updated app (both work and I like to still be able to convert my ebook to epub when I need it).
Since I discovered this thread only in the last few months I don't really know the history, do you plan to support kindle app after 1.26? Do you know why it does not work right now or it's a mistery and the work done until now it's not of any help for KFX past 1.26 version? Can you try to explain what does not work right now? Is there any github or anything like that repository for this plugin? Thank you. |
![]() |
![]() |
![]() |
#472 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,070
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
Amazon has been aggressive in introducing new forms of KFX DRM whenever it has been broken. They have also implemented extra unused KFX DRM variants that can be immediately enabled without the need to roll out new software. Kindle for PC versions 1.27 and newer use a KFX DRM scheme that the DeDRM plugin does not currently support. It is unclear whether or not anyone is working on correcting this. You would need to ask at Apprentice Harper's GitHub for updates. Quote:
|
||
![]() |
![]() |
![]() |
#473 | |
Connoisseur
![]() Posts: 59
Karma: 10
Join Date: Oct 2021
Device: Kindle 4
|
Quote:
So if I understand it right this plugin actually convert KFX format if it is without drm (like it was in Kindle until 1.26). So there is no difference between ebooks published with and without drm on amazon right now? |
|
![]() |
![]() |
![]() |
#474 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,070
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
There have been some minor changes to KFX format over time but I have been able to keep up with them by using Amazon's Kindle Previewer, which produces a variant of KFX format (KPF) without DFM. Quote:
First, most books can be obtained in the older MOBI7 and KF8 formats by various means, such as using the Download & Transfer via USB option available to e-ink Kindle owners on Amazon's web site. Those will not have DRM if the publisher has requested that. Second, although books in KFX format will have DRM in either case, there is actually a difference in the DRM used depending on whether or not the publisher has requested DRM. In the case where no DRM was requested, the KFX DRM used protects the book against decryption by third-party tools, but does not lock the book to a particular device. This allows the copying of the book between Kindle devices, even those registered to different users. |
||
![]() |
![]() |
![]() |
#475 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Oct 2021
Device: none
|
Size of resulting pages using KFX Input too small
@jhowell, when I use your Calibre KFX Input plugin, no matter what Calibre settings I try (including using Tablet for the output size), the resulting EPUB is much smaller than the original created via Kindle Textbook Creator. How can I avoid this downsizing? Thanks for any help!
|
![]() |
![]() |
![]() |
#476 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,070
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
Conversion to EPUB via calibre is designed for reflowable books. Using a print replica KPF file as the input is not going to yield good results. In this case the KFX Input plugin will rasterize the PDF into a series of JPEG files with one page of content each. The resulting file won't be much good for anything. Side note: Although the results should be pretty much the same for a print replica book, Kindle Textbook Creator has been superseded by Kindle Create. Both take a PDF file and produce a print replica KPF file suitable for publishing on Amazon. |
|
![]() |
![]() |
![]() |
#477 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 155
Karma: 6672188
Join Date: Apr 2019
Device: Ipad Mini, Kindle PW5, Libra 2
|
Troubles importing KFX from new PW5 to Calibre. Latest Calibre 5.31.1, DeDRM 7.2.1, Win11.
To enable importing KFX from new PW5 to Calibre, I did the following: 1. Install DeDRM and configure with Kindle serial. 2. Go to Preferences > Tweaks > Plugin Tweaks, and add the following configuration line: kfx_input_set_format_virtual = False Result: Books are imported as KFX-ZIP. But are still locked. Is this the current state of KFX, it cannot be successfully imported and read in Calibre, unless previously decrypted? Last edited by hollowpoint; 10-31-2021 at 04:17 AM. |
![]() |
![]() |
![]() |
#478 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,070
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
At this time DRM removal for KFX books on Kindle devices only works if the device is running firmware version 5.12.1 (released in 2019) or earlier. |
|
![]() |
![]() |
![]() |
#479 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 155
Karma: 6672188
Join Date: Apr 2019
Device: Ipad Mini, Kindle PW5, Libra 2
|
@jhowell, thanks for that, not to mention your work on these plugins.
So for Kindle, I now have only PW5, it sounds like KFX import from e-ink is off the table. I'm moving off Amazon platform entirely to use mainly Kobo and other epub sources, but still have about 20 books in KFX I'd like to convert to AZW3, import to Calibre and liberate. If I go with installing the older Kindle-for-PC, which version is the best option for completing this process? I have v1.24.51068 that I had archived locally, but it won't run right on Win11 (installs, but then locks in this odd loop when you get to the Kindle registration screen). More than happy to install an older Kindle-for-PC version and simply disable KFX, then import as AZW3 and go from there. Or I can still install 1.24 on another Win10 PC, just for the purposes of format conversion > import to Calibre. I'll do whatever gets this done with the least amount of hair-pulling. Last edited by hollowpoint; 10-31-2021 at 02:43 PM. Reason: typo |
![]() |
![]() |
![]() |
#480 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,070
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
KFX conversion, transfer back to library issue. | shoelesshunter | Conversion | 9 | 04-13-2025 11:15 AM |
[Conversion Input] Microsoft Doc Input Plugin | igi | Plugins | 77 | 03-08-2025 04:04 AM |
[Conversion Input] LaTeX Formulas Input Conversion Plugin | sevyls | Plugins | 0 | 03-23-2015 05:52 AM |
[Input Plugin] DOCX Input | SauliusP. | Plugins | 42 | 06-05-2013 04:01 AM |
Looking For MHT Input Conversion Plugin | FlooseMan Dave | Plugins | 4 | 03-30-2010 05:52 PM |