noDRM / DeDRM_tools

DeDRM tools for ebooks
7.32k stars 323 forks source link

DeDrm Not Working for Kindle Book #258

Open KingCandy42 opened 1 year ago

KingCandy42 commented 1 year ago

Question / bug report

I am running Calibre on Windows 11, and I am trying to remove a DRM from a Kindle file that I downloaded from the Digital Content website. I'm not tech-savvy so I am not quite sure what the issues may be.

ApplicationPaletteChange event ignored Using calibre Qt style: True calibre Debug log calibre 6.11 embedded-python: True Windows-10-10.0.22621-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.22621') Python 3.10.1 Windows: ('10', '10.0.22621', 'SP0', 'Multiprocessor Free') Interface language: None Successfully initialized third party plugins: DeDRM (10, 0, 3) calibre 6.11 embedded-python: True Windows-10-10.0.22621-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.22621') Python 3.10.1 Windows: ('10', '10.0.22621', 'SP0', 'Multiprocessor Free') Interface language: None Successfully initialized third party plugins: DeDRM (10, 0, 3) QPA platform: windows devicePixelRatio: 1.25 logicalDpi: 96.0 x 96.0 physicalDpi: 113.41395348837209 x 113.12164948453608 [0.00] Starting up... [0.00] Showing splash screen... [0.19] splash screen shown [0.19] Initializing db... [0.19] db initialized [0.19] Constructing main UI... Screens currently in system: {'depth': 32, 'device_pixel_ratio': 1.25, 'geometry_in_logical_pixels': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}, 'index_in_screens_list': 0, 'manufacturer': '', 'model': '', 'name': '\\.\DISPLAY1', 'serial': '', 'size_in_logical_pixels': {'height': 864, 'width': 1536}, 'virtual_geometry': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}} Restoring geometry for: calibre_main_window_geometry {'frame_geometry': {'height': 511, 'width': 1210, 'x': 7, 'y': 0}, 'full_screened': False, 'geometry': {'height': 481, 'width': 1210, 'x': 7, 'y': 30}, 'maximized': False, 'normal_geometry': {'height': 481, 'width': 1210, 'x': 7, 'y': 30}, 'screen': {'depth': 32, 'device_pixel_ratio': 1.25, 'geometry_in_logical_pixels': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}, 'index_in_screens_list': 0, 'manufacturer': '', 'model': '', 'name': '\\.\DISPLAY1', 'serial': '', 'size_in_logical_pixels': {'height': 864, 'width': 1536}, 'virtual_geometry': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}}} Matching screen: {'depth': 32, 'device_pixel_ratio': 1.25, 'geometry_in_logical_pixels': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}, 'index_in_screens_list': 0, 'manufacturer': '', 'model': '', 'name': '\\.\DISPLAY1', 'serial': '', 'size_in_logical_pixels': {'height': 864, 'width': 1536}, 'virtual_geometry': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}} Setting widget geometry to: {'height': 481, 'width': 1210, 'x': 7, 'y': 30} [1.09] main UI initialized... [1.09] Hiding splash screen Starting QuickView [3.78] splash screen hidden [3.78] Started up in 3.78 seconds with 2 books Restoring geometry for: convert_single_dialog_geom {'frame_geometry': {'height': 746, 'width': 1466, 'x': 0, 'y': 0}, 'full_screened': False, 'geometry': {'height': 716, 'width': 1466, 'x': 0, 'y': 30}, 'maximized': False, 'normal_geometry': {'height': 716, 'width': 1466, 'x': 0, 'y': 30}, 'screen': {'depth': 32, 'device_pixel_ratio': 1.25, 'geometry_in_logical_pixels': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}, 'index_in_screens_list': 0, 'manufacturer': '', 'model': '', 'name': '\\.\DISPLAY1', 'serial': '', 'size_in_logical_pixels': {'height': 864, 'width': 1536}, 'virtual_geometry': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}}} Matching screen: {'depth': 32, 'device_pixel_ratio': 1.25, 'geometry_in_logical_pixels': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}, 'index_in_screens_list': 0, 'manufacturer': '', 'model': '', 'name': '\\.\DISPLAY1', 'serial': '', 'size_in_logical_pixels': {'height': 864, 'width': 1536}, 'virtual_geometry': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}} Setting widget geometry to: {'height': 716, 'width': 1466, 'x': 0, 'y': 30} Saving geometry for: convert_single_dialog_geom {'frame_geometry': {'height': 746, 'width': 1466, 'x': 0, 'y': 0}, 'full_screened': False, 'geometry': {'height': 716, 'width': 1466, 'x': 0, 'y': 30}, 'maximized': False, 'normal_geometry': {'height': 716, 'width': 1466, 'x': 0, 'y': 30}, 'screen': {'depth': 32, 'device_pixel_ratio': 1.25, 'geometry_in_logical_pixels': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}, 'index_in_screens_list': 0, 'manufacturer': '', 'model': '', 'name': '\\.\DISPLAY1', 'serial': '', 'size_in_logical_pixels': {'height': 864, 'width': 1536}, 'virtual_geometry': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}}} Worker Launch took: 0.02 seconds Job: 0 Convert book 1 of 1 (Social Marketing to Protect the Environment) finished Convert book 1 of 1 (Social Marketing to Protect the Environment) DeDRM v10.0.3: Trying to decrypt 5flp49us.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: Social Marketing to Protect the Environment 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\luish\AppData\Local Found K4PC 1.25+ kinf2018 file: C:\Users\luish\AppData\Local\Amazon\Kindle\storage.kinf2018 Decrypted key file using IDString '1727422853' and UserName 'luish' 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: Social Marketing to Protect the Environment 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\luish\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 261, in GetDecryptedBook File "C:\Users\luish\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\luish\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 261, in GetDecryptedBook
  File "C:\Users\luish\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\luish\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 261, in GetDecryptedBook
  File "C:\Users\luish\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 178, 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
