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

DRM Not removed #722

Open
OsvaldoRosso opened this issue Feb 11, 2025 · 1 comment
Open

DRM Not removed #722

OsvaldoRosso opened this issue Feb 11, 2025 · 1 comment

Comments

@OsvaldoRosso
Copy link

Question / bug report

No response

Which version of Calibre are you running?

7.25

Which version of the DeDRM plugin are you running?

v10.0.3

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

2.6.1

Log output

ApplicationPaletteChange event ignored
Using calibre Qt style: True
calibre Registro de depuración
calibre 7.25  embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.11.5
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: es
EXE path: C:\Program Files\Calibre2\calibre-debug.exe
Successfully initialized third party plugins: DeDRM (10, 0, 3)
calibre 7.25  embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.11.5
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: es
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: 88.1880650994575 x 88.20578778135048
[0.00] Starting up...
[0.00] Showing splash screen...
[1.19] splash screen shown
[1.19] Initializing db...
[1.20] db initialized
[1.20] Constructing main UI...
[1.56] GUI main window shown
[1.62] main UI initialized...
[1.62] Hiding splash screen
[1.62] splash screen hidden
[1.62] Started up in 1.62 seconds with 1 books
DeDRM v10.0.3: Trying to decrypt Enslaved On An-Kil-Lye.azw3
Using Library AlfCrypto DLL/DYLIB/SO
MobiDeDrm v1.1.
Copyright © 2008-2020 The Dark Reverser, Apprentice Harper et al.
Decrypting Kindle Format 8 ebook: Enslaved On An-Kil-Lye
Found 0 keys to try after 0.1 seconds
Crypto Type is: 2
DeDRM v10.0.3: Failed to decrypt with error: No key found in 0 PIDs tried.
DeDRM v10.0.3: Looking for new default Kindle Key after 0.1 seconds
searching for kinfoFiles in C:\Users\orosso\AppData\Local
Found K4PC 1.25+ kinf2018 file: C:\Users\orosso\AppData\Local\Amazon\Kindle\storage\.kinf2018
Decrypted key file using IDString '585337197' and UserName 'orosso'
DeDRM v10.0.3: Found 1 new key
MobiDeDrm v1.1.
Copyright © 2008-2020 The Dark Reverser, Apprentice Harper et al.
Decrypting Kindle Format 8 ebook: Enslaved On An-Kil-Lye
Got DSN key from database key_0
Found 4 keys to try after 0.3 seconds
Crypto Type is: 2
Traceback (most recent call last):
  File "calibre_plugins.dedrm.__init__", line 957, in KindleMobiDecrypt
  File "C:\Users\orosso\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 261, in GetDecryptedBook
  File "C:\Users\orosso\AppData\Roaming\calibre\plugins\DeDRM.zip\mobidedrm.py", line 501, 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_plugins.dedrm.__init__", line 991, in KindleMobiDecrypt
  File "C:\Users\orosso\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 261, in GetDecryptedBook
  File "C:\Users\orosso\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.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 957, in KindleMobiDecrypt
  File "C:\Users\orosso\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 261, in GetDecryptedBook
  File "C:\Users\orosso\AppData\Roaming\calibre\plugins\DeDRM.zip\mobidedrm.py", line 501, 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 200, 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.3 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md
stdout+stderr from file dialog helper: [b'', b'']
piped data from file dialog helper: [b'\xa5\x80 qP\x1d\xdb\xc5\x1c\xb9\xfa9\xa2(\x9c\x82~\xa2\xdc\xf2\x05\x13\x13\xa3\xc7\xd7\xf1\xfd\x1e\xd7w%', b'D:\\Usuarios\\Orosso\\Downloads\\Enslaved On An-Kil-Lye.azw3']
Added Enslaved On An-Kil-Lye to db in: 0.2
Added 1 books in 0.8 seconds
DeDRM v10.0.3: Trying to decrypt B008C8MM5I_EBOK.azw
Using Library AlfCrypto DLL/DYLIB/SO
DeDRM v10.0.3: Failed to decrypt with error: The .kfx DRMION file cannot be decrypted by itself. A .kfx-zip archive containing a DRM voucher is required.
DeDRM v10.0.3: Looking for new default Kindle Key after 0.1 seconds
searching for kinfoFiles in C:\Users\orosso\AppData\Local
Found K4PC 1.25+ kinf2018 file: C:\Users\orosso\AppData\Local\Amazon\Kindle\storage\.kinf2018
Decrypted key file using IDString '585337197' and UserName 'orosso'
DeDRM v10.0.3: Found 1 new key
Traceback (most recent call last):
  File "calibre_plugins.dedrm.__init__", line 957, in KindleMobiDecrypt
  File "C:\Users\orosso\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 228, in GetDecryptedBook
