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 04-17-2019, 09:10 PM   #226
mickjs
Junior Member
mickjs began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2019
Device: Calibre
KFX Input error on newly published ebook...

Hello, I hope this post is on-topic as I am new here. Any help would be greatly appreciated. Regards, M.

NOTES: (1) KFX In/Out both updated to latest versions; (2) The subject ebook was published on Amazon just hours ago; (3) KFX Input continues to work well on all previously purchased ebooks. (4) Ebook downloaded via Kindle Mac v1.23.1 (50131).
----------------------------------

calibre, version 3.40.1
ERROR: Could not open e-book: Failed to read book, XXXXXXXXXXXXXXXXXX.kfx click "Show Details" for more information

Traceback (most recent call last):
File "site-packages/calibre/utils/ipc/simple_worker.py", line 289, in main
File "site-packages/calibre/ebooks/oeb/iterator/book.py", line 65, in extract_book
File "site-packages/calibre/customize/conversion.py", line 244, in __call__
File "calibre_plugins.kfx_input.__init__", line 110, in convert
calibre.ebooks.conversion.ConversionUserFeedBack: {"level": "error", "title": "KFX conversion failed", "det_msg": "", "msg": "<b>Cannot convert ?</b><br><br>story ezHVJlO7Sl_6AGRbpI2HPw7597 content type $271 has extra data: ($179: ezHVJlO7Sl_6AGRbpI2HPw7602)"}
mickjs is offline   Reply With Quote
Old 04-18-2019, 08:24 AM   #227
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: 7,067
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by mickjs View Post
calibre.ebooks.conversion.ConversionUserFeedBack: {"level": "error", "title": "KFX conversion failed", "det_msg": "", "msg": "<b>Cannot convert ?</b><br><br>story ezHVJlO7Sl_6AGRbpI2HPw7597 content type $271 has extra data: ($179: ezHVJlO7Sl_6AGRbpI2HPw7602)"}
Thanks for the error report. Amazon has introduced a change to KFX. I will release an update to this plugin to handle it shortly. (In the next day or two.)

Last edited by jhowell; 04-18-2019 at 02:12 PM.
jhowell is offline   Reply With Quote
Advert
Old 04-19-2019, 09:19 AM   #228
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: 7,067
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Version 1.16.0 - 19 Apr 2019

Handle images containing links. (Fixes "story ... content type $271 has extra data: {$179: ...}")

Fix link colors sometimes being applied to the wrong element.
jhowell is offline   Reply With Quote
Old 04-19-2019, 09:13 PM   #229
mickjs
Junior Member
mickjs began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2019
Device: Calibre
Thank you for version 1.16.0

Thank you jhowell. Works well!
mickjs is offline   Reply With Quote
Old 04-24-2019, 06:32 AM   #230
Timboli
Sharpest Tool On Shelf
Timboli ought to be getting tired of karma fortunes by now.Timboli ought to be getting tired of karma fortunes by now.Timboli ought to be getting tired of karma fortunes by now.Timboli ought to be getting tired of karma fortunes by now.Timboli ought to be getting tired of karma fortunes by now.Timboli ought to be getting tired of karma fortunes by now.Timboli ought to be getting tired of karma fortunes by now.Timboli ought to be getting tired of karma fortunes by now.Timboli ought to be getting tired of karma fortunes by now.Timboli ought to be getting tired of karma fortunes by now.Timboli ought to be getting tired of karma fortunes by now.
 
Timboli's Avatar
 
Posts: 661
Karma: 2587836
Join Date: Feb 2009
Location: Downunda
Device: Kindles, Kobo & Samsung Tablet
@jhowell - Thanks again.
Timboli is offline   Reply With Quote
Advert
Old 04-26-2019, 10:54 AM   #231
stefano.sb
Zealot
stefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheese
 
Posts: 103
Karma: 1000
Join Date: May 2013
Device: Kindle Paperwhite
Quote:
Originally Posted by jhowell View Post
I will submit a patch to calibre for this, but it may be a while before it becomes available.

(added: The patch has been submitted.)
Thanks jhowell. Is there a patch number so I can control when it will became available in Calibre? Is it a complicated code?

Thanks again

Stefano
stefano.sb is offline   Reply With Quote
Old 04-26-2019, 01:20 PM   #232
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: 7,067
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by stefano.sb View Post
Thanks jhowell. Is there a patch number so I can control when it will became available in Calibre? Is it a complicated code?
It is in the 3.41 release. You will need to delete the files containing cached metadata on your device to have it take effect for books that are already present there.
jhowell is offline   Reply With Quote
Old 04-26-2019, 05:09 PM   #233
stefano.sb
Zealot
stefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheese
 
Posts: 103
Karma: 1000
Join Date: May 2013
Device: Kindle Paperwhite
Quote:
Originally Posted by jhowell View Post
It is in the 3.41 release. You will need to delete the files containing cached metadata on your device to have it take effect for books that are already present there.
Thanks jhowell, it works for all books except for a very few kfx files

One of these is an italian ebook titled La forma dell'acqua. Camilleri tra letteratura e fiction (Italian Edition). I have seen that on DeviceView the author of this ebook is Silvestra Sorbera & Unknown but after adding it into Calibre the author becames only Silvestra Sorbera.

Attached to this post the metadata.kfx file. Thanks again for the support and patience...

