apprenticeharper / DeDRM_tools

DeDRM tools for ebooks
14.52k stars 1.51k forks source link

Hello, ... to the wise swarm ... my DRM isn't going: #1912

Closed tidyheidi closed 2 years ago

tidyheidi commented 2 years ago

I have a mac running big sur 11.4 I have Calibre version 5.31.1 I have a kindle paper white firmware Ver: 5.13.6

I have installed the DeDRM plug in and followed customisation recommendations. When trying to add a book, it reports that due to the .kfx, I am better to download directly from amazon ... still no luck. Heres my log:

calibre Debug log calibre 5.31.1 embedded-python: True is64bit: True macOS-10.16-x86_64-i386-64bit Darwin ('64bit', '') ('Darwin', '20.5.0', 'Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64') Python 3.8.5 OSX: ('10.16', ('', '', ''), 'x86_64') Interface language: None Successfully initialized third party plugins: DeDRM (7, 2, 1) calibre 5.31.1 embedded-python: True is64bit: True macOS-10.16-x86_64-i386-64bit Darwin ('64bit', '') ('Darwin', '20.5.0', 'Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64') Python 3.8.5 OSX: ('10.16', ('', '', ''), 'x86_64') Interface language: None Successfully initialized third party plugins: DeDRM (7, 2, 1) devicePixelRatio: 2.0 logicalDpi: 72.0 x 72.0 physicalDpi: 113.50000170459899 x 113.50000170459901 Using calibre Qt style: True [0.00] Starting up... [0.03] Showing splash screen... [0.31] splash screen shown [0.31] Initializing db... [0.32] db initialized [0.32] Constructing main UI... [1.09] main UI initialized... [1.09] Hiding splash screen Starting QuickView DeDRM v7.2.1: Trying to decrypt Jamie Oliver's Christmas Cookbook.azw3 Using Library AlfCrypto Python Using Library AlfCrypto Python MobiDeDrm v1.0. Copyright © 2008-2020 The Dark Reverser, Apprentice Harper et al. Decrypting Kindle Format 8 ebook: Jamie Oliver's Christmas Cookbook Found 2 keys to try after 0.2 seconds Crypto Type is: 2 DeDRM v7.2.1: Failed to decrypt with error: No key found in 2 PIDs tried. DeDRM v7.2.1: Looking for new default Kindle Key after 0.2 seconds Found k4Mac kinf2018 file: /Users/Lila/Library/Containers/com.amazon.Kindle/Data/Library/Application Support/Kindle/storage/.kinf2018 trying username b'Lila' on file /Users/Lila/Library/Containers/com.amazon.Kindle/Data/Library/Application Support/Kindle/storage/.kinf2018 trying IDString: b'dd9464df1263' [11.04] splash screen hidden [11.04] Started up in 11.04 seconds with 2 books