k4mobidedrm.DrmException: The .kfx DRMION file cannot be decrypted by itself. A .kfx-zip archive containing a DRM voucher is required.

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\orosso\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 228, in GetDecryptedBook
k4mobidedrm.DrmException: The .kfx DRMION file cannot be decrypted by itself. A .kfx-zip archive containing a DRM voucher is required.
DeDRM v10.0.3: Ultimately failed to decrypt after 0.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 957, in KindleMobiDecrypt
  File "C:\Users\orosso\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 228, in GetDecryptedBook
k4mobidedrm.DrmException: The .kfx DRMION file cannot be decrypted by itself. A .kfx-zip archive containing a DRM voucher is required.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre\customize\ui.py", line 200, 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.3 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md
Traceback (most recent call last):
  File "calibre\customize\ui.py", line 482, in get_file_type_metadata
  File "calibre\customize\builtins.py", line 267, in get_metadata
  File "calibre\ebooks\metadata\mobi.py", line 501, in get_metadata
  File "calibre\ebooks\mobi\reader\headers.py", line 294, in __init__
  File "calibre\ebooks\mobi\reader\headers.py", line 322, in identity
calibre.ebooks.mobi.MobiError: Unknown book type: b'\x81\xc4\xde\x02\x9c\x8c"\x08'
Worker Launch took: 0.00 seconds
stdout+stderr from file dialog helper: [b'', b'']
stdout+stderr from file dialog helper: [b'', b'']
piped data from file dialog helper: [b'cWb\x87\x89\xc57\x9b\xe0;;Q\xa3\x83y\xb69\x82\xc5\xf8\x86iu\xc2dp\xa6\xdeN<\xcd\x18', b'D:\\Usuarios\\Orosso\\Documentos\\My Kindle Content\\B008C8MM5I_EBOK\\B008C8MM5I_EBOK.azw']
Added B008C8MM5I EBOK to db in: 0.1
Added 1 books in 0.7 seconds
Worker Launch took: 0.00 seconds
stdout+stderr from file dialog helper: [b'', b'']
piped data from file dialog helper: [b'<XQ\xf1\xc9\x08\xa0W\x9a\x0fD\x9c\\\x1a`:~i\xb1\xc5!\x1b\xf5\x05\x16N\xf0\xf9\x82,\xdf\xc0', b'D:\\Usuarios\\Orosso\\Documentos\\My Kindle Content\\B008C8MM5I_EBOK\\CR!6FX9FK1X7518Q33H28PPW0NKZ5SA.azw.md']
Added CR!6FX9FK1X7518Q33H28PPW0NKZ5SA.azw to db in: 0.1
Added 1 books in 0.8 seconds
calibre 7.25  embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.11.5
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: es
EXE path: C:\Program Files\Calibre2\calibre-debug.exe
Successfully initialized third party plugins: DeDRM (10, 0, 3)
Traceback (most recent call last):
  File "calibre\gui2\preferences\plugins.py", line 322, in add_plugin
  File "calibre\customize\ui.py", line 526, in add_plugin
  File "calibre\customize\ui.py", line 76, in load_plugin
  File "calibre\customize\zipplugin.py", line 302, in load
  File "calibre\customize\zipplugin.py", line 393, in _locate_code
calibre.customize.InvalidPlugin: The plugin in 'D:\\Usuarios\\Orosso\\Desktop\\DeDRM_tools_10.0.3.zip' is invalid. It does not contain a top-level __init__.py file

stdout+stderr from file dialog helper: [b'', b'']
stdout+stderr from file dialog helper: [b'', b'']
piped data from file dialog helper: [b"'\x0f\r\x8dI\xc1<\xf9\x1f\x8bx\x11mws\t\x80\x0e\x9b\xa2\xf2,B\xeb\x08\x80\x0e\xbb\xca\xf0c\x89", b'D:\\Usuarios\\Orosso\\Desktop\\DeDRM_tools_10.0.3.zip']
stdout+stderr from file dialog helper: [b'', b'']
piped data from file dialog helper: [b'\xcf9\xd1\xc9\x02\x976\x1f\xef\x0f6y\xf1\xe0\x14\xee\x99P\xaa^\xdf\xa0\xb9\x9a[\xda\xae\x95W~\xbf\x16', b'D:\\Usuarios\\Orosso\\Desktop\\DeDRM_plugin.zip']
[1530.52] Shutdown starting...
[1532.78] Shutdown complete, quitting...
Paste log output here.
@ElleKayEm
Copy link

If downloading with Kindle for PC, use 2.4.0 (70904) aka 2.4.70904. Update to DeDRM 10.0.9 and install the KFX Input plugin. Then be sure to add the correct file to calibre. It will have a blue book icon. See method 2a at this post for info on preventing updates: https://www.mobileread.com/forums/showthread.php?t=361503

If you are using "download & transfer via usb" for an E-ink Kindle (not a Fire), enter the Kindle's serial number into DeDRM's customization.

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