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-31-2023, 05:28 PM   #616
Raconto
Junior Member
Raconto began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2023
Device: Kindle
Quote:
Originally Posted by jhowell View Post
See the DRM Concerns section in the first post in this thread.
Yep. Already went through all that. I've installed DeDRM 10.0.3.
Raconto is offline   Reply With Quote
Old 12-31-2023, 05:30 PM   #617
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 40,573
Karma: 157444380
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Raconto View Post
Yep. Already went through all that. I've installed DeDRM 10.0.3.
You might want to try 10.0.0.9 instead. On noDRM's page, click on the +4 releases and then download the .zip file from Assets under 10.0.0.9 (see the Changelog for what has changed).

Last edited by DNSB; 12-31-2023 at 05:32 PM.
DNSB is offline   Reply With Quote
Advert
Old 12-31-2023, 05:46 PM   #618
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,753
Karma: 86500093
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by DNSB View Post
You might want to try 10.0.0.9 instead.
Yes. Version 10.0.9 is required for removal of the KFX DRM currently in use by Amazon.
jhowell is offline   Reply With Quote
Old 01-07-2024, 05:33 PM   #619
Jaws
JCL Punch-Card Collector
Jaws began at the beginning.
 
Posts: 58
Karma: 10
Join Date: Jun 2014
Location: Antarctica
Device: Aggressively Device Independent
Exclamation

Quote:
Originally Posted by DNSB View Post
You might want to try 10.0.0.9 instead. On noDRM's page, click on the +4 releases and then download the .zip file from Assets under 10.0.0.9 (see the Changelog for what has changed).
This is an inadequate set of directions, thanks to a fundamental design flaw in GitHub. You must log in to GitHub first or you won't even see the "Assets" portion of the window. GitHub's design is "we won't show you everything if you're not logged in," which is, umm, dumber than a box of rocks. If you want to require a login before actually accessing the material, that's one thing; hiding the very existence of the material that is held on a public repository, that's just dumb. (And just logging in while on the extra-releases page doesn't work, either.)

Bad GitHub. No cookie. Which is precisely why I don't stay logged in except when actually performing a function on a specific site. (It's not paranoia when they really are out to get you.)
Jaws is offline   Reply With Quote
Old 01-07-2024, 05:51 PM   #620
Jaws
JCL Punch-Card Collector
Jaws began at the beginning.
 
Posts: 58
Karma: 10
Join Date: Jun 2014
Location: Antarctica
Device: Aggressively Device Independent
Question

Entirely separate issue:

What is the highest version number of Kindle for PC that works reliably to import books for KFX conversion?

Reason: I sometimes borrow library books, and don't want to keep multiple instances/versions of Kindle for PC installed. Since early last year, the Kindle-via-Overdrive interface at libraries has required Kindle for PC installations substantially greater than the canonical 1.17... but there have been lots of problems running KFX Input with the very-very-very-most-up-to-date version of Kindle for PC, so I've been very reluctant to update it. It's possible that some Kindle for PC versions in the 1.3x range might work with the library check-outs, too, so that I wouldn't have to keep multiple installations.

