8000 newer book not working · Issue #2421 · apprenticeharper/DeDRM_tools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

newer book not working #2421

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

Closed
shotashark opened this issue May 14, 2025 · 19 comments
Closed

newer book not working #2421

shotashark opened this issue May 14, 2025 · 19 comments

Comments

@shotashark
Copy link

working form a windows laptop, I have the tools here installed on calibre which has worked well for most things so far, newest book wont strip. I downloaded it from an older version of kindle for pc and have tried directly off my 10th gen kindle paperwhite. I have the bug report for kindle from pc

ApplicationPaletteChange event ignored
Using calibre Qt style: True
ApplicationPaletteChange event received
calibre Debug log
calibre 8.4 embedded-python: True
Windows-10-10.0.26100-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.26100')
Python 3.11.12
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: Gather KFX-ZIP (from KFX Input) (2, 24, 0) && DeDRM (7, 2, 1) && Package KFX (from KFX Input) (2, 24, 0) && KFX metadata reader (from KFX Input) (2, 24, 0) && From KFX (2, 24, 0) && KFX Input (2, 24, 0)
calibre 8.4 embedded-python: True
Windows-10-10.0.26100-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.26100')
Python 3.11.12
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: Gather KFX-ZIP (from KFX Input) (2, 24, 0) && DeDRM (7, 2, 1) && Package KFX (from KFX Input) (2, 24, 0) && KFX metadata reader (from KFX Input) (2, 24, 0) && From KFX (2, 24, 0) && KFX Input (2, 24, 0)
QPA platform: windows
devicePixelRatio: 1.25
logicalDpi: 96.0 x 96.0
physicalDpi: 113.08521739130434 x 113.41395348837209
[0.00] Starting up...
[0.00] Showing splash screen...
[1.23] splash screen shown
[1.23] Initializing db...
[1.25] db initialized
[1.25] Constructing main UI...
[2.25] GUI main window shown
[2.30] main UI initialized...
[2.30] Hiding splash screen
[2.30] splash screen hidden
[2.30] Started up in 2.30 seconds with 33 books
Gather KFX-ZIP (from KFX Input) 2.24.0: Importing C:\Users\shark\OneDrive\Documents\My Kindle Content\B0DZPGLSP4_EBOK\B0DZPGLSP4_EBOK.azw
Gather KFX-ZIP (from KFX Input): Gathered 5 file(s) as C:\Users\shark\AppData\Local\Temp\calibre-hs1vhu62\yevimd8o.kfx-zip
DeDRM v7.2.1: Trying to decrypt yevimd8o.kfx-zip
stdout+stderr from file dialog helper: [b'', b'']
piped data from file dialog helper: [b'\xc8\xe9\x98j,\xc2k"#\xe5\x8e\xc9\x92\xa8\xf1[\x9c>\x83\xb5\xc9,\x84kJ\xb5\xd0\x0e\xbd3\xaa`', b'C:\Users\shark\OneDrive\Documents\My Kindle Content\B0DZPGLSP4_EBOK\B0DZPGLSP4_EBOK.azw']
Using Library AlfCrypto DLL/DYLIB/SO
Using Library AlfCrypto DLL/DYLIB/SO
Decrypting KFX-ZIP ebook: yevimd8o
Found 1 keys to try after 0.1 seconds
Decrypting KFX DRM voucher: amzn1.drm-voucher.v1.5b3df5b8-2f54-48e3-8f71-f0ab6e27024a.voucher
Traceback (most recent call last):
File "calibre_plugins.dedrm.kfxdedrm", line 82, in decrypt_voucher
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 911, in parse
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 98, in _assert
Exception: Unknown type encountered in envelope, expected VoucherEnvelope
Traceback (most recent call last):
File "calibre_plugins.dedrm.kfxdedrm", line 82, in decrypt_voucher
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 911, in parse
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 98, in _assert
Exception: Unknown type encountered in envelope, expected VoucherEnvelope
DeDRM v7.2.1: Failed to decrypt with error: Failed to decrypt KFX DRM voucher with any key
DeDRM v7.2.1: Looking for new default Kindle Key after 0.1 seconds
searching for kinfoFiles in C:\Users\shark\AppData\Local
No K4PC kindle.info/kinf/kinf2011 files have been found.
DeDRM v7.2.1: Ultimately failed to decrypt after 0.1 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/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 540, in KindleMobiDecrypt
File "calibre_plugins.dedrm.k4mobidedrm", line 238, in GetDecryptedBook
File "calibre_plugins.dedrm.kfxdedrm", line 45, in processBook
File "calibre_plugins.dedrm.kfxdedrm", line 89, in decrypt_voucher
Exception: Failed to decrypt KFX DRM voucher with any key

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\customize\ui.py", line 214, in _run_filetype_plugins
File "calibre_plugins.dedrm.init", line 633, in run
File "calibre_plugins.dedrm.init", line 583, in KindleMobiDecrypt
calibre_plugins.dedrm.DeDRMError: DeDRM v7.2.1: Ultimately failed to decrypt after 0.1 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
Package KFX (from KFX Input) 2.24.0: Packaging C:\Users\shark\AppData\Local\Temp\calibre-hs1vhu62\yevimd8o.kfx-zip
Processing container: B0DZPGLSP4_EBOK.azw
Running file type plugin Package KFX (from KFX Input) failed with traceback:
Traceback (most recent call last):
File "calibre\customize\ui.py", line 214, in _run_filetype_plugins
File "calibre_plugins.kfx_input.package_filetype", line 23, in run
File "calibre_plugins.kfx_input.package_filetype", line 34, in package_kfx
File "calibre_plugins.kfx_input.kfxlib.yj_book", line 79, in convert_to_single_kfx
File "calibre_plugins.kfx_input.kfxlib.yj_book", line 213, in decode_book
File "calibre_plugins.kfx_input.kfxlib.yj_book", line 331, in get_container
calibre_plugins.kfx_input.kfxlib.utilities.KFXDRMError: Book container B0DZPGLSP4_EBOK.azw has DRM and cannot be converted
KFX metadata reader (from KFX Input) activated for C:\Users\shark\AppData\Local\Temp\calibre-hs1vhu62\vfw8e294_add_books\0\B0DZPGLSP4_EBOK.kfx-zip
Added Echoes of Elynia to db in: 0.1
Added 1 books in 1.3 seconds
[21.08] Shutdown starting...
[23.38] Shutdown complete, quitting...