Conversion options changed from defaults:
  pdf_serif_family: 'Arial'
  pdf_mono_family: 'Courier New'
  cover: 'C:\\Users\\luish\\AppData\\Local\\Temp\\calibre_ebtciyhh\\n6a7eogl.jpeg'
  pdf_sans_family: 'Arial'
  verbose: 2
  read_metadata_from_opf: 'C:\\Users\\luish\\AppData\\Local\\Temp\\calibre_ebtciyhh\\reqy13lz.opf'
  output_profile: 'kindle_pw3'
Resolved conversion options
calibre version: 6.11.0
{'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\\luish\\AppData\\Local\\Temp\\calibre_ebtciyhh\\n6a7eogl.jpeg',
 'custom_size': None,
 'debug_pipeline': None,
 'dehyphenate': True,
 'delete_blank_paragraphs': True,
 'disable_font_rescaling': False,
 'duplicate_links_in_toc': False,
 'embed_all_fonts': False,
 'embed_font_family': None,
 'enable_heuristics': False,
 'expand_css': False,
 'extra_css': None,
 'filter_css': '',
 'fix_indents': True,
 'font_size_mapping': None,
 'format_scene_breaks': True,
 'html_unwrap_factor': 0.4,
 'input_encoding': None,
 'input_profile': <calibre.customize.profiles.InputProfile object at 0x000001FED0244310>,
 '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_inline_navbars': False,
 'output_profile': <calibre.customize.profiles.KindlePaperWhite3Output object at 0x000001FED0247E50>,
 'page_breaks_before': "//*[name()='h1' or name()='h2']",
 'paper_size': 'letter',
 'pdf_add_toc': False,
 'pdf_default_font_size': 20,
 'pdf_footer_template': None,
 'pdf_header_template': None,
 'pdf_hyphenate': False,
 'pdf_mark_links': False,
 'pdf_mono_family': 'Courier New',
 'pdf_mono_font_size': 16,
 'pdf_odd_even_offset': 0.0,
 'pdf_page_margin_bottom': 72.0,
 'pdf_page_margin_left': 72.0,
 'pdf_page_margin_right': 72.0,
 'pdf_page_margin_top': 72.0,
 'pdf_page_number_map': None,
 'pdf_page_numbers': False,
 'pdf_sans_family': 'Arial',
 'pdf_serif_family': 'Arial',
 'pdf_standard_font': 'serif',
 'pdf_use_document_margins': False,
 'prefer_metadata_cover': False,
 'preserve_cover_aspect_ratio': False,
 'pretty_print': False,
 'pubdate': None,
 'publisher': None,
 'rating': None,
 'read_metadata_from_opf': 'C:\\Users\\luish\\AppData\\Local\\Temp\\calibre_ebtciyhh\\reqy13lz.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': '[]',
 'uncompressed_pdf': False,
 'unit': 'inch',
 'unsmarten_punctuation': False,
 'unwrap_lines': True,
 'use_auto_toc': False,
 'use_profile_size': False,
 'verbose': 2}