(Preemptive note: "Suggesting" the purchase of more hardware, like an eInk reader, is a nonstarter. Just. Don't.)
Jaws is offline   Reply With Quote
Advert
Old 01-07-2024, 05:56 PM   #621
bkennelly
Member
bkennelly has a complete set of Star Wars action figures.bkennelly has a complete set of Star Wars action figures.bkennelly has a complete set of Star Wars action figures.
 
Posts: 15
Karma: 260
Join Date: Jun 2018
Device: none
I can confirm that I can import KFX files form K4PC 2.3.0 downloaded last week from Amazon.
bkennelly is offline   Reply With Quote
Old 01-08-2024, 12:58 PM   #622
nabsltd
Evangelist
nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.
 
Posts: 460
Karma: 7897546
Join Date: Aug 2013
Location: Hamden, CT
Device: Kindle Paperwhite (11th gen), Scribe
Quote:
Originally Posted by Jaws View Post
You must log in to GitHub first or you won't even see the "Assets" portion of the window.
There must be some problem with your browser, because I'm not logged in and can see it just fine.

Note that "▶ Assets" can be clicked on to show the actual files.
nabsltd is offline   Reply With Quote
Old 01-11-2024, 04:56 AM   #623
patrik
Guru
patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.
 
Posts: 674
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
Seems to work on most kfx-books, but it got a hickup on one ebook today.

https://www.amazon.com/unfinished-bo...dp/B0CBT526HX/

Any ideas? Maybe the size (28 MB)?

Code:
calibre, version 7.2.0
ERROR: KFX conversion failed: <p><b>Cannot convert the unfinished book: a journal for the end of the journey (and perhaps for those whose road still seems endless)</b><br><br>Exception('This book has a layout that is incompatible with calibre conversion. For best results use either the From KFX user interface plugin or the KFX Input plugin CLI for conversion.')</p>

Last edited by patrik; 01-11-2024 at 05:35 AM.
patrik is offline   Reply With Quote
Old 01-11-2024, 10:26 AM   #624
bkennelly
Member
bkennelly has a complete set of Star Wars action figures.bkennelly has a complete set of Star Wars action figures.bkennelly has a complete set of Star Wars action figures.
 
Posts: 15
Karma: 260
Join Date: Jun 2018
Device: none
Use the "from KFX" menu option or CLI to extract PDF.
bkennelly is offline   Reply With Quote
Old 01-11-2024, 11:38 AM   #625
patrik
Guru
patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.
 
Posts: 674
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
Thanks, that worked!

As this has worked fine every other time, is this due to it being a "wrapped PDF"?
patrik is offline   Reply With Quote
Old 01-11-2024, 11:43 AM   #626
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,753
Karma: 86500093
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by patrik View Post
Thanks, that worked!

As this has worked fine every other time, is this due to it being a "wrapped PDF"?
Yes. That is a "print replica" book.
jhowell is offline   Reply With Quote
Old 01-12-2024, 11:01 AM   #627
rued
Junior Member
rued began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2024
Device: none
Opening and converting kfx-zip fails

Quote:
Originally Posted by jhowell View Post
Yes. That is a "print replica" book.
Not sure, whether I've the same issue with a 'print replica' or not, but conversion from kfx-zip fails as well as opening in calibre viewer.

Since I'm totally new here and at eBooke, etc., I don't understand 'how to use either the From KFX user interface plugin...'. Is it another plugin or a special execution mode?


Book is: https://www.amazon.de/Advanced-Anten...5071217&sr=8-1

DeDRM 10.0.9
KFX Input 2.7.0
Calibre 5.44

Messages, I'm getting:

Trying to convert to .pdf:
Quote:
calibre, version 5.44.0
FEHLER: KFX conversion failed: <p><b>Cannot convert Advanced Antena Modeling</b><br><br>AttributeError("'NoneType' object has no attribute 'PdfReader'")</p>
Trying to open by Calibre Viewer:
Quote:
calibre, version 5.44.0
FEHLER: Buch konnte nicht geladen werden: Buch konnte nicht geöffnet werden: E:\User\_S-W\Calibre\V.5.44.0\Marcel De Canck\Advanced Antena Modeling (6)\Advanced Antena Modeling - Marcel De Canck.kfx-zip. "Details anzeigen" anklicken für weitere Informationen.

Failed to convert book: E:\User\_S-W\Calibre\V.5.44.0\Marcel De Canck\Advanced Antena Modeling (6)\Advanced Antena Modeling - Marcel De Canck.kfx-zip with error:
KFX metadata reader (from KFX Input) activated for E:\User\_S-W\Calibre\V.5.44.0\Marcel De Canck\Advanced Antena Modeling (6)\Advanced Antena Modeling - Marcel De Canck.kfx-zip
DeDRM v10.0.9: Trying to decrypt Advanced Antena Modeling - Marcel De Canck.kfx-zip
Decrypting KFX-ZIP ebook: Advanced Antena Modeling - Marcel De Canck
Found 0 keys to try after 2.3 seconds
The .kfx-zip archive does not contain an encrypted DRMION file
Decryption succeeded after 2.3 seconds
DeDRM v10.0.9: Finished after 2.4 seconds
InputFormatPlugin: KFX Input running
on C:\Users\NATHAN~1\AppData\Local\Temp\calibre_kyddy x3s\plnb8eyt.kfx-zip
Software versions: KFX Input 2.7.0, calibre 5.44 [64bit], Windows-8.1-6.3.9600
KFX Input plugin help is available at https://www.mobileread.com/forums/sh...d.php?t=291290
Converting C:\Users\NATHAN~1\AppData\Local\Temp\calibre_kyddy x3s\plnb8eyt.kfx-zip
Processing container: B0C5463WW1_EBOK.azw
Processing container: CR!7ZVFHQADAH1NH5T0WYSSE9WS79TM.azw.res
Processing container: CR!9578E1PW0N409EN03ZHZ4Y8D8MKZ.azw.res
Processing container: CR!A2R47DDY5X5MNEG3W9A9FHA364QH.azw.res
Processing container: CR!BA4TSJA1DD0MHDKZ3XBZTDV3AB29.azw.res
Processing container: CR!HJQVD56Z9X0H779JS2JVEPJ4ECC0.azw.res
Processing container: CR!JP397B88397YXD8PR9M8V30NMVHT.azw.res
Processing container: CR!JQ55VAWT3N4CH5F8461H4BTQB0ZM.azw.md
Processing container: CR!KH6KNWAN8N13F8YSYGPXJ4HBT2XX.azw.res
Processing container: CR!KXXCXDM2ND1915P8XJ17T4ZC0145.azw.res
Processing container: CR!NNTEM1PA457NZ0XHFY6HKQBET46E.azw.res
Processing container: CR!PAS3NQ6JE97SVAZF287MNS14RX7D.azw.res
Processing container: CR!SAC6R032CH0X309D4MR277B058Y4.azw.res
Processing container: CR!W9JM6ZCF6X6FD208GP4JYE7STQKT.azw.res
Failed to run pipe worker with command: from calibre.srv.render_book import viewer_main; viewer_main()
Traceback (most recent call last):
File "calibre_plugins.kfx_input.__init__", line 102, in convert
File "calibre_plugins.kfx_input.kfxlib.yj_book", line 223, in decode_book
File "calibre_plugins.kfx_input.kfxlib.yj_structure ", line 517, in check_consistency
File "calibre_plugins.kfx_input.kfxlib.resources", line 504, in get_pdf_page_size
AttributeError: 'NoneType' object has no attribute 'PdfReader'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "runpy.py", line 194, in _run_module_as_main
File "runpy.py", line 87, in _run_code
File "site.py", line 82, in <module>
File "site.py", line 77, in main
File "site.py", line 49, in run_entry_point
File "calibre\utils\ipc\worker.py", line 196, in main
File "<string>", line 1, in <module>
File "calibre\srv\render_book.py", line 823, in viewer_main
File "calibre\srv\render_book.py", line 814, in render_for_viewer
File "calibre\srv\render_book.py", line 791, in render
File "calibre\ebooks\oeb\iterator\book.py", line 62, in extract_book
File "calibre\customize\conversion.py", line 242, in __call__
File "calibre_plugins.kfx_input.__init__", line 124, in convert
calibre.ebooks.conversion.ConversionUserFeedBack: {"msg": "<b>Cannot convert ?</b><br><br>AttributeError(\"'NoneType' object has no attribute 'PdfReader'\")", "level": "error", "det_msg": "", "title": "KFX conversion failed"}
rued is offline   Reply With Quote
Old 01-12-2024, 05:27 PM   #628
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,753
Karma: 86500093
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by rued View Post
Not sure, whether I've the same issue with a 'print replica' or not, but conversion from kfx-zip fails as well as opening in calibre viewer.
The error you are seeing is caused by a bug in the KFX Input plugin that causes it to fail when converting Print Replica books using calibre 5.x versions. That will be fixed in the next release of the plugin.

You will need to update calibre in order to process that book if you cannot wait.


Quote:
Originally Posted by rued View Post
Since I'm totally new here and at eBooke, etc., I don't understand 'how to use either the From KFX user interface plugin...'. Is it another plugin or a special execution mode?
"From KFX" is built into the KFX Input plugin. Instructions for adding it to the main calibre toolbar can be found in the first post of this thread.
jhowell is offline   Reply With Quote
Old 01-13-2024, 11:57 AM   #629
rued
Junior Member
rued began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2024
Device: none
Quote:
Originally Posted by jhowell View Post
The error you are seeing is caused by a bug in the KFX Input plugin that causes it to fail when converting Print Replica books using calibre 5.x versions. That will be fixed in the next release of the plugin.

You will need to update calibre in order to process that book if you cannot wait.

"From KFX" is built into the KFX Input plugin. Instructions for adding it to the main calibre toolbar can be found in the first post of this thread.
Thanky you so much for this crystal clear reply! Very much appreciated...
rued is offline   Reply With Quote
Old 01-13-2024, 01:28 PM   #630
rued
Junior Member
rued began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2024
Device: none
Addendum - "'NoneType' object has no attribute 'PdfReader'"

Just for information:

I tried the 'From KFX' option (EPUB is offered only) and it still causes the same error. No issue for me, I'll have the opportunity to switch to new notebook (Win 11 and thus most recent Calibre) soon...

Quote:
calibre, version 5.44.0
FEHLER: Unhandled exception: AttributeError("'NoneType' object has no attribute 'PdfReader'")

Software versions: From KFX 2.7.0, calibre 5.44 [64bit], Windows-8.1-6.3.9600
KFX Input plugin help is available at https://www.mobileread.com/forums/sh...d.php?t=291290

Processing C:\Users\NATHAN~1\AppData\Local\Temp\calibre_ncsxb lc9\format_abspath\Advanced Antena Modeling - Marcel De Canck.kfx-zip
Processing container: B0C5463WW1_EBOK.azw
Processing container: CR!7ZVFHQADAH1NH5T0WYSSE9WS79TM.azw.res
Processing container: CR!9578E1PW0N409EN03ZHZ4Y8D8MKZ.azw.res
Processing container: CR!A2R47DDY5X5MNEG3W9A9FHA364QH.azw.res
Processing container: CR!BA4TSJA1DD0MHDKZ3XBZTDV3AB29.azw.res
Processing container: CR!HJQVD56Z9X0H779JS2JVEPJ4ECC0.azw.res
Processing container: CR!JP397B88397YXD8PR9M8V30NMVHT.azw.res
Processing container: CR!JQ55VAWT3N4CH5F8461H4BTQB0ZM.azw.md
Processing container: CR!KH6KNWAN8N13F8YSYGPXJ4HBT2XX.azw.res
Processing container: CR!KXXCXDM2ND1915P8XJ17T4ZC0145.azw.res
Processing container: CR!NNTEM1PA457NZ0XHFY6HKQBET46E.azw.res
Processing container: CR!PAS3NQ6JE97SVAZF287MNS14RX7D.azw.res
Processing container: CR!SAC6R032CH0X309D4MR277B058Y4.azw.res
Processing container: CR!W9JM6ZCF6X6FD208GP4JYE7STQKT.azw.res

AttributeError("'NoneType' object has no attribute 'PdfReader'")
Traceback (most recent call last):
File "calibre_plugins.kfx_input.action", line 230, in perform_conversion
File "calibre_plugins.kfx_input.kfxlib.yj_book", line 223, in decode_book
File "calibre_plugins.kfx_input.kfxlib.yj_structure ", line 517, in check_consistency
File "calibre_plugins.kfx_input.kfxlib.resources", line 504, in get_pdf_page_size
AttributeError: 'NoneType' object has no attribute 'PdfReader'
rued is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Conversion Input] Microsoft Doc Input Plugin igi Plugins 76 06-28-2019 05:47 AM
KFX conversion, transfer back to library issue. shoelesshunter Conversion 2 08-22-2017 07:40 PM
[Conversion Input] LaTeX Formulas Input Conversion Plugin sevyls Plugins 0 03-23-2015 06:52 AM
[Input Plugin] DOCX Input SauliusP. Plugins 42 06-05-2013 05:01 AM
Looking For MHT Input Conversion Plugin FlooseMan Dave Plugins 4 03-30-2010 06:52 PM


All times are GMT -4. The time now is 12:30 AM.


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