@ElleKayEm
Copy link

Update to DeDRM 10.0.9: https://github.com/noDRM/DeDRM_tools/releases/tag/v10.0.9

@shotashark
Copy link
Author

Update to DeDRM 10.0.9: https://github.com/noDRM/DeDRM_tools/releases/tag/v10.0.9

unfortunately updating didn't work either

ApplicationPaletteChange event ignored
Using calibre Qt style: True
ApplicationPaletteChange event received
calibre Debug log
calibre 8.4 embedded-python: True
Windows-10-10.0.26100-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.26100')
Python 3.11.12
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: Gather KFX-ZIP (from KFX Input) (2, 24, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 24, 0) && KFX metadata reader (from KFX Input) (2, 24, 0) && From KFX (2, 24, 0) && KFX Input (2, 24, 0)
calibre 8.4 embedded-python: True
Windows-10-10.0.26100-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.26100')
Python 3.11.12
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: Gather KFX-ZIP (from KFX Input) (2, 24, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 24, 0) && KFX metadata reader (from KFX Input) (2, 24, 0) && From KFX (2, 24, 0) && KFX Input (2, 24, 0)
QPA platform: windows
devicePixelRatio: 1.25
logicalDpi: 96.0 x 96.0
physicalDpi: 113.08521739130434 x 113.41395348837209
[0.00] Starting up...
[0.00] Showing splash screen...
[1.27] splash screen shown
[1.27] Initializing db...
[1.28] db initialized
[1.28] Constructing main UI...
[2.98] GUI main window shown
[3.09] main UI initialized...
[3.09] Hiding splash screen
[3.09] splash screen hidden
[3.09] Started up in 3.09 seconds with 37 books
stdout+stderr from file dialog helper: [b'', b'']
piped data from file dialog helper: [b'nO.\xcc\xa3"%Ux\xb9x\xa9I8Ts\xd7\xce\xf1\xe5\x1a\xdbC\xbf\xfdSe\x05b\xa3R\xaa', b'C:\Users\shark\OneDrive\Documents\My Kindle Content\B0DZPGLSP4_EBOK\B0DZPGLSP4_EBOK.azw']
Gather KFX-ZIP (from KFX Input) 2.24.0: Importing C:\Users\shark\OneDrive\Documents\My Kindle Content\B0DZPGLSP4_EBOK\B0DZPGLSP4_EBOK.azw
Gather KFX-ZIP (from KFX Input): Gathered 5 file(s) as C:\Users\shark\AppData\Local\Temp\calibre-2ymxpon7\6sxs7qab.kfx-zip
DeDRM v10.0.9: Trying to decrypt 6sxs7qab.kfx-zip
Decrypting KFX-ZIP ebook: 6sxs7qab
Found 1 keys to try after 0.9 seconds
Decrypting KFX DRM voucher: amzn1.drm-voucher.v1.5b3df5b8-2f54-48e3-8f71-f0ab6e27024a.voucher
Traceback (most recent call last):
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 104, in decrypt_voucher
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1394, in parse
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 103, in _assert
Exception: Unknown type encountered in envelope, expected VoucherEnvelope
Traceback (most recent call last):
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 104, in decrypt_voucher
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1394, in parse
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 103, in _assert
Exception: Unknown type encountered in envelope, expected VoucherEnvelope
DeDRM v10.0.9: Failed to decrypt with error: Failed to decrypt KFX DRM voucher with any key
DeDRM v10.0.9: Looking for new default Kindle Key after 0.9 seconds
searching for kinfoFiles in C:\Users\shark\AppData\Local
No K4PC kindle.info/kinf/kinf2011 files have been found.
DeDRM v10.0.9: Ultimately failed to decrypt after 1.0 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\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 111, in decrypt_voucher
Exception: Failed to decrypt KFX DRM voucher with any key

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\customize\ui.py", line 214, 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.0 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md
Package KFX (from KFX Input) 2.24.0: Packaging C:\Users\shark\AppData\Local\Temp\calibre-2ymxpon7\6sxs7qab.kfx-zip
Processing container: B0DZPGLSP4_EBOK.azw
Running file type plugin Package KFX (from KFX Input) failed with traceback:
Traceback (most recent call last):
File "calibre\customize\ui.py", line 214, in _run_filetype_plugins
File "calibre_plugins.kfx_input.package_filetype", line 23, in run
File "calibre_plugins.kfx_input.package_filetype", line 34, in package_kfx
File "calibre_plugins.kfx_input.kfxlib.yj_book", line 79, in convert_to_single_kfx
File "calibre_plugins.kfx_input.kfxlib.yj_book", line 213, in decode_book
File "calibre_plugins.kfx_input.kfxlib.yj_book", line 331, in get_container
calibre_plugins.kfx_input.kfxlib.utilities.KFXDRMError: Book container B0DZPGLSP4_EBOK.azw has DRM and cannot be converted
KFX metadata reader (from KFX Input) activated for C:\Users\shark\AppData\Local\Temp\calibre-2ymxpon7\oi7y4fum_add_books\0\B0DZPGLSP4_EBOK.kfx-zip
Added Echoes of Elynia to db in: 0.1
Added 1 books in 2.6 seconds
Worker Launch took: 0.06 seconds
Job: 0 Convert book 1 of 1 (Echoes of Elynia) finished
Convert book 1 of 1 (Echoes of Elynia)
DeDRM v10.0.9: Trying to decrypt vno8yu1b.kfx-zip
Decrypting KFX-ZIP ebook: vno8yu1b
Found 1 keys to try after 1.0 seconds
Decrypting KFX DRM voucher: amzn1.drm-voucher.v1.5b3df5b8-2f54-48e3-8f71-f0ab6e27024a.voucher
Traceback (most recent call last):
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 104, in decrypt_voucher
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1394, in parse
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 103, in _assert
Exception: Unknown type encountered in envelope, expected VoucherEnvelope
Traceback (most recent call last):
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 104, in decrypt_voucher
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1394, in parse
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 103, in _assert
Exception: Unknown type encountered in envelope, expected VoucherEnvelope
DeDRM v10.0.9: Failed to decrypt with error: Failed to decrypt KFX DRM voucher with any key
DeDRM v10.0.9: Looking for new default Kindle Key after 1.0 seconds
searching for kinfoFiles in C:\Users\shark\AppData\Local
No K4PC kindle.info/kinf/kinf2011 files have been found.
DeDRM v10.0.9: Ultimately failed to decrypt after 1.0 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\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 111, in decrypt_voucher
Exception: Failed to decrypt KFX DRM voucher with any key

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre\customize\ui.py", line 214, 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.0 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md
Conversion options changed from defaults:
  epub_inline_toc: True
  output_profile: 'kindle_pw3'
  cover: 'C:\\Users\\shark\\AppData\\Local\\Temp\\calibre-2ymxpon7\\wit7e30l.jpeg'
  preserve_cover_aspect_ratio: True
  verbose: 2
  read_metadata_from_opf: 'C:\\Users\\shark\\AppData\\Local\\Temp\\calibre-2ymxpon7\\kgylh8xe.opf'
  epub_flatten: True