DeDRM v10.0.3: Trying to decrypt 5flp49us.azw3
MobiDeDrm v1.1.
Copyright © 2008-2020 The Dark Reverser, Apprentice Harper et al.
Decrypting Kindle Format 8 ebook: Social Marketing to Protect the Environment
Found 0 keys to try after 0.0 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.0 seconds
searching for kinfoFiles in C:\Users\luish\AppData\Local
Found K4PC 1.25+ kinf2018 file: C:\Users\luish\AppData\Local\Amazon\Kindle\storage\.kinf2018
Decrypted key file using IDString '1727422853' and UserName 'luish'
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: Social Marketing to Protect the Environment
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\luish\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 261, in GetDecryptedBook
  File "C:\Users\luish\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\luish\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 261, in GetDecryptedBook
  File "C:\Users\luish\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\luish\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 261, in GetDecryptedBook
  File "C:\Users\luish\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 178, 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
InputFormatPlugin: MOBI Input running
on C:\Users\luish\AppData\Local\Temp\calibre_ebtciyhh\5flp49us.azw3
Found KF8 MOBI of type 'standalone'
Traceback (most recent call last):
  File "runpy.py", line 196, in _run_module_as_main
  File "runpy.py", line 86, 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 215, 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 1108, in run
  File "calibre\customize\conversion.py", line 242, in __call__
  File "calibre\ebooks\conversion\plugins\mobi_input.py", line 44, in convert
  File "calibre\ebooks\mobi\reader\mobi8.py", line 85, in __call__
  File "calibre\ebooks\mobi\reader\mobi6.py", line 162, in check_for_drm
calibre.ebooks.DRMError: Social Marketing to Protect the Environment

Which version of Calibre are you running?

6.11

Which version of the DeDRM plugin are you running?

10.0.3

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

1.39.2

Log output