{'bsd_drives': {'main': '/dev/disk2s1'}, 'drives': {'main': '/Volumes/Kindle'}, 'mount_map': {'/dev/disk1s1': '/System/Volumes/Data', '/dev/disk1s2': '/System/Volumes/Preboot', '/dev/disk1s4': '/System/Volumes/VM', '/dev/disk1s5': '/System/Volumes/Update/mnt1', '/dev/disk1s5s1': '/', '/dev/disk1s6': '/System/Volumes/Update', '/dev/disk2s1': '/Volumes/Kindle', 'devfs': '/dev', 'map auto_home': '/System/Volumes/Data/home'}} Syncing cover thumbnails to workaround amazon cover bug 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 oncard= None DEBUG: 0.0 USBMS: dirs are: /Volumes/Kindle/ documents DEBUG: 0.0 USBMS: scan from root False /Volumes/Kindle/documents Job: 0 Get device information finished No details available. Job: 1 Set library information finished No details available. failed kfx path: /Volumes/Kindle/documents/Breifrei für Babys (GU KüchenRatgeber) (German Edition)_B082DKM388.sdr/assets/metadata.kfx failed kfx path: /Volumes/Kindle/documents/Jamie Oliver's Christmas CookbookB01IX1T06W.sdr/assets/metadata.kfx failed kfx path: /Volumes/Kindle/documents/5 Ingredients - Quick & Easy Food Jamie’s most straightforward bookB06XQ79XBC.sdr/assets/metadata.kfx failed kfx path: /Volumes/Kindle/documents/Together Memorable Meals Made Easy_B0921JLVS4.sdr/assets/metadata.kfx failed kfx path: /Volumes/Kindle/documents/Ottolenghi SIMPLEB07FQ68P2L.sdr/assets/metadata.kfx failed kfx path: /Volumes/Kindle/documents/Das große GU Breifrei-Kochbuch Die besten Rezepte und Tipps von den Expertinnen des breifreibaby-Blogs (GU Familienküche) (German Edition)B08PDT7LRJ.sdr/assets/metadata.kfx failed kfx path: /Volumes/Kindle/documents/Veg Easy & Delicious Meals for Everyone as seen on Channel 4's Meat-Free Meals_B07P7Q8SSJ.sdr/assets/metadata.kfx DEBUG: 1.2 USBMS: count found in cache: 0, count of files in metadata: 14, need_sync: True DEBUG: 1.2 USBMS: starting sync_booklists DEBUG: 1.2 USBMS: finished sync_booklists DEBUG: 1.2 USBMS: Finished fetching list of books from device. oncard= None DEBUG: 1.2 USBMS: Fetching list of books from device. Device= KINDLE2 oncard= carda DEBUG: 1.2 USBMS: Fetching list of books from device. Device= KINDLE2 oncard= cardb DeviceJob: 2 Get list of books on device done, calling callback DeviceJob: metadata_downloaded: Starting set_books_in_library DeviceJob: set_books_in_library: books to process= 14 DeviceJob: set_books_in_library finished: time= 0.005922079086303711 DeviceJob: metadata_downloaded: updating views DeviceJob: metadata_downloaded: syncing DeviceJob: metadata_downloaded: refreshing ondevice 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. Decrypted key file using IDString 'dd9464df1263' and UserName 'Lila' DeDRM v7.2.1: Found 1 new key MobiDeDrm v1.0. Copyright © 2008-2020 The Dark Reverser, Apprentice Harper et al. Decrypting Kindle Format 8 ebook: Jamie Oliver's Christmas Cookbook Got SerialNumber from database default_key_1 Got UsernameHash from database default_key_1 Found 4 keys to try after 1.0 seconds Crypto Type is: 2 DeDRM v7.2.1: Ultimately failed to decrypt after 1.0 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 book = k4mobidedrm.GetDecryptedBook(path_to_ebook,kindleDatabases,androidFiles,serials,pids,self.starttime) File "calibre_plugins.dedrm.k4mobidedrm", line 238, in GetDecryptedBook mb.processBook(totalpids) File "calibre_plugins.dedrm.mobidedrm", line 484, in processBook raise DrmException("No key found in {0:d} PIDs tried.".format(len(goodpids))) calibre_plugins.dedrm.mobidedrm.DrmException: No key found in 2 PIDs tried.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "calibre/customize/ui.py", line 175, in _run_filetype_plugins File "calibre_plugins.dedrm.init", line 633, in run decrypted_ebook = self.KindleMobiDecrypt(path_to_ebook) File "calibre_plugins.dedrm.init", line 583, in KindleMobiDecrypt raise DeDRMError("{0} v{1}: Ultimately failed to decrypt after {2:.1f} seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md".format(PLUGIN_NAME, PLUGIN_VERSION,time.time()-self.starttime)) calibre_plugins.dedrm.DeDRMError: DeDRM v7.2.1: Ultimately failed to decrypt after 1.0 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md Added Jamie Oliver's Christmas Cookbook to db in: 0.1 Added 1 books in 1.7 seconds Worker Launch took: 0.04 seconds Job: 3 Convert book 1 of 1 (Jamie Oliver's Christmas Cookbook) finished Convert book 1 of 1 (Jamie Oliver's Christmas Cookbook) DeDRM v7.2.1: Trying to decrypt 32wh74_z.azw3 Using Library AlfCrypto Python Using Library AlfCrypto Python MobiDeDrm v1.0. Copyright © 2008-2020 The Dark Reverser, Apprentice Harper et al. Decrypting Kindle Format 8 ebook: Jamie Oliver's Christmas Cookbook Found 2 keys to try after 0.4 seconds Crypto Type is: 2 DeDRM v7.2.1: Failed to decrypt with error: No key found in 2 PIDs tried. DeDRM v7.2.1: Looking for new default Kindle Key after 0.4 seconds Found k4Mac kinf2018 file: /Users/Lila/Library/Containers/com.amazon.Kindle/Data/Library/Application Support/Kindle/storage/.kinf2018 trying username b'Lila' on file /Users/Lila/Library/Containers/com.amazon.Kindle/Data/Library/Application Support/Kindle/storage/.kinf2018 trying IDString: b'dd9464df1263' Decrypted key file using IDString 'dd9464df1263' and UserName 'Lila' DeDRM v7.2.1: Found 1 new key MobiDeDrm v1.0. Copyright © 2008-2020 The Dark Reverser, Apprentice Harper et al. Decrypting Kindle Format 8 ebook: Jamie Oliver's Christmas Cookbook Got SerialNumber from database default_key_1 Got UsernameHash from database default_key_1 Found 4 keys to try after 1.2 seconds Crypto Type is: 2 DeDRM v7.2.1: Ultimately failed to decrypt after 1.2 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md Conversion options changed from defaults: output_profile: 'kindle_pw3' read_metadata_from_opf: '/var/folders/lr/7xg1drqs6q9843_jfm_76vxh0000gn/C/calibre_5.31.1_tmp_s8zmy_63/pql9mhhm.opf' cover: '/var/folders/lr/7xg1drqs6q9843_jfm_76vxh0000gn/C/calibre_5.31.1_tmp_s8zmy_63/rnsoxwfv.jpeg' verbose: 2 Resolved conversion options calibre version: 5.31.1 {'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': '/var/folders/lr/7xg1drqs6q9843_jfm_76vxh0000gn/C/calibre_5.31.1_tmp_s8zmy_63/rnsoxwfv.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_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 0x10bbd00a0>, '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 0x10bbd06a0>, 'page_breaks_before': "//*[name()='h1' or name()='h2']", 'prefer_metadata_cover': False, 'preserve_cover_aspect_ratio': False, 'pretty_print': True, 'pubdate': None, 'publisher': None, 'rating': None, 'read_metadata_from_opf': '/var/folders/lr/7xg1drqs6q9843_jfm_76vxh0000gn/C/calibre_5.31.1_tmp_s8zmy_63/pql9mhhm.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': '[]', 'unsmarten_punctuation': False, 'unwrap_lines': True, 'use_auto_toc': False, 'verbose': 2} Running file type plugin DeDRM failed with traceback: Traceback (most recent call last): File "calibre_plugins.dedrm.init", line 540, in KindleMobiDecrypt book = k4mobidedrm.GetDecryptedBook(path_to_ebook,kindleDatabases,androidFiles,serials,pids,self.starttime) File "calibre_plugins.dedrm.k4mobidedrm", line 238, in GetDecryptedBook mb.processBook(totalpids) File "calibre_plugins.dedrm.mobidedrm", line 484, in processBook raise DrmException("No key found in {0:d} PIDs tried.".format(len(goodpids))) calibre_plugins.dedrm.mobidedrm.DrmException: No key found in 2 PIDs tried.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre/customize/ui.py", line 175, in _run_filetype_plugins
  File "calibre_plugins.dedrm.__init__", line 633, in run
    decrypted_ebook = self.KindleMobiDecrypt(path_to_ebook)
  File "calibre_plugins.dedrm.__init__", line 583, in KindleMobiDecrypt
    raise DeDRMError("{0} v{1}: Ultimately failed to decrypt after {2:.1f} seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md".format(PLUGIN_NAME, PLUGIN_VERSION,time.time()-self.starttime))