Resolved conversion options
calibre version: 8.4.0
{'add_alt_text_to_img': False,
 'allow_conversion_with_errors': False,
 'asciiize': False,
 'author_sort': None,
 'authors': None,
 'base_font_size': 0.0,
 'book_producer': None,
 'change_justification': 'original',
 'chapter': "//*[((name()='h1' or name()='h2') and re:test(., "
            "'\\s*((chapter|book|section|part)\\s+)|((prolog|prologue|epilogue)(\\s+|$))', "
            "'i')) or @class = 'chapter']",
 'chapter_mark': 'pagebreak',
 'comments': None,
 'cover': 'C:\\Users\\shark\\AppData\\Local\\Temp\\calibre-2ymxpon7\\wit7e30l.jpeg',
 'debug_pipeline': None,
 'dehyphenate': True,
 'delete_blank_paragraphs': True,
 'disable_font_rescaling': False,
 'dont_split_on_page_breaks': False,
 'duplicate_links_in_toc': False,
 'embed_all_fonts': False,
 'embed_font_family': None,
 'enable_heuristics': False,
 'epub_flatten': True,
 'epub_inline_toc': True,
 'epub_max_image_size': 'none',
 'epub_toc_at_end': False,
 'epub_version': '2',
 'expand_css': False,
 'extra_css': None,
 'extract_to': None,
 'filter_css': '',
 'fix_indents': True,
 'flow_size': 260,
 'font_size_mapping': None,
 'format_scene_breaks': True,
 'html_unwrap_factor': 0.4,
 'input_encoding': None,
 'input_profile': <calibre.customize.profiles.InputProfile object at 0x00000199D5657110>,
 'insert_blank_line': False,
 'insert_blank_line_size': 0.5,
 'insert_metadata': False,
 'isbn': None,
 'italicize_common_cases': True,
 'keep_ligatures': False,
 'language': None,
 'level1_toc': None,
 'level2_toc': None,
 'level3_toc': None,
 'line_height': 0.0,
 'linearize_tables': False,
 'margin_bottom': 5.0,
 'margin_left': 5.0,
 'margin_right': 5.0,
 'margin_top': 5.0,
 'markup_chapter_headings': True,
 'max_toc_links': 50,
 'minimum_line_height': 120.0,
 'no_chapters_in_toc': False,
 'no_default_epub_cover': False,
 'no_inline_navbars': False,
 'no_svg_cover': False,
 'output_profile': <calibre.customize.profiles.KindlePaperWhite3Output object at 0x00000199D566E250>,
 'page_breaks_before': '/',
 'prefer_metadata_cover': False,
 'preserve_cover_aspect_ratio': True,
 'pretty_print': True,
 'pubdate': None,
 'publisher': None,
 'rating': None,
 'read_metadata_from_opf': 'C:\\Users\\shark\\AppData\\Local\\Temp\\calibre-2ymxpon7\\kgylh8xe.opf',
 'remove_fake_margins': True,
 'remove_first_image': False,
 'remove_paragraph_spacing': False,
 'remove_paragraph_spacing_indent_size': 1.5,
 'renumber_headings': True,
 'replace_scene_breaks': '',
 'search_replace': '[]',
 'series': None,
 'series_index': None,
 'smarten_punctuation': False,
 'sr1_replace': None,
 'sr1_search': None,
 'sr2_replace': None,
 'sr2_search': None,
 'sr3_replace': None,
 'sr3_search': None,
 'start_reading_at': None,
 'subset_embedded_fonts': False,
 'tags': None,
 'timestamp': None,
 'title': None,
 'title_sort': None,
 'toc_filter': None,
 'toc_threshold': 6,
 'toc_title': None,
 'transform_css_rules': '[]',
 'transform_html_rules': '[]',
 'unsmarten_punctuation': False,
 'unwrap_lines': True,
 'use_auto_toc': False,
 'verbose': 2}