ApplicationPaletteChange event ignored Using calibre Qt style: True calibre Debug log calibre 6.11 embedded-python: True Windows-10-10.0.22621-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.22621') Python 3.10.1 Windows: ('10', '10.0.22621', 'SP0', 'Multiprocessor Free') Interface language: None Successfully initialized third party plugins: DeDRM (10, 0, 3) calibre 6.11 embedded-python: True Windows-10-10.0.22621-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.22621') Python 3.10.1 Windows: ('10', '10.0.22621', 'SP0', 'Multiprocessor Free') Interface language: None Successfully initialized third party plugins: DeDRM (10, 0, 3) QPA platform: windows devicePixelRatio: 1.25 logicalDpi: 96.0 x 96.0 physicalDpi: 113.41395348837209 x 113.12164948453608 [0.00] Starting up... [0.00] Showing splash screen... [0.19] splash screen shown [0.19] Initializing db... [0.19] db initialized [0.19] Constructing main UI... Screens currently in system: {'depth': 32, 'device_pixel_ratio': 1.25, 'geometry_in_logical_pixels': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}, 'index_in_screens_list': 0, 'manufacturer': '', 'model': '', 'name': '\\.\DISPLAY1', 'serial': '', 'size_in_logical_pixels': {'height': 864, 'width': 1536}, 'virtual_geometry': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}} Restoring geometry for: calibre_main_window_geometry {'frame_geometry': {'height': 511, 'width': 1210, 'x': 7, 'y': 0}, 'full_screened': False, 'geometry': {'height': 481, 'width': 1210, 'x': 7, 'y': 30}, 'maximized': False, 'normal_geometry': {'height': 481, 'width': 1210, 'x': 7, 'y': 30}, 'screen': {'depth': 32, 'device_pixel_ratio': 1.25, 'geometry_in_logical_pixels': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}, 'index_in_screens_list': 0, 'manufacturer': '', 'model': '', 'name': '\\.\DISPLAY1', 'serial': '', 'size_in_logical_pixels': {'height': 864, 'width': 1536}, 'virtual_geometry': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}}} Matching screen: {'depth': 32, 'device_pixel_ratio': 1.25, 'geometry_in_logical_pixels': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}, 'index_in_screens_list': 0, 'manufacturer': '', 'model': '', 'name': '\\.\DISPLAY1', 'serial': '', 'size_in_logical_pixels': {'height': 864, 'width': 1536}, 'virtual_geometry': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}} Setting widget geometry to: {'height': 481, 'width': 1210, 'x': 7, 'y': 30} [1.09] main UI initialized... [1.09] Hiding splash screen Starting QuickView [3.78] splash screen hidden [3.78] Started up in 3.78 seconds with 2 books Restoring geometry for: convert_single_dialog_geom {'frame_geometry': {'height': 746, 'width': 1466, 'x': 0, 'y': 0}, 'full_screened': False, 'geometry': {'height': 716, 'width': 1466, 'x': 0, 'y': 30}, 'maximized': False, 'normal_geometry': {'height': 716, 'width': 1466, 'x': 0, 'y': 30}, 'screen': {'depth': 32, 'device_pixel_ratio': 1.25, 'geometry_in_logical_pixels': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}, 'index_in_screens_list': 0, 'manufacturer': '', 'model': '', 'name': '\\.\DISPLAY1', 'serial': '', 'size_in_logical_pixels': {'height': 864, 'width': 1536}, 'virtual_geometry': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}}} Matching screen: {'depth': 32, 'device_pixel_ratio': 1.25, 'geometry_in_logical_pixels': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}, 'index_in_screens_list': 0, 'manufacturer': '', 'model': '', 'name': '\\.\DISPLAY1', 'serial': '', 'size_in_logical_pixels': {'height': 864, 'width': 1536}, 'virtual_geometry': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}} Setting widget geometry to: {'height': 716, 'width': 1466, 'x': 0, 'y': 30} Saving geometry for: convert_single_dialog_geom {'frame_geometry': {'height': 746, 'width': 1466, 'x': 0, 'y': 0}, 'full_screened': False, 'geometry': {'height': 716, 'width': 1466, 'x': 0, 'y': 30}, 'maximized': False, 'normal_geometry': {'height': 716, 'width': 1466, 'x': 0, 'y': 30}, 'screen': {'depth': 32, 'device_pixel_ratio': 1.25, 'geometry_in_logical_pixels': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}, 'index_in_screens_list': 0, 'manufacturer': '', 'model': '', 'name': '\\.\DISPLAY1', 'serial': '', 'size_in_logical_pixels': {'height': 864, 'width': 1536}, 'virtual_geometry': {'height': 864, 'width': 1536, 'x': 0, 'y': 0}}} Worker Launch took: 0.02 seconds Job: 0 Convert book 1 of 1 (Social Marketing to Protect the Environment) finished Convert book 1 of 1 (Social Marketing to Protect the Environment) DeDRM v10.0.3: Trying to decrypt 5flp49us.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: Social Marketing to Protect the Environment 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\luish\AppData\Local Found K4PC 1.25+ kinf2018 file: C:\Users\luish\AppData\Local\Amazon\Kindle\storage.kinf2018 Decrypted key file using IDString '1727422853' and UserName 'luish' 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: Social Marketing to Protect the Environment 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\luish\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 261, in GetDecryptedBook File "C:\Users\luish\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\luish\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 261, in GetDecryptedBook
  File "C:\Users\luish\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\luish\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 261, in GetDecryptedBook
  File "C:\Users\luish\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 178, 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
Conversion options changed from defaults:
  pdf_serif_family: 'Arial'
  pdf_mono_family: 'Courier New'
  cover: 'C:\\Users\\luish\\AppData\\Local\\Temp\\calibre_ebtciyhh\\n6a7eogl.jpeg'
  pdf_sans_family: 'Arial'
  verbose: 2
  read_metadata_from_opf: 'C:\\Users\\luish\\AppData\\Local\\Temp\\calibre_ebtciyhh\\reqy13lz.opf'
  output_profile: 'kindle_pw3'
Resolved conversion options
calibre version: 6.11.0
{'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\\luish\\AppData\\Local\\Temp\\calibre_ebtciyhh\\n6a7eogl.jpeg',
 'custom_size': None,
 'debug_pipeline': None,
 'dehyphenate': True,
 'delete_blank_paragraphs': True,
 'disable_font_rescaling': False,
 'duplicate_links_in_toc': False,
 'embed_all_fonts': False,
 'embed_font_family': None,
 'enable_heuristics': False,
 'expand_css': False,
 'extra_css': None,
 'filter_css': '',
 'fix_indents': True,
 'font_size_mapping': None,
 'format_scene_breaks': True,
 'html_unwrap_factor': 0.4,
 'input_encoding': None,
 'input_profile': <calibre.customize.profiles.InputProfile object at 0x000001FED0244310>,
 '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_inline_navbars': False,
 'output_profile': <calibre.customize.profiles.KindlePaperWhite3Output object at 0x000001FED0247E50>,
 'page_breaks_before': "//*[name()='h1' or name()='h2']",
 'paper_size': 'letter',
 'pdf_add_toc': False,
 'pdf_default_font_size': 20,
 'pdf_footer_template': None,
 'pdf_header_template': None,
 'pdf_hyphenate': False,
 'pdf_mark_links': False,
 'pdf_mono_family': 'Courier New',
 'pdf_mono_font_size': 16,
 'pdf_odd_even_offset': 0.0,
 'pdf_page_margin_bottom': 72.0,
 'pdf_page_margin_left': 72.0,
 'pdf_page_margin_right': 72.0,
 'pdf_page_margin_top': 72.0,
 'pdf_page_number_map': None,
 'pdf_page_numbers': False,
 'pdf_sans_family': 'Arial',
 'pdf_serif_family': 'Arial',
 'pdf_standard_font': 'serif',
 'pdf_use_document_margins': False,
 'prefer_metadata_cover': False,
 'preserve_cover_aspect_ratio': False,
 'pretty_print': False,
 'pubdate': None,
 'publisher': None,
 'rating': None,
 'read_metadata_from_opf': 'C:\\Users\\luish\\AppData\\Local\\Temp\\calibre_ebtciyhh\\reqy13lz.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': '[]',
 'uncompressed_pdf': False,
 'unit': 'inch',
 'unsmarten_punctuation': False,
 'unwrap_lines': True,
 'use_auto_toc': False,
 'use_profile_size': False,
 'verbose': 2}
DeDRM v10.0.3: Trying to decrypt 5flp49us.azw3
MobiDeDrm v1.1.
Copyright © 2008-2020 The Dark Reverser, Apprentice Harper et al.
Decrypting Kindle Format 8 ebook: Social Marketing to Protect the Environment
Found 0 keys to try after 0.0 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.0 seconds
searching for kinfoFiles in C:\Users\luish\AppData\Local
Found K4PC 1.25+ kinf2018 file: C:\Users\luish\AppData\Local\Amazon\Kindle\storage\.kinf2018
Decrypted key file using IDString '1727422853' and UserName 'luish'
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: Social Marketing to Protect the Environment
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\luish\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 261, in GetDecryptedBook
  File "C:\Users\luish\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\luish\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 261, in GetDecryptedBook
  File "C:\Users\luish\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\luish\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 261, in GetDecryptedBook
  File "C:\Users\luish\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 178, 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
InputFormatPlugin: MOBI Input running
on C:\Users\luish\AppData\Local\Temp\calibre_ebtciyhh\5flp49us.azw3
Found KF8 MOBI of type 'standalone'
Traceback (most recent call last):
  File "runpy.py", line 196, in _run_module_as_main
  File "runpy.py", line 86, 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 215, 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 1108, in run
  File "calibre\customize\conversion.py", line 242, in __call__
  File "calibre\ebooks\conversion\plugins\mobi_input.py", line 44, in convert
  File "calibre\ebooks\mobi\reader\mobi8.py", line 85, in __call__
  File "calibre\ebooks\mobi\reader\mobi6.py", line 162, in check_for_drm
calibre.ebooks.DRMError: Social Marketing to Protect the Environment
ElleKayEm commented 1 year ago

You got the file with "download & tranfer via USB" from the website? Did you choose an E-ink Kindle for the device? If so, you need to add its serial number into DeDRM's customization. After that, restart calibre, remove and re-add the books and the DRM should be removed.