Open Night-Light21 opened 9 months ago
I also tried removing the converter plugin based on the ticket https://github.com/noDRM/DeDRM_tools/discussions/451. Calibre did not allow me to convert due to the file remaining as a KFX.
You need DeDRM 10.0.9 and the KFX Input plugin.
ElleKayEm-
Apologies if this not the appropriate place or method for posting a response - I literally just joined GitHub after reading the various forums, FAQs and posts in an attempt to de-bug an issue that suddenly cropped up two days ago in my use of Calibre and the de-DRM (now NoDRM) plugin. I've been using both successfully for years by downloading books from my amazon account for my linked Kindle Paperwhite, then storing the files in Calibre where I also removed the DRM so that I could read library books when I got around to it, rather than in the 2-3 weeks allowed by DRM. This was still working as of 2/5/24, but when I downloaded some library books on 2/20/24 I got an error message that they were locked by DRM and could not be opened. So I upgraded Calibre to 7.5.1 and installed both the NoDRM (first 10.0.3 then 10.0.9) and then, when it still didn't work, also added the KFX input plugin (2.8.1) and re-installed NoDRM 10.0.9, but still no joy. Any advice as to next steps?
Best, RH
You're downloading them directly to your Paperwhite? Are you leaving the files in their original folder structure?
No, I download them to my PC (Windows 11), then load them into Calibre, then load them to the Kindle from Calibre. I assume Calibre is putting them in the appropriate folder on the kindle as they show up there and are readable on the kindle (at least for now)
Downloading them from the website with the "transfer via usb" option? Then you don't have to worry about folder structure because there's only the one file. Just make sure you pick your Paperwhite as the device and make sure its serial number is correctly entered into DeDRM's customization.
Have done both of those (serial number, device) and it's still not working, despite having worked hundreds of times in the past with no change on my end - that's why I'm posting here
Post a log and we'll see if that tells us anything: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md#i-cannot-solve-my-problem-with-the-dedrm-plugin-and-now-i-need-to-post-a-log-how-do-i-do-that
Done. Here's the log:
ApplicationPaletteChange event ignored Using calibre Qt style: True calibre Debug log calibre 7.5.1 embedded-python: True Windows-10-10.0.22621-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.22621') Python 3.11.5 Windows: ('10', '10.0.22621', 'SP0', 'Multiprocessor Free') Interface language: None EXE path: C:\Program Files\Calibre2\calibre-debug.exe Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (2, 8, 1) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 8, 1) && KFX metadata reader (from KFX Input) (2, 8, 1) && From KFX (2, 8, 1) && KFX Input (2, 8, 1) calibre 7.5.1 embedded-python: True Windows-10-10.0.22621-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.22621') Python 3.11.5 Windows: ('10', '10.0.22621', 'SP0', 'Multiprocessor Free') Interface language: None EXE path: C:\Program Files\Calibre2\calibre-debug.exe Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (2, 8, 1) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 8, 1) && KFX metadata reader (from KFX Input) (2, 8, 1) && From KFX (2, 8, 1) && KFX Input (2, 8, 1) QPA platform: windows devicePixelRatio: 1.5 logicalDpi: 96.0 x 96.0 physicalDpi: 109.21999999999998 x 109.18208955223879 [0.00] Starting up... [0.00] Showing splash screen... [0.20] splash screen shown [0.20] Initializing db... [0.22] db initialized [0.22] Constructing main UI... [0.97] GUI main window shown [1.09] main UI initialized... [1.09] Hiding splash screen DeDRM v10.0.9: Trying to decrypt Icarus A Novel (Benny Griessel Mysteries Book 5).azw3 [48.50] splash screen hidden [48.50] Started up in 48.50 seconds with 659 books stdout+stderr from file dialog helper: [b'', b''] piped data from file dialog helper: [b'v\xdb\xac\xcf\xd2r\x92\x0bs\xa5"\xd6\xa7\xbc@W\x1f\xe1\xa7\rv=.\xef\xda$\xda\x94\xb7\x9cY\x15', b'C:\Users\SimonKennedy\Downloads\Failed\Icarus A Novel (Benny Griessel Mysteries Book 5).azw3'] MobiDeDrm v1.1. Copyright © 2008-2022 The Dark Reverser, Apprentice Harper et al. Decrypting Kindle Format 8 ebook: Icarus: A Novel (Benny Griessel Mysteries Book 5) Found 4 keys to try after 1.3 seconds Crypto Type is: 2 DeDRM v10.0.9: Failed to decrypt with error: No key found in 4 PIDs tried. DeDRM v10.0.9: Looking for new default Kindle Key after 1.3 seconds searching for kinfoFiles in C:\Users\SimonKennedy\AppData\Local No K4PC kindle.info/kinf/kinf2011 files have been found. DeDRM v10.0.9: Ultimately failed to decrypt after 1.3 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 931, in KindleMobiDecrypt File "C:\Users\SimonKennedy\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook File "C:\Users\SimonKennedy\AppData\Roaming\calibre\plugins\DeDRM.zip\mobidedrm.py", line 401, in processBook mobidedrm.DrmException: No key found in 4 PIDs tried.
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "calibre\customize\ui.py", line 187, in _run_filetype_plugins File "calibre_plugins.dedrm.init", line 1030, in run File "calibre_plugins.dedrm.init", line 981, in KindleMobiDecrypt calibre_plugins.dedrm.DeDRMError: DeDRM v10.0.9: Ultimately failed to decrypt after 1.3 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md
The log shows DeDRM doesn't like the keys you have in there for that copy of the book. Humor me and try this even if you're 100% sure it won't help:
Download a fresh copy of a book making sure you're choosing your Paperwhite (if you have more than one device). Copy and paste the Paperwhite's serial number from the website into DeDRM's customization. Click save or ok as needed on the way out of the dialog boxes. Restart calibre. Add the fresh copy of the book to calibre. If it still doesn't work, then I'd guess that Amazon has changed something about the way library books are encrypted. Or are you having the same issue with purchased books?
So I deleted my old kindle serial # (which I had left in Calibre) and re-added the current one, as you directed, but got the same result. My wife, who has an older version of Calibre and DeDRM and her own kindle and Amazon account experienced the exact same thing when I asked her to try downloading and loading a library book, so I’m afraid it does seem likely that Amazon has changed how they handle library books. I haven’t tried a purchased book, as all the one I already own are already in Calibre with their DRM removed, but I suppose I could try deleting and re-adding one if you think it wb helpful
Thanks for all your help with this, BTW
From: ElleKayEm @.> Sent: Friday, February 23, 2024 6:51 PM To: noDRM/DeDRM_tools @.> Cc: RationalHuman @.>; Comment @.> Subject: Re: [noDRM/DeDRM_tools] Amazon E-Book DRM not being removed in Calibre (Issue #493)
The log shows DeDRM doesn't like the keys you have in there for that copy of the book. Humor me and try this even if you're 100% sure it won't help:
Download a fresh copy of a book making sure you're choosing your Paperwhite (if you have more than one device). Copy and paste the Paperwhite's serial number from the website into DeDRM's customization. Click save or ok as needed on the way out of the dialog boxes. Restart calibre. Add the fresh copy of the book to calibre. If it still doesn't work, then I'd guess that Amazon has changed something about the way library books are encrypted. Or are you having the same issue with purchased books?
— Reply to this email directly, view it on GitHub https://github.com/noDRM/DeDRM_tools/issues/493#issuecomment-1962145569 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BGKWGBW7GZZ6ND2BN6NLOZLYVETNZAVCNFSM6AAAAABDQUYG5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRSGE2DKNJWHE . You are receiving this because you commented. https://github.com/notifications/beacon/BGKWGBX3VWIQHOET44TPRLTYVETNZA5CNFSM6AAAAABDQUYG5KWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTU6P3SC.gif Message ID: @. @.> >
Alright, I just tried myself. No issues. Try my instructions exactly as written.
I must admit I was a bit annoyed by this advice, but I did repeat the steps, exactly and in order, and found that the old serial number I thought I had deleted was still there – I missed the ‘Apply’ button in the sequence. Repeated it all correctly, confirmed that the only serial number shown was the correct one, quite and re-started and re-loaded and…. It worked!
Thanks, again, for your help!
From: ElleKayEm @.> Sent: Saturday, February 24, 2024 12:53 PM To: noDRM/DeDRM_tools @.> Cc: RationalHuman @.>; Comment @.> Subject: Re: [noDRM/DeDRM_tools] Amazon E-Book DRM not being removed in Calibre (Issue #493)
Alright, I just tried myself. No issues. Try my instructions exactly as written.
— Reply to this email directly, view it on GitHub https://github.com/noDRM/DeDRM_tools/issues/493#issuecomment-1962436879 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BGKWGBU6P6XYRRFCQ6VCWRLYVISG3AVCNFSM6AAAAABDQUYG5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRSGQZTMOBXHE . You are receiving this because you commented. https://github.com/notifications/beacon/BGKWGBTNFZNS4QMHNYY4PF3YVISG3A5CNFSM6AAAAABDQUYG5KWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTU7BUQ6.gif Message ID: @. @.> >
No need to delete serial numbers. As long as one of them is the correct one for that copy of the book, all should be good.
Question / bug report
After installing both the KFX Plug in and the DeDRM plugin, the issue persists where DRM remains on Amazon Kindle books. The book was downloaded to thePC via the Kindle app.
Which version of Calibre are you running?
7.5.1
Which version of the DeDRM plugin are you running?
10.0.3
If applicable, which version of the Kindle software are you running?
2.3.1
Log output