DeDRM v10.0.9: Trying to decrypt vno8yu1b.kfx-zip
Decrypting KFX-ZIP ebook: vno8yu1b
Found 1 keys to try after 0.0 seconds
Decrypting KFX DRM voucher: amzn1.drm-voucher.v1.5b3df5b8-2f54-48e3-8f71-f0ab6e27024a.voucher
Traceback (most recent call last):
  File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 104, in decrypt_voucher
  File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1394, in parse
  File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 103, in _assert
Exception: Unknown type encountered in envelope, expected VoucherEnvelope
Traceback (most recent call last):
  File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 104, in decrypt_voucher
  File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1394, in parse
  File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 103, in _assert
Exception: Unknown type encountered in envelope, expected VoucherEnvelope
DeDRM v10.0.9: Failed to decrypt with error: Failed to decrypt KFX DRM voucher with any key
DeDRM v10.0.9: Looking for new default Kindle Key after 0.0 seconds
searching for kinfoFiles in C:\Users\shark\AppData\Local
No K4PC kindle.info/kinf/kinf2011 files have been found.
DeDRM v10.0.9: Ultimately failed to decrypt after 0.0 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\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook
  File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook
  File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 111, in decrypt_voucher
Exception: Failed to decrypt KFX DRM voucher with any key

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre\customize\ui.py", line 214, 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 0.0 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md
InputFormatPlugin: KFX Input running
on C:\Users\shark\AppData\Local\Temp\calibre-2ymxpon7\vno8yu1b.kfx-zip
Software versions: KFX Input 2.24.0, calibre 8.4, Windows-10-10.0.26100-SP0
KFX Input plugin help is available at https://www.mobileread.com/forums/showthread.php?t=291290
Converting C:\Users\shark\AppData\Local\Temp\calibre-2ymxpon7\vno8yu1b.kfx-zip
Processing container: B0DZPGLSP4_EBOK.azw
Traceback (most recent call last):
  File "calibre_plugins.kfx_input.__init__", line 97, in convert
  File "calibre_plugins.kfx_input.kfxlib.yj_book", line 213, in decode_book
  File "calibre_plugins.kfx_input.kfxlib.yj_book", line 331, in get_container
calibre_plugins.kfx_input.kfxlib.utilities.KFXDRMError: Book container B0DZPGLSP4_EBOK.azw has DRM and cannot be converted

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "runpy.py", line 198, in _run_module_as_main
  File "runpy.py", line 88, in _run_code
  File "site.py", line 83, in <module>
  File "site.py", line 78, in main
  File "site.py", line 50, in run_entry_point
  File "calibre\utils\ipc\worker.py", line 213, in main
  File "calibre\gui2\convert\gui_conversion.py", line 38, in gui_convert_override
  File "calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
  File "calibre\ebooks\conversion\plumber.py", line 1089, in run
  File "calibre\customize\conversion.py", line 242, in __call__
  File "calibre_plugins.kfx_input.__init__", line 117, in convert
calibre.ebooks.DRMError: This book has DRM!

[48.83] Shutdown starting...
[51.20] Shutdown complete, quitting...

@ElleKayEm
Copy link

Did you download with Kindle for PC 2.4.0 (70904) aka 2.4.70904 or an older version installed on the same computer and user as calibre? Should work with that or a copy directly from your Paperwhite.

@shotashark
Copy link
Author
shotashark commented May 14, 2025 via email

@ElleKayEm
Copy link

Make sure Kindle for PC hasn't updated. See method 2a here: https://www.mobileread.com/forums/showthread.php?t=361503

A copy from your Paperwhite should also be good if you have the Paperwhite's serial number entered in DeDRM's customization.

@shotashark
Copy link
Author
8000 shotashark commented May 15, 2025

I have made sure my kindles serial number is in the customization, I have tried both ways with the updating plug in and still cant get it to work off my kindle directly but I did get it to work with a different version of kindle for pc. thank you! going to leave this open for a few more days in case this last kindle book im getting wont go

@ElleKayEm
Copy link

If it is a book published after Apr 22, you'll need to get the E-ink Kindle method working.

@shotashark
Copy link
Author
shotashark commented May 15, 2025 via email

@ElleKayEm
Copy link

Try adding the book from the device view in calibre.

@shotashark
Copy link
Author
shotashark commented May 15, 2025 via email

@ElleKayEm
Copy link

Let's see a debug log of adding the book from the Paperwhite.

@shotashark
Copy link
Author

