Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect DeDRM with DeDRM eInk ebooks #709

Open
ErinGolder opened this issue Jan 18, 2025 · 3 comments
Open

Connect DeDRM with DeDRM eInk ebooks #709

ErinGolder opened this issue Jan 18, 2025 · 3 comments

Comments

@ErinGolder
Copy link

Question / bug report

I have the correct serial number entered into the plugin but it isn't removing the D

Which version of Calibre are you running?

7.24

Which version of the DeDRM plugin are you running?

v10.0.3

If applicable, which version of the Kindle software are you running?

No response

Log output

ApplicationPaletteChange event ignored
Using calibre Qt style: True
calibre Debug log
calibre 7.24  embedded-python: True
Windows-10-10.0.26100-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.26100')
Python 3.11.5
Windows: ('10', '10.0.26100', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre-debug.exe
Successfully initialized third party plugins: DeDRM (10, 0, 3)
calibre 7.24  embedded-python: True
Windows-10-10.0.26100-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.26100')
Python 3.11.5
Windows: ('10', '10.0.26100', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre-debug.exe
Successfully initialized third party plugins: DeDRM (10, 0, 3)
QPA platform: windows
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 92.53889943074003 x 92.67567567567568
[0.00] Starting up...
[0.00] Showing splash screen...
[1.16] splash screen shown
[1.16] Initializing db...
[1.16] db initialized
[1.16] Constructing main UI...
[1.38] GUI main window shown
[1.41] main UI initialized...
[1.41] Hiding splash screen
[1.41] splash screen hidden
[1.41] Started up in 1.41 seconds with 0 books
DeDRM v10.0.3: Trying to decrypt [Book Name].azw3
Using Library AlfCrypto DLL/DYLIB/SO
MobiDeDrm v1.1.
Copyright © [Copyright Name]
Decrypting Kindle Format 8 ebook: [Book Name]
Found 2 keys to try after 0.1 seconds
Crypto Type is: 2
DeDRM v10.0.3: Failed to decrypt with error: No key found in 2 PIDs tried.
DeDRM v10.0.3: Looking for new default Kindle Key after 0.1 seconds
searching for kinfoFiles in C:\Users\Admin\AppData\Local
Found K4PC 1.25+ kinf2018 file: C:\Users\Admin\AppData\Local\Amazon\Kindle\storage\.kinf2018
Decrypted key file using IDString '2760538796' and UserName 'Admin'
DeDRM v10.0.3: Found 1 new key
MobiDeDrm v1.1.
Copyright © [Copyright Name]
Decrypting Kindle Format 8 ebook: [Book Name]
Got DSN key from database key_0
Found 4 keys to try after 0.2 seconds
Crypto Type is: 2
Traceback (most recent call last):
  File "calibre_plugins.dedrm.__init__", line 957, in KindleMobiDecrypt
  File "C:\Users\Admin\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 261, in GetDecryptedBook
  File "C:\Users\Admin\AppData\Roaming\calibre\plugins\DeDRM.zip\mobidedrm.py", line 501, in processBook
mobidedrm.DrmException: No key found in 2 PIDs tried.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre_plugins.dedrm.__init__", line 991, in KindleMobiDecrypt
  File "C:\Users\Admin\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 261, in GetDecryptedBook
  File "C:\Users\Admin\AppData\Roaming\calibre\plugins\DeDRM.zip\mobidedrm.py", line 501, in processBook
mobidedrm.DrmException: No key found in 4 PIDs tried.
DeDRM v10.0.3: Ultimately failed to decrypt after 0.2 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 957, in KindleMobiDecrypt
  File "C:\Users\Admin\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 261, in GetDecryptedBook
  File "C:\Users\Admin\AppData\Roaming\calibre\plugins\DeDRM.zip\mobidedrm.py", line 501, in processBook
mobidedrm.DrmException: No key found in 2 PIDs tried.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre\customize\ui.py", line 201, in _run_filetype_plugins
  File "calibre_plugins.dedrm.__init__", line 1056, in run
  File "calibre_plugins.dedrm.__init__", line 1007, in KindleMobiDecrypt
calibre_plugins.dedrm.DeDRMError: DeDRM v10.0.3: Ultimately failed to decrypt after 0.2 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md
Added [Book Name] to db in: 0.1
Added 1 books in 0.5 seconds


@ElleKayEm
Copy link

You chose an E-ink Kindle (not a Fire) when downloading? Make sure you have that Kindle's serial number in there correctly. Copy and paste it from the website.

@ErinGolder
Copy link
Author

I have the serial number in there correctly and copied and pasted it. Still doesn't work. Can you expand on what you mean in your first question? I selected Kindle eInk ebooks when adding the serial number

@ElleKayEm
Copy link

I am guessing that you are downloading the book with the download & transfer option from the website. When you select which device, it should be an E-ink Kindle, not a Fire. This method won't work with books for a Fire. If you do not have an E-ink Kindle (pre 2024 model), then you will need to use a different method. See this post for details: https://www.mobileread.com/forums/showthread.php?t=361503

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants