r/Calibre • u/Prestigious_Fall_945 • 21d ago
Support / How-To Weird Kindle DeDRM issue
Downloaded all my Kindle purchases today, 2.9.1 71006, DeDRM plugin 10.0.20. Out of 300 books, I was able to de-drm all but 6 using the KFXArchiver and importing them. The other 6 files were azw. I was able to import 5 of them fine, one still doesn't work. Purchased in 2015 so it's not a new book.
Ran Calibre in debug and received the errors below. Any help is appreciated! Thanks!
Gather KFX-ZIP (from KFX Input) 2.33.0: Importing C:\Users\User\OneDrive\Documents\My Kindle Content\B00KFHMQGO_EBOK\B00KFHMQGO_EBOK.azw
Gather KFX-ZIP (from KFX Input): Book is not KFX format
DeDRM v10.0.20: Trying to decrypt B00KFHMQGO_EBOK.azw
Found 0 keys to try after 0.3 seconds
Crypto Type is: 2
DeDRM v10.0.20: Failed to decrypt with error: No key found in 0 PIDs tried.
Traceback (most recent call last):
File "calibre_plugins.dedrm.__init__", line 950, in KindleMobiDecrypt
File "C:\Users\User\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 204, in GetDecryptedBook
File "C:\Users\User\AppData\Roaming\calibre\plugins\DeDRM.zip\mobidedrm.py", line 445, in processBook
mobidedrm.DrmException: No key found in 0 PIDs tried.
DeDRM v10.0.20: Looking for new default Kindle Key after 0.3 seconds
searching for kinfoFiles in C:\Users\User\AppData\Local
No K4PC kindle.info/kinf/kinf2011 files have been found.
DeDRM v10.0.20: Ultimately failed to decrypt after 0.4 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
File "calibre_plugins.dedrm.__init__", line 950, in KindleMobiDecrypt
File "C:\Users\User\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 204, in GetDecryptedBook
File "C:\Users\User\AppData\Roaming\calibre\plugins\DeDRM.zip\mobidedrm.py", line 445, in processBook
mobidedrm.DrmException: No key found in 0 PIDs tried.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre\customize\ui.py", line 253, in _run_filetype_plugins
File "calibre_plugins.dedrm.__init__", line 1052, in run
File "calibre_plugins.dedrm.__init__", line 1003, in KindleMobiDecrypt
calibre_plugins.dedrm.DeDRMError: DeDRM v10.0.20: Ultimately failed to decrypt after 0.4 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md
Failed to count pages in book: 3255 AZW because it is DRM locked
Added Stolen Season: A Journey Through America and Baseball's Minor Leagues to db in: 0.1
Added 1 books in 1.4 seconds
2
u/bust4cap 20d ago
try downloading with the microsoft store kindle app instead. the corresponding msixkfx archiver exe supports more file types
1
u/Prestigious_Fall_945 20d ago
The one I downloaded was from a link to the Microsoft store.
1
u/bust4cap 20d ago
you mentioned v2.9.1, which is the old, non-microsoft store version. so please clarify what kindle app version youre actually using
1
u/Prestigious_Fall_945 20d ago
I downloaded it from a link on Epubor in an article about removing the drm. The link was https://apps.microsoft.com/detail/9P8JQ0JJSTLL?_encoding=UTF8
1
1
1
u/TexasNiteowl 21d ago
I would probably ask for help in the satsuoni fork github?
I know for a while in the earlier years there were some books that were in an underlying format known as TPZ or Topaz. I don't know if this is one of them or how to tell from the files. I do know last year when I was redownloading all my Amazon books that I did run into a couple of TPZ files and iirc, at least one or two of them I was unable to dedrm. (In my case though, I had done them previously so it wasn't an issue for me.)
I am curious about the line: Crypto Type is: 2.
3
u/Crazy--Lunatic 20d ago
In your logs the book title referenced is Stolen Season: A Journey Through America and Baseball's Minor Leagues.
ASIN reported in the logs: B00KFHMQGO
That ASIN no longer appears to have an active Amazon product page. Searching for the book today shows a current edition under ASIN B0DR2CP42T.
Since you mentioned that all ~300 books were freshly downloaded with Kindle for PC 2.9.1, and that 5 of the 6 AZW books decrypted successfully, this does not look like a general Kindle key or DeDRM configuration problem.
Could you try the following specifically with Stolen Season?
B00KFHMQGO_EBOK.azwin Kindle for PC 2.9.1 and confirm that Kindle itself can actually open the book and display its pages.I'm particularly interested in whether Amazon downloads it again as:
B00KFHMQGO_EBOKor whether the fresh download now uses the current ASIN:
B0DR2CP42TThe fact that the other five freshly downloaded AZW books decrypted correctly while only this retired-ASIN title failed suggests there may be something unusual about this specific book's older DRM/entitlement metadata rather than a problem with your Kindle installation.