ApplicationPaletteChange event ignored
Using calibre Qt style: True
ApplicationPaletteChange event received
calibre Debug log
calibre 8.4 embedded-python: True
Windows-10-10.0.26100-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.26100')
Python 3.11.12
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: Gather KFX-ZIP (from KFX Input) (2, 24, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 24, 0) && KFX metadata reader (from KFX Input) (2, 24, 0) && From KFX (2, 24, 0) && KFX Input (2, 24, 0)
calibre 8.4 embedded-python: True
Windows-10-10.0.26100-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.26100')
Python 3.11.12
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: Gather KFX-ZIP (from KFX Input) (2, 24, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 24, 0) && KFX metadata reader (from KFX Input) (2, 24, 0) && From KFX (2, 24, 0) && KFX Input (2, 24, 0)
QPA platform: windows
devicePixelRatio: 1.25
logicalDpi: 96.0 x 96.0
physicalDpi: 113.08521739130434 x 113.41395348837209
[0.00] Starting up...
[0.00] Showing splash screen...
[1.24] splash screen shown
[1.24] Initializing db...
[1.25] db initialized
[1.25] Constructing main UI...
[2.84] GUI main window shown
[2.92] main UI initialized...
[2.92] Hiding splash screen
[2.92] splash screen hidden
[2.92] Started up in 2.92 seconds with 40 books
Storage number map:
{(7, 0): [(3, 'C')], (7, 1): [(1, 'D')]}
Storage number for USBSTOR\DISK&VEN_KINDLE&PROD_INTERNAL_STORAGE&REV_0401\G8S16Q02113500A9&0: StorageDeviceNumber(type=7, number=1, partition_number=0)
Drive letters for USBDevice(vendor_id=0x1949 product_id=0x324 bcd=0x401 devid=usb\vid_1949&pid_0324&rev_0401 devinst=20)
{'drive_letters': ['D'],
'pnp_id_map': {'D': '\\?\usbstor#disk&ven_kindle&prod_internal_storage&rev_0401#g8s16q02113500a9&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'},
'readonly_drives': set(),
'sort_map': {'D': (1, 1)}}
Syncing cover thumbnails to workaround amazon cover bug
Restored 0 cover thumbnails that were destroyed by Amazon
Job: 0 Get device information started
DeviceJob: 0 Get device information done, calling callback
DeviceJob: 0 Get device information callback returned
Job: 1 Set library information started
DeviceJob: 1 Set library information done, calling callback
DeviceJob: 1 Set library information callback returned
Job: 2 Get list of books on device started
DEBUG: 0.0 USBMS: Fetching list of books from device. Device= KINDLE2 > DEBUG: 0.0 USBMS: dirs are: D:\ documents
DEBUG: 0.2 USBMS: scan from root False D:\documents
Job: 0 Get device information finished
No details available.
Job: 1 Set library information finished
No details available.
DEBUG: 0.7 USBMS: count found in cache: 92, count of files in metadata: 92, need_sync: False
DEBUG: 0.7 USBMS: Finished fetching list of books from device. > DEBUG: 0.7 USBMS: Fetching list of books from device. Device= KINDLE2 > DEBUG: 0.7 USBMS: Fetching list of books from device. Device= KINDLE2 > DeviceJob: 2 Get list of books on device done, calling callback
DEBUG: 0.7 DeviceJob: metadata_downloaded: Starting set_books_in_library
DEBUG: 0.7 DeviceJob: set_books_in_library: books to process= 92
DEBUG: 0.7 DeviceJob: set_books_in_library finished: time= 0.008840322494506836
DEBUG: 0.7 DeviceJob: metadata_downloaded: updating views
DEBUG: 0.7 DeviceJob: metadata_downloaded: syncing
DEBUG: 0.7 DeviceJob: metadata_downloaded: refreshing ondevice
DEBUG: 0.7 DeviceJob: metadata_downloaded: sending metadata_available signal
DeviceJob: 2 Get list of books on device callback returned
Job: 2 Get list of books on device finished
No details available.
Job: 3 Prepare files for transfer from device started
DeviceJob: 3 Prepare files for transfer from device done, calling callback
DeviceJob: 3 Prepare files for transfer from device callback returned
Job: 3 Prepare files for transfer from device finished
No details available.
Gather KFX-ZIP (from KFX Input) 2.24.0: Importing D:\documents\Unknown\Echoes of Elynia B0DZPGLSP4 - Unknown.kfx
Gather KFX-ZIP (from KFX Input): Cannot locate some files needed for the book. KFX files must remain in their original folder structure for successful import.
Gather KFX-ZIP (from KFX Input): Gathered 1 file(s) as C:\Users\shark\AppData\Local\Temp\calibre-fxnougho\btw4a8u_.kfx-zip
DeDRM v10.0.9: Trying to decrypt btw4a8u_.kfx-zip
Decrypting KFX-ZIP ebook: btw4a8u_
Found 1 keys to try after 1.0 seconds
DeDRM v10.0.9: Failed to decrypt with error: The .kfx-zip archive contains an encrypted DRMION file without a DRM voucher
DeDRM v10.0.9: Looking for new default Kindle Key after 1.0 seconds
searching for kinfoFiles in C:\Users\shark\AppData\Local
Found K4PC 1.25+ kinf2018 file: C:\Users\shark\AppData\Local\Amazon\Kindle\storage.kinf2018
Decrypted key file using IDString '3906428393' and UserName 'shark'
DeDRM v10.0.9: Found 1 new key
Decrypting KFX-ZIP ebook: btw4a8u_
Got DSN key from database key_0
Found 1 keys to try after 1.3 seconds
Traceback (most recent call last):
File "calibre_plugins.dedrm.init", line 931, in KindleMobiDecrypt
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 88, in decrypt_voucher
Exception: The .kfx-zip archive contains an encrypted DRMION file without a DRM voucher

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre_plugins.dedrm.init", line 965, in KindleMobiDecrypt
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 88, in decrypt_voucher
Exception: The .kfx-zip archive contains an encrypted DRMION file without a DRM voucher
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\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 88, in decrypt_voucher
Exception: The .kfx-zip archive contains an encrypted DRMION file without a DRM voucher

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\customize\ui.py", line 214, 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
Package KFX (from KFX Input) 2.24.0: Packaging C:\Users\shark\AppData\Local\Temp\calibre-fxnougho\btw4a8u
.kfx-zip
Processing container: Echoes of Elynia B0DZPGLSP4 - Unknown.kfx
Running file type plugin Package KFX (from KFX Input) failed with traceback:
Traceback (most recent call last):
File "calibre\customize\ui.py", line 214, in _run_filetype_plugins
File "calibre_plugins.kfx_input.package_filetype", line 23, in run
File "calibre_plugins.kfx_input.package_filetype", line 34, in package_kfx
File "calibre_plugins.kfx_input.kfxlib.yj_book", line 79, in convert_to_single_kfx
File "calibre_plugins.kfx_input.kfxlib.yj_book", line 213, in decode_book
File "calibre_plugins.kfx_input.kfxlib.yj_book", line 331, in get_container
calibre_plugins.kfx_input.kfxlib.utilities.KFXDRMError: Book container Echoes of Elynia B0DZPGLSP4 - Unknown.kfx has DRM and cannot be converted
KFX metadata reader (from KFX Input) activated for C:\Users\shark\AppData\Local\Temp\calibre-fxnougho\bab3xy3r_add_books\0\Echoes of Elynia B0DZPGLSP4 - Unknown.kfx-zip
Traceback (most recent call last):
File "calibre\customize\ui.py", line 496, in get_file_type_metadata
File "calibre_plugins.kfx_input.metadata_reader", line 28, in get_metadata
File "calibre_plugins.kfx_input.kfxlib.yj_book", line 151, in get_metadata
Exception: Failed to locate a KFX container with metadata
Added Echoes of Elynia B0DZPGLSP4 to db in: 0.0
Added 1 books in 2.7 seconds
DEBUG: 23.6 DeviceJob: set_books_in_library: books to process= 92
DEBUG: 23.6 DeviceJob: set_books_in_library finished: time= 0.009288787841796875
Worker Launch took: 0.06 seconds
Job: 4 Convert book 1 of 1 (Echoes of Elynia B0DZPGLSP4) finished
Convert book 1 of 1 (Echoes of Elynia B0DZPGLSP4)
DeDRM v10.0.9: Trying to decrypt ecqt6n4n.kfx-zip
Decrypting KFX-ZIP ebook: ecqt6n4n
Found 1 keys to try after 0.9 seconds
DeDRM v10.0.9: Failed to decrypt with error: The .kfx-zip archive contains an encrypted DRMION file without a DRM voucher
DeDRM v10.0.9: Looking for new default Kindle Key after 0.9 seconds
searching for kinfoFiles in C:\Users\shark\AppData\Local
Found K4PC 1.25+ kinf2018 file: C:\Users\shark\AppData\Local\Amazon\Kindle\storage.kinf2018
Decrypted key file using IDString '3906428393' and UserName 'shark'
DeDRM v10.0.9: Found 1 new key
Decrypting KFX-ZIP ebook: ecqt6n4n
Got DSN key from database key_0
Found 1 keys to try after 1.2 seconds
Traceback (most recent call last):
File "calibre_plugins.dedrm.init", line 931, in KindleMobiDecrypt
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook
File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 88, in decrypt_voucher
Exception: The .kfx-zip archive contains an encrypted DRMION file without a DRM voucher

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre_plugins.dedrm.__init__", line 965, in KindleMobiDecrypt
  File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook
  File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook
  File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 88, in decrypt_voucher