calibre_plugins.dedrm.DeDRMError: DeDRM v7.2.1: Ultimately failed to decrypt after 1.2 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
DeDRM v7.2.1: Trying to decrypt 32wh74_z.azw3
MobiDeDrm v1.0.
Copyright © 2008-2020 The Dark Reverser, Apprentice Harper et al.
Decrypting Kindle Format 8 ebook: Jamie Oliver's Christmas Cookbook
Found 2 keys to try after 0.1 seconds
Crypto Type is: 2
DeDRM v7.2.1: Failed to decrypt with error: No key found in 2 PIDs tried.
DeDRM v7.2.1: Looking for new default Kindle Key after 0.1 seconds
Found k4Mac kinf2018 file: /Users/Lila/Library/Containers/com.amazon.Kindle/Data/Library/Application Support/Kindle/storage/.kinf2018
trying username  b'Lila'  on file  /Users/Lila/Library/Containers/com.amazon.Kindle/Data/Library/Application Support/Kindle/storage/.kinf2018
trying IDString: b'dd9464df1263'
Decrypted key file using IDString 'dd9464df1263' and UserName 'Lila'
DeDRM v7.2.1: Found 1 new key
MobiDeDrm v1.0.
Copyright © 2008-2020 The Dark Reverser, Apprentice Harper et al.
Decrypting Kindle Format 8 ebook: Jamie Oliver's Christmas Cookbook
Got SerialNumber from database default_key_1
Got UsernameHash from database default_key_1
Found 4 keys to try after 0.9 seconds
Crypto Type is: 2
DeDRM v7.2.1: Ultimately failed to decrypt after 0.9 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
    book = k4mobidedrm.GetDecryptedBook(path_to_ebook,kindleDatabases,androidFiles,serials,pids,self.starttime)
  File "calibre_plugins.dedrm.k4mobidedrm", line 238, in GetDecryptedBook
    mb.processBook(totalpids)
  File "calibre_plugins.dedrm.mobidedrm", line 484, in processBook
    raise DrmException("No key found in {0:d} PIDs tried.".format(len(goodpids)))
calibre_plugins.dedrm.mobidedrm.DrmException: No key found in 2 PIDs tried.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre/customize/ui.py", line 175, in _run_filetype_plugins
  File "calibre_plugins.dedrm.__init__", line 633, in run
    decrypted_ebook = self.KindleMobiDecrypt(path_to_ebook)
  File "calibre_plugins.dedrm.__init__", line 583, in KindleMobiDecrypt
    raise DeDRMError("{0} v{1}: Ultimately failed to decrypt after {2:.1f} seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md".format(PLUGIN_NAME, PLUGIN_VERSION,time.time()-self.starttime))
calibre_plugins.dedrm.DeDRMError: DeDRM v7.2.1: Ultimately failed to decrypt after 0.9 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
InputFormatPlugin: MOBI Input running
on /var/folders/lr/7xg1drqs6q9843_jfm_76vxh0000gn/C/calibre_5.31.1_tmp_s8zmy_63/32wh74_z.azw3
Found KF8 MOBI of type 'standalone'
Traceback (most recent call last):
  File "runpy.py", line 194, in _run_module_as_main
  File "runpy.py", line 87, in _run_code
  File "site.py", line 39, in <module>
  File "site.py", line 35, in main
  File "calibre/utils/ipc/worker.py", line 216, in main
  File "calibre/gui2/convert/gui_conversion.py", line 41, in gui_convert_override
  File "calibre/gui2/convert/gui_conversion.py", line 28, in gui_convert
  File "calibre/ebooks/conversion/plumber.py", line 1105, in run
  File "calibre/customize/conversion.py", line 244, in __call__
  File "calibre/ebooks/conversion/plugins/mobi_input.py", line 44, in convert
  File "calibre/ebooks/mobi/reader/mobi8.py", line 86, in __call__
  File "calibre/ebooks/mobi/reader/mobi6.py", line 163, in check_for_drm
calibre.ebooks.DRMError: Jamie Oliver's Christmas Cookbook

DeDRM v7.2.1: Trying to decrypt Jamie Oliver's Christmas Cookbook - Jamie Oliver.azw3 Using Library AlfCrypto Python Using Library AlfCrypto Python MobiDeDrm v1.0. Copyright © 2008-2020 The Dark Reverser, Apprentice Harper et al. Decrypting Kindle Format 8 ebook: Jamie Oliver's Christmas Cookbook Found 2 keys to try after 0.2 seconds Crypto Type is: 2 DeDRM v7.2.1: Failed to decrypt with error: No key found in 2 PIDs tried. DeDRM v7.2.1: Looking for new default Kindle Key after 0.2 seconds Found k4Mac kinf2018 file: /Users/Lila/Library/Containers/com.amazon.Kindle/Data/Library/Application Support/Kindle/storage/.kinf2018 trying username b'Lila' on file /Users/Lila/Library/Containers/com.amazon.Kindle/Data/Library/Application Support/Kindle/storage/.kinf2018 trying IDString: b'dd9464df1263'

Decrypted key file using IDString 'dd9464df1263' and UserName 'Lila' DeDRM v7.2.1: Found 1 new key MobiDeDrm v1.0. Copyright © 2008-2020 The Dark Reverser, Apprentice Harper et al. Decrypting Kindle Format 8 ebook: Jamie Oliver's Christmas Cookbook Got SerialNumber from database default_key_1 Got UsernameHash from database default_key_1 Found 4 keys to try after 0.9 seconds Crypto Type is: 2 DeDRM v7.2.1: Ultimately failed to decrypt after 0.9 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 book = k4mobidedrm.GetDecryptedBook(path_to_ebook,kindleDatabases,androidFiles,serials,pids,self.starttime) File "calibre_plugins.dedrm.k4mobidedrm", line 238, in GetDecryptedBook mb.processBook(totalpids) File "calibre_plugins.dedrm.mobidedrm", line 484, in processBook raise DrmException("No key found in {0:d} PIDs tried.".format(len(goodpids))) calibre_plugins.dedrm.mobidedrm.DrmException: No key found in 2 PIDs tried.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "calibre/customize/ui.py", line 175, in _run_filetype_plugins File "calibre_plugins.dedrm.init", line 633, in run decrypted_ebook = self.KindleMobiDecrypt(path_to_ebook) File "calibre_plugins.dedrm.init", line 583, in KindleMobiDecrypt raise DeDRMError("{0} v{1}: Ultimately failed to decrypt after {2:.1f} seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md".format(PLUGIN_NAME, PLUGIN_VERSION,time.time()-self.starttime)) calibre_plugins.dedrm.DeDRMError: DeDRM v7.2.1: Ultimately failed to decrypt after 0.9 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md Added Jamie Oliver's Christmas Cookbook to db in: 0.1 Added 1 books in 7.2 seconds Worker Launch took: 0.06 seconds Job: 4 Convert book 1 of 1 (Jamie Oliver's Christmas Cookbook) finished Convert book 1 of 1 (Jamie Oliver's Christmas Cookbook) DeDRM v7.2.1: Trying to decrypt gnveqh6s.azw3 Using Library AlfCrypto Python Using Library AlfCrypto Python MobiDeDrm v1.0. Copyright © 2008-2020 The Dark Reverser, Apprentice Harper et al. Decrypting Kindle Format 8 ebook: Jamie Oliver's Christmas Cookbook Found 2 keys to try after 0.3 seconds Crypto Type is: 2 DeDRM v7.2.1: Failed to decrypt with error: No key found in 2 PIDs tried. DeDRM v7.2.1: Looking for new default Kindle Key after 0.4 seconds Found k4Mac kinf2018 file: /Users/Lila/Library/Containers/com.amazon.Kindle/Data/Library/Application Support/Kindle/storage/.kinf2018 trying username b'Lila' on file /Users/Lila/Library/Containers/com.amazon.Kindle/Data/Library/Application Support/Kindle/storage/.kinf2018 trying IDString: b'dd9464df1263' Decrypted key file using IDString 'dd9464df1263' and UserName 'Lila' DeDRM v7.2.1: Found 1 new key MobiDeDrm v1.0. Copyright © 2008-2020 The Dark Reverser, Apprentice Harper et al. Decrypting Kindle Format 8 ebook: Jamie Oliver's Christmas Cookbook Got SerialNumber from database default_key_1 Got UsernameHash from database default_key_1 Found 4 keys to try after 1.2 seconds Crypto Type is: 2 DeDRM v7.2.1: Ultimately failed to decrypt after 1.2 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md Conversion options changed from defaults: output_profile: 'kindle_pw3' read_metadata_from_opf: '/var/folders/lr/7xg1drqs6q9843_jfm_76vxh0000gn/C/calibre_5.31.1_tmp_s8zmy_63/hyh9xui6.opf' cover: '/var/folders/lr/7xg1drqs6q9843_jfm_76vxh0000gn/C/calibre_5.31.1_tmp_s8zmy_63/8fhomgq1.jpeg' verbose: 2 Resolved conversion options calibre version: 5.31.1 {'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': '/var/folders/lr/7xg1drqs6q9843_jfm_76vxh0000gn/C/calibre_5.31.1_tmp_s8zmy_63/8fhomgq1.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_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 0x112df30a0>, '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 0x112df36a0>, 'page_breaks_before': "//*[name()='h1' or name()='h2']", 'prefer_metadata_cover': False, 'preserve_cover_aspect_ratio': False, 'pretty_print': True, 'pubdate': None, 'publisher': None, 'rating': None, 'read_metadata_from_opf': '/var/folders/lr/7xg1drqs6q9843_jfm_76vxh0000gn/C/calibre_5.31.1_tmp_s8zmy_63/hyh9xui6.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': '[]', 'unsmarten_punctuation': False, 'unwrap_lines': True, 'use_auto_toc': False, 'verbose': 2} Running file type plugin DeDRM failed with traceback: Traceback (most recent call last): File "calibre_plugins.dedrm.init", line 540, in KindleMobiDecrypt book = k4mobidedrm.GetDecryptedBook(path_to_ebook,kindleDatabases,androidFiles,serials,pids,self.starttime) File "calibre_plugins.dedrm.k4mobidedrm", line 238, in GetDecryptedBook mb.processBook(totalpids) File "calibre_plugins.dedrm.mobidedrm", line 484, in processBook raise DrmException("No key found in {0:d} PIDs tried.".format(len(goodpids))) calibre_plugins.dedrm.mobidedrm.DrmException: No key found in 2 PIDs tried.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre/customize/ui.py", line 175, in _run_filetype_plugins
  File "calibre_plugins.dedrm.__init__", line 633, in run
    decrypted_ebook = self.KindleMobiDecrypt(path_to_ebook)
  File "calibre_plugins.dedrm.__init__", line 583, in KindleMobiDecrypt
    raise DeDRMError("{0} v{1}: Ultimately failed to decrypt after {2:.1f} seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md".format(PLUGIN_NAME, PLUGIN_VERSION,time.time()-self.starttime))
calibre_plugins.dedrm.DeDRMError: DeDRM v7.2.1: Ultimately failed to decrypt after 1.2 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
DeDRM v7.2.1: Trying to decrypt gnveqh6s.azw3
MobiDeDrm v1.0.
Copyright © 2008-2020 The Dark Reverser, Apprentice Harper et al.
Decrypting Kindle Format 8 ebook: Jamie Oliver's Christmas Cookbook
Found 2 keys to try after 0.1 seconds
Crypto Type is: 2
DeDRM v7.2.1: Failed to decrypt with error: No key found in 2 PIDs tried.
DeDRM v7.2.1: Looking for new default Kindle Key after 0.1 seconds
Found k4Mac kinf2018 file: /Users/Lila/Library/Containers/com.amazon.Kindle/Data/Library/Application Support/Kindle/storage/.kinf2018
trying username  b'Lila'  on file  /Users/Lila/Library/Containers/com.amazon.Kindle/Data/Library/Application Support/Kindle/storage/.kinf2018
trying IDString: b'dd9464df1263'
Decrypted key file using IDString 'dd9464df1263' and UserName 'Lila'
DeDRM v7.2.1: Found 1 new key
MobiDeDrm v1.0.
Copyright © 2008-2020 The Dark Reverser, Apprentice Harper et al.
Decrypting Kindle Format 8 ebook: Jamie Oliver's Christmas Cookbook
Got SerialNumber from database default_key_1
Got UsernameHash from database default_key_1
Found 4 keys to try after 0.9 seconds
Crypto Type is: 2
DeDRM v7.2.1: Ultimately failed to decrypt after 0.9 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
    book = k4mobidedrm.GetDecryptedBook(path_to_ebook,kindleDatabases,androidFiles,serials,pids,self.starttime)
  File "calibre_plugins.dedrm.k4mobidedrm", line 238, in GetDecryptedBook
    mb.processBook(totalpids)
  File "calibre_plugins.dedrm.mobidedrm", line 484, in processBook
    raise DrmException("No key found in {0:d} PIDs tried.".format(len(goodpids)))