Stefano
Attached Files
File Type: zip metadata.zip (62.4 KB, 241 views)
stefano.sb is offline   Reply With Quote
Old 04-26-2019, 08:02 PM   #234
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: 7,067
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by stefano.sb View Post
One of these is an italian ebook titled La forma dell'acqua. Camilleri tra letteratura e fiction (Italian Edition). I have seen that on DeviceView the author of this ebook is Silvestra Sorbera & Unknown but after adding it into Calibre the author becames only Silvestra Sorbera.
The new code in calibre takes the title from the new metadata, but still combines author information from both old and new metadata. For that book the old style metadata has the author as "Unknown". At this point I am not inclined to make any further changes. It should work for most books.
jhowell is offline   Reply With Quote
Old 04-28-2019, 05:54 PM   #235
stefano.sb
Zealot
stefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheese
 
Posts: 103
Karma: 1000
Join Date: May 2013
Device: Kindle Paperwhite
Quote:
Originally Posted by jhowell View Post
The new code in calibre takes the title from the new metadata, but still combines author information from both old and new metadata. For that book the old style metadata has the author as "Unknown". At this point I am not inclined to make any further changes. It should work for most books.
ok, but... after adding the ebook in Calibre Library the author is only Silvestra Sorbera and not Silvestra Sorbera & Unknown. The "& Unknown" automatically disappears...

Also Kindle device for this ebook shows only Silvestra Sorbera...

Why does Calibre combine author information from both old and new metadata if also Kindle device seems to use information from new metadata?

Attached to this post there is the "metadata.kfx" from another ebook that has two authors ("Giorgio Colangelo & Massimo Temporelli"). For this ebook the adding process works perfectly with the same information (title and author) on both Calibre Library and On Device View. Can you have a look?

Thanks

Stefano
Attached Files
File Type: zip metadata.zip (45.1 KB, 218 views)
stefano.sb is offline   Reply With Quote
Old 04-29-2019, 01:29 PM   #236
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: 7,067
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by stefano.sb View Post
Why does Calibre combine author information from both old and new metadata if also Kindle device seems to use information from new metadata?
Both calibre and this plugin should probably use only the new metadata if both old and new are available. I will look into changing this when I have time, but it won't be soon.
jhowell is offline   Reply With Quote
Old 04-29-2019, 03:57 PM   #237
stefano.sb
Zealot
stefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheese
 
Posts: 103
Karma: 1000
Join Date: May 2013
Device: Kindle Paperwhite
Quote:
Originally Posted by jhowell View Post
Both calibre and this plugin should probably use only the new metadata if both old and new are available. I will look into changing this when I have time, but it won't be soon.
Thanks

Stefano
stefano.sb is offline   Reply With Quote
Old 05-03-2019, 08:58 AM   #238
stefano.sb
Zealot
stefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheese
 
Posts: 103
Karma: 1000
Join Date: May 2013
Device: Kindle Paperwhite
KFX Input error opening a KFX ebook

Hi jhowell,

- KFX Input updated to latest versions;
- KFX Input continues to work well on all previously purchased ebooks.
- Ebook imported into Calibre from kindle Device using "Add books to library"

Below error log:

calibre, version 3.42.0
ERROR: Could not open e-book: Failed to read book, XXXXXXXXXXXXXXXXXX.kfx-zip click "Show Details" for more information

Traceback (most recent call last):
File "site-packages\calibre\utils\ipc\simple_worker.py", line 291, in main
File "site-packages\calibre\ebooks\oeb\iterator\book.py", line 65, in extract_book
File "site-packages\calibre\customize\conversion.py", line 245, in __call__
File "calibre_plugins.kfx_input.__init__", line 110, in convert
calibre.ebooks.conversion.ConversionUserFeedBack: {"det_msg": "", "title": "KFX conversion failed", "msg": "<b>Cannot convert ?</b><br><br>Book is incomplete. All of the KFX container files that make up the book must be combined into a KFX-ZIP file for successful conversion. (Missing containers CR!RT1CJQWZG11QFAMFRFDXSHZJBVS9)", "level": "error"}

Thanks

Stefano
stefano.sb is offline   Reply With Quote
Old 05-03-2019, 09:22 AM   #239
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: 7,067
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by stefano.sb View Post
Book is incomplete. All of the KFX container files that make up the book must be combined into a KFX-ZIP file for successful conversion. (Missing containers CR!RT1CJQWZG11QFAMFRFDXSHZJBVS9)
One of the KFX files that makes up the book is missing from your device. Try removing the book and downloading it again.

If that does not fix it then I will need more information about that book in order to pursue the problem.
jhowell is offline   Reply With Quote
Old 05-03-2019, 09:51 AM   #240
stefano.sb
Zealot
stefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheesestefano.sb can extract oil from cheese
 
Posts: 103
Karma: 1000
Join Date: May 2013
Device: Kindle Paperwhite
Quote:
Originally Posted by jhowell View Post
One of the KFX files that makes up the book is missing from your device. Try removing the book and downloading it again.

If that does not fix it then I will need more information about that book in order to pursue the problem.
Thanks, I removed the book and downloaded it again. Now it works!

P.S.
I can also confirm that KFX Input and Calibre (Device View) use different methods to read author information from a kfx ebook. I have some other ebooks that in Calibre Device View have incorrect values in author information
("& Unknow" or duplicate values) that, after importing them with KFX Input, are correct!

Stefano
stefano.sb is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 12:23 PM.


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