Exception: The .kfx-zip archive contains an encrypted DRMION file without a DRM voucher
DeDRM v10.0.9: Ultimately failed to decrypt after 1.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 931, in KindleMobiDecrypt
  File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook
  File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook
  File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 88, in decrypt_voucher
Exception: The .kfx-zip archive contains an encrypted DRMION file without a DRM voucher

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre\customize\ui.py", line 214, 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.2 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md
Conversion options changed from defaults:
  preserve_cover_aspect_ratio: True
  verbose: 2
  epub_inline_toc: True
  read_metadata_from_opf: 'C:\\Users\\shark\\AppData\\Local\\Temp\\calibre-fxnougho\\n2zubybx.opf'
  output_profile: 'kindle_pw3'
  epub_flatten: True
Resolved conversion options
calibre version: 8.4.0
{'add_alt_text_to_img': False,
 'allow_conversion_with_errors': False,
 'asciiize': False,
 'author_sort': None,
 'authors': None,
 'base_font_size': 0.0,
 'book_producer': None,
 'change_justification': 'original',
 'chapter': "//*[((name()='h1' or name()='h2') and re:test(., "
            "'\\s*((chapter|book|section|part)\\s+)|((prolog|prologue|epilogue)(\\s+|$))', "
            "'i')) or @class = 'chapter']",
 'chapter_mark': 'pagebreak',
 'comments': None,
 'cover': None,
 'debug_pipeline': None,
 'dehyphenate': True,
 'delete_blank_paragraphs': True,
 'disable_font_rescaling': False,
 'dont_split_on_page_breaks': False,
 'duplicate_links_in_toc': False,
 'embed_all_fonts': False,
 'embed_font_family': None,
 'enable_heuristics': False,
 'epub_flatten': True,
 'epub_inline_toc': True,
 'epub_max_image_size': 'none',
 'epub_toc_at_end': False,
 'epub_version': '2',
 'expand_css': False,
 'extra_css': None,
 'extract_to': None,
 'filter_css': '',
 'fix_indents': True,
 'flow_size': 260,
 'font_size_mapping': None,
 'format_scene_breaks': True,
 'html_unwrap_factor': 0.4,
 'input_encoding': None,
 'input_profile': <calibre.customize.profiles.InputProfile object at 0x0000022B0639EC90>,
 'insert_blank_line': False,
 'insert_blank_line_size': 0.5,
 'insert_metadata': False,
 'isbn': None,
 'italicize_common_cases': True,
 'keep_ligatures': False,
 'language': None,
 'level1_toc': None,
 'level2_toc': None,
 'level3_toc': None,
 'line_height': 0.0,
 'linearize_tables': False,
 'margin_bottom': 5.0,
 'margin_left': 5.0,
 'margin_right': 5.0,
 'margin_top': 5.0,
 'markup_chapter_headings': True,
 'max_toc_links': 50,
 'minimum_line_height': 120.0,
 'no_chapters_in_toc': False,
 'no_default_epub_cover': False,
 'no_inline_navbars': False,
 'no_svg_cover': False,
 'output_profile': <calibre.customize.profiles.KindlePaperWhite3Output object at 0x0000022B063ADDD0>,
 'page_breaks_before': '/',
 'prefer_metadata_cover': False,
 'preserve_cover_aspect_ratio': True,
 'pretty_print': True,
 'pubdate': None,
 'publisher': None,
 'rating': None,
 'read_metadata_from_opf': 'C:\\Users\\shark\\AppData\\Local\\Temp\\calibre-fxnougho\\n2zubybx.opf',
 'remove_fake_margins': True,
 'remove_first_image': False,
 'remove_paragraph_spacing': False,
 'remove_paragraph_spacing_indent_size': 1.5,
 'renumber_headings': True,
 'replace_scene_breaks': '',
 'search_replace': '[]',
 'series': None,
 'series_index': None,
 'smarten_punctuation': False,
 'sr1_replace': None,
 'sr1_search': None,
 'sr2_replace': None,
 'sr2_search': None,
 'sr3_replace': None,
 'sr3_search': None,
 'start_reading_at': None,
 'subset_embedded_fonts': False,
 'tags': None,
 'timestamp': None,
 'title': None,
 'title_sort': None,
 'toc_filter': None,
 'toc_threshold': 6,
 'toc_title': None,
 'transform_css_rules': '[]',
 'transform_html_rules': '[]',
 'unsmarten_punctuation': False,
 'unwrap_lines': True,
 'use_auto_toc': False,
 'verbose': 2}