calibre_plugins.dedrm.mobidedrm.DrmException: No key found in 2 PIDs tried.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre/customize/ui.py", line 175, in _run_filetype_plugins
  File "calibre_plugins.dedrm.__init__", line 633, in run
    decrypted_ebook = self.KindleMobiDecrypt(path_to_ebook)
  File "calibre_plugins.dedrm.__init__", line 583, in KindleMobiDecrypt
    raise DeDRMError("{0} v{1}: Ultimately failed to decrypt after {2:.1f} seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md".format(PLUGIN_NAME, PLUGIN_VERSION,time.time()-self.starttime))
calibre_plugins.dedrm.DeDRMError: DeDRM v7.2.1: Ultimately failed to decrypt after 0.9 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
InputFormatPlugin: MOBI Input running
on /var/folders/lr/7xg1drqs6q9843_jfm_76vxh0000gn/C/calibre_5.31.1_tmp_s8zmy_63/gnveqh6s.azw3
Found KF8 MOBI of type 'standalone'
Traceback (most recent call last):
  File "runpy.py", line 194, in _run_module_as_main
  File "runpy.py", line 87, in _run_code
  File "site.py", line 39, in <module>
  File "site.py", line 35, in main
  File "calibre/utils/ipc/worker.py", line 216, in main
  File "calibre/gui2/convert/gui_conversion.py", line 41, in gui_convert_override
  File "calibre/gui2/convert/gui_conversion.py", line 28, in gui_convert
  File "calibre/ebooks/conversion/plumber.py", line 1105, in run
  File "calibre/customize/conversion.py", line 244, in __call__
  File "calibre/ebooks/conversion/plugins/mobi_input.py", line 44, in convert
  File "calibre/ebooks/mobi/reader/mobi8.py", line 86, in __call__
  File "calibre/ebooks/mobi/reader/mobi6.py", line 163, in check_for_drm
calibre.ebooks.DRMError: Jamie Oliver's Christmas Cookbook

I hope someone hears and helps xx


Title

My Environment

Calibre: Version

Kindle: Version

DeDRM: Version

Log

Log Title ```log PUT YOUR LOG ```
ElleKayEm commented 2 years ago

Be sure you have chosen your Kindle Paperwhite as the device when downloading and make sure you have its serial number correctly entered in DeDRM's customization.

tidyheidi commented 2 years ago

Thank you! That worked. I had a O instead of a 0 :-D .. thank you again xx

On 1 Nov 2021, at 21:18, ElleKayEm @.***> wrote:

 Be sure you have chosen your Kindle Paperwhite as the device when downloading and make sure you have its serial number correctly entered in DeDRM's customization.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

ElleKayEm commented 2 years ago

If you're all set, you can close the issue. And you might want to edit out your personal info from your last comment.

tidyheidi commented 2 years ago

Thank you, I didn’t realise it was publishing the emails 🤪.

Thank you again for your help resolving the issue and for the super plug-in ❤️