-
Notifications
You must be signed in to change notification settings - Fork 402
Description
Question / bug report
DRM removal plugin not working
Which version of Calibre are you running?
8.16.2
Which version of the DeDRM plugin are you running?
10.0.9
If applicable, which version of the Kindle software are you running?
2.8.0.70980
Log output
Paste log output here.
ApplicationPaletteChange event ignored
Using calibre Qt style: True
calibre Debug log
calibre 8.16.2 embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.11.14
Windows: ('10', '10.0.19045', '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, 27, 1) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 27, 1) && KFX metadata reader (from KFX Input) (2, 27, 1) && From KFX (2, 27, 1) && KFX Input (2, 27, 1) && Obok DeDRM (10, 0, 9)
calibre 8.16.2 embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.11.14
Windows: ('10', '10.0.19045', '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, 27, 1) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 27, 1) && KFX metadata reader (from KFX Input) (2, 27, 1) && From KFX (2, 27, 1) && KFX Input (2, 27, 1) && Obok DeDRM (10, 0, 9)
QPA platform: windows
devicePixelRatio: 1.5
logicalDpi: 96.0 x 96.0
physicalDpi: 110.96245733788396 x 110.83636363636363
[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...
DEBUG: 0.0 obok::utilities.py - loading translations
DEBUG: 0.0 obok::dialogs.py - loading translations
DEBUG: 0.0 obok::config.py - loading translations
DEBUG: 0.0 obok::action_err.py - loading translations
[2.48] GUI main window shown
[2.59] main UI initialized...
[2.59] Hiding splash screen
[2.59] splash screen hidden
[2.59] Started up in 2.59 seconds with 167 books
stdout+stderr from file dialog helper: [b'', b'']
piped data from file dialog helper: [b'\x17\xb1\xc4\x16t\xa51\x8e\x1e\x93!W\xf3\xa4\x9c\xb4\xb95\xc2\xaej\xe4\xec<\xc0W\x87\xc9\xab\x1biL', b'C:\Users\n10516573\OneDrive - Queensland University of Technology\Documents\My Kindle Content\Unreadable\B00B0PFYI2_EBOK\B00B0PFYI2_EBOK.azw']
Gather KFX-ZIP (from KFX Input) 2.27.1: Importing C:\Users\n10516573\OneDrive - Queensland University of Technology\Documents\My Kindle Content\Unreadable\B00B0PFYI2_EBOK\B00B0PFYI2_EBOK.azw
Gather KFX-ZIP (from KFX Input): Gathered 4 file(s) as C:\Users\N10516~1\AppData\Local\Temp\calibre-j3is6igs\cl5s9_rf.kfx-zip
DeDRM v10.0.9: Trying to decrypt cl5s9_rf.kfx-zip
Decrypting KFX-ZIP ebook: cl5s9_rf
Found 0 keys to try after 0.7 seconds
Decrypting KFX DRM voucher: amzn1.drm-voucher.v1.259408e7-9b7b-47b7-8e1c-590497d4c592.voucher
Traceback (most recent call last):
File "C:\Users\n10516573\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 104, in decrypt_voucher
File "C:\Users\n10516573\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1394, in parse
File "C:\Users\n10516573\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.8 seconds
searching for kinfoFiles in C:\Users\n10516573\AppData\Local
Found K4PC 1.9+ kinf2011 file: C:\Users\n10516573\AppData\Local\Amazon\Kindle\storage.kinf2011
Couldn't decrypt file.
DeDRM v10.0.9: Ultimately failed to decrypt after 0.8 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\n10516573\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook
File "C:\Users\n10516573\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook
File "C:\Users\n10516573\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 215, 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.8 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md
Package KFX (from KFX Input) 2.27.1: Packaging C:\Users\N105161\AppData\Local\Temp\calibre-j3is6igs\cl5s9_rf.kfx-zip1\AppData\Local\Temp\calibre-j3is6igs\y2gwj9du_add_books\0\B00B0PFYI2_EBOK.kfx-zip
Processing container: B00B0PFYI2_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 215, 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 B00B0PFYI2_EBOK.azw has DRM and cannot be converted
KFX metadata reader (from KFX Input) activated for C:\Users\N10516
Added The Book of Lies to db in: 0.1
Added 1 books in 2.2 seconds
Worker Launch took: 0.06 seconds
Job: 0 Convert book 1 of 1 (The Book of Lies) finished
Convert book 1 of 1 (The Book of Lies)
DeDRM v10.0.9: Trying to decrypt gfppm3g7.kfx-zip
Decrypting KFX-ZIP ebook: gfppm3g7
Found 0 keys to try after 0.9 seconds
Decrypting KFX DRM voucher: amzn1.drm-voucher.v1.259408e7-9b7b-47b7-8e1c-590497d4c592.voucher
Traceback (most recent call last):
File "C:\Users\n10516573\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 104, in decrypt_voucher
File "C:\Users\n10516573\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1394, in parse
File "C:\Users\n10516573\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\n10516573\AppData\Local
Found K4PC 1.9+ kinf2011 file: C:\Users\n10516573\AppData\Local\Amazon\Kindle\storage\.kinf2011
Couldn't decrypt file.
DeDRM v10.0.9: Ultimately failed to decrypt after 0.9 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\n10516573\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook
File "C:\Users\n10516573\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook
File "C:\Users\n10516573\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 215, 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.9 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md
Conversion options changed from defaults:
output_profile: 'kobo'
cover: 'C:\\Users\\N10516~1\\AppData\\Local\\Temp\\calibre-j3is6igs\\kujaea0q.jpeg'
verbose: 2
read_metadata_from_opf: 'C:\\Users\\N10516~1\\AppData\\Local\\Temp\\calibre-j3is6igs\\ix3_v0vm.opf'
Resolved conversion options
calibre version: 8.16.2
{'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\\N10516~1\\AppData\\Local\\Temp\\calibre-j3is6igs\\kujaea0q.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': False,
'epub_inline_toc': False,
'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 0x000001CA410144D0>,
'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.KoboReaderOutput object at 0x000001CA411A9190>,
'page_breaks_before': '/',
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': 'C:\\Users\\N10516~1\\AppData\\Local\\Temp\\calibre-j3is6igs\\ix3_v0vm.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 gfppm3g7.kfx-zip
Decrypting KFX-ZIP ebook: gfppm3g7
Found 0 keys to try after 0.0 seconds
Decrypting KFX DRM voucher: amzn1.drm-voucher.v1.259408e7-9b7b-47b7-8e1c-590497d4c592.voucher
Traceback (most recent call last):
File "C:\Users\n10516573\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 104, in decrypt_voucher
File "C:\Users\n10516573\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1394, in parse
File "C:\Users\n10516573\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\n10516573\AppData\Local
Found K4PC 1.9+ kinf2011 file: C:\Users\n10516573\AppData\Local\Amazon\Kindle\storage\.kinf2011
Couldn't decrypt file.
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\n10516573\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook
File "C:\Users\n10516573\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook
File "C:\Users\n10516573\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 215, 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\N10516~1\AppData\Local\Temp\calibre-j3is6igs\gfppm3g7.kfx-zip
Software versions: KFX Input 2.27.1, calibre 8.16.2, Windows-10-10.0.19045-SP0
KFX Input plugin help is available at https://www.mobileread.com/forums/showthread.php?t=291290
Converting C:\Users\N10516~1\AppData\Local\Temp\calibre-j3is6igs\gfppm3g7.kfx-zip
Processing container: B00B0PFYI2_EBOK.azw
Traceback (most recent call last):
File "calibre_plugins.kfx_input.__init__", line 96, 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 B00B0PFYI2_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 39, in gui_convert_override
File "calibre\gui2\convert\gui_conversion.py", line 26, in gui_convert
File "calibre\ebooks\conversion\plumber.py", line 1088, in run
File "calibre\customize\conversion.py", line 242, in __call__
File "calibre_plugins.kfx_input.__init__", line 116, in convert
calibre.ebooks.DRMError: This book has DRM!
[34.09] Shutdown starting...
[36.39] Shutdown complete, quitting...