DeDRM v10.0.9: Trying to decrypt ecqt6n4n.kfx-zip
Decrypting KFX-ZIP ebook: ecqt6n4n
Found 1 keys to try after 0.0 seconds
DeDRM v10.0.9: Failed to decrypt with error: The .kfx-zip archive contains an encrypted DRMION file without a DRM voucher
DeDRM v10.0.9: Looking for new default Kindle Key after 0.0 seconds
searching for kinfoFiles in C:\Users\shark\AppData\Local
Found K4PC 1.25+ kinf2018 file: C:\Users\shark\AppData\Local\Amazon\Kindle\storage\.kinf2018
Decrypted key file using IDString '3906428393' and UserName 'shark'
DeDRM v10.0.9: Found 1 new key
Decrypting KFX-ZIP ebook: ecqt6n4n
Got DSN key from database key_0
Found 1 keys to try after 0.3 seconds
Traceback (most recent call last):
  File "calibre_plugins.dedrm.__init__", line 931, in KindleMobiDecrypt
  File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook
  File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook
  File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 88, in decrypt_voucher
Exception: The .kfx-zip archive contains an encrypted DRMION file without a DRM voucher

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre_plugins.dedrm.__init__", line 965, in KindleMobiDecrypt
  File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook
  File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook
  File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 88, in decrypt_voucher
Exception: The .kfx-zip archive contains an encrypted DRMION file without a DRM voucher
DeDRM v10.0.9: 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 931, in KindleMobiDecrypt
  File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook
  File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook
  File "C:\Users\shark\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 88, in decrypt_voucher
Exception: The .kfx-zip archive contains an encrypted DRMION file without a DRM voucher

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre\customize\ui.py", line 214, 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 0.3 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md
InputFormatPlugin: KFX Input running
on C:\Users\shark\AppData\Local\Temp\calibre-fxnougho\ecqt6n4n.kfx-zip
Software versions: KFX Input 2.24.0, calibre 8.4, Windows-10-10.0.26100-SP0
KFX Input plugin help is available at https://www.mobileread.com/forums/showthread.php?t=291290
Converting C:\Users\shark\AppData\Local\Temp\calibre-fxnougho\ecqt6n4n.kfx-zip
Processing container: Echoes of Elynia B0DZPGLSP4 - Unknown.kfx
Traceback (most recent call last):
  File "calibre_plugins.kfx_input.__init__", line 97, in convert
  File "calibre_plugins.kfx_input.kfxlib.yj_book", line 213, in decode_book
  File "calibre_plugins.kfx_input.kfxlib.yj_book", line 331, in get_container
calibre_plugins.kfx_input.kfxlib.utilities.KFXDRMError: Book container Echoes of Elynia B0DZPGLSP4 - Unknown.kfx has DRM and cannot be converted

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "runpy.py", line 198, in _run_module_as_main
  File "runpy.py", line 88, in _run_code
  File "site.py", line 83, in <module>
  File "site.py", line 78, in main
  File "site.py", line 50, in run_entry_point
  File "calibre\utils\ipc\worker.py", line 213, in main
  File "calibre\gui2\convert\gui_conversion.py", line 38, in gui_convert_override
  File "calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
  File "calibre\ebooks\conversion\plumber.py", line 1089, in run
  File "calibre\customize\conversion.py", line 242, in __call__
  File "calibre_plugins.kfx_input.__init__", line 117, in convert
calibre.ebooks.DRMError: This book has DRM!

[88.67] Shutdown starting...
[91.00] Shutdown complete, quitting...

@ElleKayEm
Copy link

Somehow this kfx file is not in its original folder structure and the KFX Input plugin cannot find all the needed related files. Add from documents\Downloads\Items01 on your Kindle.

@shotashark
Copy link
Author

theres no selectable file when I do that I go to items then the book and its just opens empty files, and it won't let me select the whole folder

@ElleKayEm
Copy link

You select the kfx file in the Items01 folder, not a folder or something inside one of those subfolders.

@shotashark
Copy link
Author

i scrolled down and found it but it doesn't show up when i do it through calibre

@shotashark
Copy link
Author

i redownloaded the book to my kindle and it worked

@ElleKayEm
Copy link

If you're all set, you can close the issue.

@shotashark
Copy link
Author

thanks for your help!

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
0