View Single Post
Old 06-02-2018, 10:57 AM   #12
lalitsheoran
Junior Member
lalitsheoran began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2018
Device: Kindle
Quote:
Originally Posted by jhowell View Post
When importing a book from Kindle for PC/Mac the original file name will have an ".azw" extension. If the import process fails it can result in the book showing AZW format within your calibre library. calibre will treat that as being in a different Kindle e-book format than KFX, leading the error "Failed to convert: (name) This is an Amazon KFX book. It cannot be processed...." when attempting to convert it to another format.

Some things to check:

Make sure that you have both the KFX Input plugin and the DeDRM plugin installed and that you restarted calibre after installation.

When you import the main book file it must be in its original location in a subfolder of the "My Kindle Content" folder.

If you can't resolve the problem you will need to create and post a log of the import process in order to determine what is going wrong: Click the Preferences drop-down menu and choose "Restart in debug mode". Once calibre has re-started, import the problem ebook. Now close calibre. A log will appear that you can copy and paste.
I tried importing 3 different kfx ebooks but they all got imported as kfx-zip , i can see their cover and other meta info in caliber but cant open or convert those. Here is the log -

Spoiler:

calibre Debug log
calibre 3.4 embedded-python: True is64bit: False
Windows-7-6.1.7601-SP1 Windows ('32bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.12+
Windows: ('7', '6.1.7601', 'SP1', u'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP File Type (from KFX Input) (1, 4, 0) && DeDRM (6, 6, 0) && Package KFX File Type (from KFX Input) (1, 4, 0) && KindleUnpack - The Plugin (0, 81, 5) && KFX metadata reader (from KFX Input) (1, 4, 0) && KFX Input (1, 4, 0)
calibre 3.4 embedded-python: True is64bit: False
Windows-7-6.1.7601-SP1 Windows ('32bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.12+
Windows: ('7', '6.1.7601', 'SP1', u'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP File Type (from KFX Input) (1, 4, 0) && DeDRM (6, 6, 0) && Package KFX File Type (from KFX Input) (1, 4, 0) && KindleUnpack - The Plugin (0, 81, 5) && KFX metadata reader (from KFX Input) (1, 4, 0) && KFX Input (1, 4, 0)
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 72.0487534626 x 71.9822878229
Using calibre Qt style: True
Starting up...
Started up in 61.06 seconds with 133 books
stdout+stderr from file dialog helper: ['', '']
piped data from file dialog helper: ['td\xdee\xe6\x02jZE\xcel\xe4\xd0\xaf\x9ej\xdft2\xf 5\x08\x80\x85;\xfee\xd7\x18\xa6\xc3h\xb7', 'C:\\Users\\LaLiT\\Documents\\My Kindle Content\\B01MFF4WAV_EBOK\\B01MFF4WAV_EBOK.azw']
Gather KFX-ZIP File Type (from KFX Input) 1.4.0: Importing C:\Users\LaLiT\Documents\My Kindle Content\B01MFF4WAV_EBOK\B01MFF4WAV_EBOK.azw
Gather KFX-ZIP File Type (from KFX Input): Gathered 6 files as C:\Users\LaLiT\AppData\Local\Temp\calibre_cqevro\j 3xhgd.kfx-zip
DeDRM v6.6.0: Trying to decrypt j3xhgd.kfx-zip
Using Library AlfCrypto Python
Decrypting KFX-ZIP ebook: j3xhgd
Got DSN key from database default_key
Found 1 keys to try after 0.1 seconds
Decrypting KFX DRM voucher: amzn1.drm-voucher.v1.b63c2321-5bde-4dec-9cf1-5070e5f5af6d.voucher
KFX DRM voucher successfully decrypted
DeDRM v6.6.0: Failed to decrypt with error: This book is licensed as KindleUnlimited. These tools are intended for use on purchased books.
DeDRM v6.6.0: Looking for new default Kindle Key after 0.2 seconds
searching for kinfoFiles in C:\Users\LaLiT\AppData\Local
Found K4PC 1.9+ kinf2011 file: C:\Users\LaLiT\AppData\Local\Amazon\Kindle\storage \.kinf2011
Decrypted key file using IDString '115143377' and UserName '4c614c6954'
DeDRM v6.6.0: Found 1 new key
Decrypting KFX-ZIP ebook: j3xhgd
Got DSN key from database default_key_1
Found 1 keys to try after 0.4 seconds
Decrypting KFX DRM voucher: amzn1.drm-voucher.v1.b63c2321-5bde-4dec-9cf1-5070e5f5af6d.voucher
KFX DRM voucher successfully decrypted
DeDRM v6.6.0: Ultimately failed to decrypt after 0.4 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/...master/FAQs.md
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
File "site-packages\calibre\customize\ui.py", line 171, in _run_filetype_plugins
File "calibre_plugins.dedrm.__init__", line 620, in run
File "calibre_plugins.dedrm.__init__", line 570, in KindleMobiDecrypt
DeDRMError: DeDRM v6.6.0: Ultimately failed to decrypt after 0.4 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/...master/FAQs.md
Package KFX File Type (from KFX Input) 1.4.0: Packaging C:\Users\LaLiT\AppData\Local\Temp\calibre_cqevro\j 3xhgd.kfx-zip
Processing container: B01MFF4WAV_EBOK.azw
Running file type plugin Package KFX File Type (from KFX Input) failed with traceback:
Traceback (most recent call last):
File "site-packages\calibre\customize\ui.py", line 171, in _run_filetype_plugins
File "calibre_plugins.kfx_input.package_filetype", line 22, in run
File "calibre_plugins.kfx_input.package_filetype", line 35, in run_kfx
File "calibre_plugins.kfx_input.kfxlib.yj_book", line 52, in convert_to_single_kfx
File "calibre_plugins.kfx_input.kfxlib.yj_book", line 118, in decode_book
File "calibre_plugins.kfx_input.kfxlib.yj_book", line 205, in get_container
KFXDRMError: Book container B01MFF4WAV_EBOK.azw has DRM and cannot be converted
KFX metadata reader (from KFX Input) activated for C:\Users\LaLiT\AppData\Local\Temp\calibre_cqevro\o mohp7_add_books\0\B01MFF4WAV_EBOK.kfx-zip
Added Nithalle Ki Diary (Hindi) to db in: 1.6
Added 1 books in 4.1 seconds

Last edited by theducks; 06-02-2018 at 12:27 PM. Reason: wrap log in SPOILER tags
lalitsheoran is offline   Reply With Quote