Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRM not being removed #2390

Open
beltari opened this issue Jan 30, 2025 · 1 comment
Open

DRM not being removed #2390

beltari opened this issue Jan 30, 2025 · 1 comment

Comments

@beltari
Copy link

beltari commented Jan 30, 2025

DRM not being removed

This is driving me crazy, I installed and uninstalled everything several times, idk what else I'm missing. I'm using the Kindle PC version to get the .awz file, the one I use for reading is a Paperwhite 6th gen (I also have a Kindle 7th gen available). I'm using the latest version of the Kindle app because the 1.17.4 wasn't letting me download books, even without an internet connection.

Windows 10

Calibre: 7.24.0

Kindle: 2.6.1

DeDRM: 10.0.9

Log

Log Title
ApplicationPaletteChange event ignored
Using calibre Qt style: True
ApplicationPaletteChange event received
calibre Registro de depuración
calibre 7.13  embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.11.5
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: es
EXE path: C:\Program Files\Calibre2\calibre-debug.exe
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (2, 19, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 19, 0) && KFX metadata reader (from KFX Input) (2, 19, 0) && From KFX (2, 19, 0) && KFX Input (2, 19, 0)
calibre 7.13  embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.11.5
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: es
EXE path: C:\Program Files\Calibre2\calibre-debug.exe
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (2, 19, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 19, 0) && KFX metadata reader (from KFX Input) (2, 19, 0) && From KFX (2, 19, 0) && KFX Input (2, 19, 0)
QPA platform: windows
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 94.07407407407408 x 95.25
[0.00] Starting up...
[0.00] Showing splash screen...
[0.20] splash screen shown
[0.20] Initializing db...
[0.30] db initialized
[0.30] Constructing main UI...
[1.53] GUI main window shown
[1.58] main UI initialized...
[1.58] Hiding splash screen
Gather KFX-ZIP (from KFX Input) 2.19.0: Importing C:/Users/Lu/Documents/My Kindle Content/B0CVXCN8M1_EBOK/B0CVXCN8M1_EBOK.azw
Gather KFX-ZIP (from KFX Input): Gathered 4 file(s) as C:\Users\Lu\AppData\Local\Temp\calibre_c2_z1m42\kw39pp41.kfx-zip
DeDRM v10.0.9: Trying to decrypt kw39pp41.kfx-zip
Storage number map:
{(7, 0): [(1, 'D')], (7, 1): [(2, 'C'), (4, 'E')], (7, 2): [(1, 'F')]}
Storage number for USBSTOR\DISK&VEN_KINDLE&PROD_INTERNAL_STORAGE&REV_0100\90C6060650160MD5&0: StorageDeviceNumber(type=7, number=2, partition_number=0)
Drive letters for USBDevice(vendor_id=0x1949 product_id=0x4 bcd=0x100 devid=usb\vid_1949&pid_0004&rev_0100 devinst=15)
{'drive_letters': ['F'],
 'pnp_id_map': {'F': '\\\\?\\usbstor#disk&ven_kindle&prod_internal_storage&rev_0100#90c6060650160md5&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'},
 'readonly_drives': set(),
 'sort_map': {'F': (2, 1)}}
Syncing cover thumbnails to workaround amazon cover bug
Job: 0 Obtener información del dispositivo started
DeviceJob: 0 Obtener información del dispositivo done, calling callback
DeviceJob: 0 Obtener información del dispositivo callback returned
Job: 1 Establecer información de la biblioteca started
DeviceJob: 1 Establecer información de la biblioteca done, calling callback
DeviceJob: 1 Establecer información de la biblioteca callback returned
Job: 2 Obtener lista de libros en el dispositivo started
DEBUG:    0.0 USBMS: Fetching list of books from device. Device= KINDLE2 oncard= None
DEBUG:    0.0 USBMS: dirs are: F:\ documents
DEBUG:    0.1 USBMS: scan from root False F:\documents
DEBUG:    0.2 USBMS: count found in cache: 75, count of files in metadata: 75, need_sync: False
DEBUG:    0.2 USBMS: Finished fetching list of books from device. oncard= None
DEBUG:    0.2 USBMS: Fetching list of books from device. Device= KINDLE2 oncard= carda
DEBUG:    0.2 USBMS: Fetching list of books from device. Device= KINDLE2 oncard= cardb
DeviceJob: 2 Obtener lista de libros en el dispositivo done, calling callback
DEBUG:    0.2 DeviceJob: metadata_downloaded: Starting set_books_in_library
DEBUG:    0.2 DeviceJob: set_books_in_library: books to process= 75
DEBUG:    0.2 DeviceJob: set_books_in_library finished: time= 0.002020120620727539
DEBUG:    0.2 DeviceJob: metadata_downloaded: updating views
DEBUG:    0.2 DeviceJob: metadata_downloaded: syncing
DEBUG:    0.2 DeviceJob: metadata_downloaded: refreshing ondevice
DEBUG:    0.2 DeviceJob: metadata_downloaded: sending metadata_available signal
DeviceJob: 2 Obtener lista de libros en el dispositivo callback returned
Job: 0 Obtener información del dispositivo finished
No hay detalles disponibles.
Job: 2 Obtener lista de libros en el dispositivo finished
No hay detalles disponibles.
Job: 1 Establecer información de la biblioteca finished
No hay detalles disponibles.
[25.33] splash screen hidden
[25.33] Started up in 25.33 seconds with 0 books
Decrypting KFX-ZIP ebook: kw39pp41
Found 1 keys to try after 0.7 seconds
Decrypting KFX DRM voucher: amzn1.drm-voucher.v1.1e18632a-6cbe-4ea4-8c2d-6b096c13ee64.voucher
Traceback (most recent call last):
  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 104, in decrypt_voucher
  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1394, in parse
  File "C:\Users\Lu\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\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 104, in decrypt_voucher
  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1394, in parse
  File "C:\Users\Lu\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.7 seconds
searching for kinfoFiles in C:\Users\Lu\AppData\Local
Found K4PC 1.25+ kinf2018 file: C:\Users\Lu\AppData\Local\Amazon\Kindle\storage\.kinf2018
Decrypted key file using IDString '3357558748' and UserName 'Lu'
DeDRM v10.0.9: Found 1 new key
Decrypting KFX-ZIP ebook: kw39pp41
Got DSN key from database key_0
Found 1 keys to try after 1.0 seconds
Decrypting KFX DRM voucher: amzn1.drm-voucher.v1.1e18632a-6cbe-4ea4-8c2d-6b096c13ee64.voucher
Traceback (most recent call last):
  File "calibre_plugins.dedrm.__init__", line 931, in KindleMobiDecrypt
  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook
  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook
  File "C:\Users\Lu\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 "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 104, in decrypt_voucher
  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1394, in parse
  File "C:\Users\Lu\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 "calibre_plugins.dedrm.__init__", line 931, in KindleMobiDecrypt
  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook
  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook
  File "C:\Users\Lu\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 "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 104, in decrypt_voucher
  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1394, in parse
  File "C:\Users\Lu\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 "calibre_plugins.dedrm.__init__", line 931, in KindleMobiDecrypt
  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook
  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook
  File "C:\Users\Lu\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_plugins.dedrm.__init__", line 965, in KindleMobiDecrypt
  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook
  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook
  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 111, in decrypt_voucher
Exception: Failed to decrypt KFX DRM voucher with any key
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\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook
  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook
  File "C:\Users\Lu\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 199, 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.19.0: Packaging C:\Users\Lu\AppData\Local\Temp\calibre_c2_z1m42\kw39pp41.kfx-zip
Processing container: B0CVXCN8M1_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 199, 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 80, in convert_to_single_kfx
  File "calibre_plugins.kfx_input.kfxlib.yj_book", line 214, in decode_book
  File "calibre_plugins.kfx_input.kfxlib.yj_book", line 332, in get_container
calibre_plugins.kfx_input.kfxlib.utilities.KFXDRMError: Book container B0CVXCN8M1_EBOK.azw has DRM and cannot be converted
KFX metadata reader (from KFX Input) activated for C:\Users\Lu\AppData\Local\Temp\calibre_c2_z1m42\e5fh7kvz_add_books\0\B0CVXCN8M1_EBOK.kfx-zip
Added Amor y sangre (Spanish Edition) to db in: 1.1
Added 1 books in 3.0 seconds
Worker Launch took: 0.02 seconds
Job: 3 Convertido el libro 1 de 1 (Amor y sangre (Spanish Edition)) finished
Convertido el libro 1 de 1 (Amor y sangre (Spanish Edition))

	DeDRM v10.0.9: Trying to decrypt vfjxs7ic.kfx-zip
	Decrypting KFX-ZIP ebook: vfjxs7ic
	Found 1 keys to try after 0.7 seconds
	Decrypting KFX DRM voucher: amzn1.drm-voucher.v1.1e18632a-6cbe-4ea4-8c2d-6b096c13ee64.voucher
	Traceback (most recent call last):
	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 104, in decrypt_voucher
	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1394, in parse
	  File "C:\Users\Lu\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\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 104, in decrypt_voucher
	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1394, in parse
	  File "C:\Users\Lu\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.7 seconds
	searching for kinfoFiles in C:\Users\Lu\AppData\Local
	Found K4PC 1.25+ kinf2018 file: C:\Users\Lu\AppData\Local\Amazon\Kindle\storage\.kinf2018
	Decrypted key file using IDString '3357558748' and UserName 'Lu'
	DeDRM v10.0.9: Found 1 new key
	Decrypting KFX-ZIP ebook: vfjxs7ic
	Got DSN key from database key_0
	Found 1 keys to try after 0.9 seconds
	Decrypting KFX DRM voucher: amzn1.drm-voucher.v1.1e18632a-6cbe-4ea4-8c2d-6b096c13ee64.voucher
	Traceback (most recent call last):
	  File "calibre_plugins.dedrm.__init__", line 931, in KindleMobiDecrypt
	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook
	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook
	  File "C:\Users\Lu\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 "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 104, in decrypt_voucher
	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1394, in parse
	  File "C:\Users\Lu\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 "calibre_plugins.dedrm.__init__", line 931, in KindleMobiDecrypt
	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook
	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook
	  File "C:\Users\Lu\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 "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 104, in decrypt_voucher
	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1394, in parse
	  File "C:\Users\Lu\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 "calibre_plugins.dedrm.__init__", line 931, in KindleMobiDecrypt
	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook
	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook
	  File "C:\Users\Lu\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_plugins.dedrm.__init__", line 965, in KindleMobiDecrypt
	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook
	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook
	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 111, in decrypt_voucher
	Exception: Failed to decrypt KFX DRM voucher with any key
	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\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook

	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook

	  File "C:\Users\Lu\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 199, 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:

	  read_metadata_from_opf: 'C:\\Users\\Lu\\AppData\\Local\\Temp\\calibre_c2_z1m42\\my7x6x5h.opf'

	  cover: 'C:\\Users\\Lu\\AppData\\Local\\Temp\\calibre_c2_z1m42\\0pgllw05.jpeg'

	  output_profile: 'generic_eink'

	  allow_conversion_with_errors: True

	  verbose: 2

	Resolved conversion options

	calibre version: 7.13.0

	{'add_alt_text_to_img': False,

	 'allow_conversion_with_errors': True,

	 '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\\Lu\\AppData\\Local\\Temp\\calibre_c2_z1m42\\0pgllw05.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 0x000001A836B3C850>,

	 '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.GenericEink object at 0x000001A836B4FE10>,

	 '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\\Lu\\AppData\\Local\\Temp\\calibre_c2_z1m42\\my7x6x5h.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 vfjxs7ic.kfx-zip
	Decrypting KFX-ZIP ebook: vfjxs7ic
	Found 1 keys to try after 0.0 seconds
	Decrypting KFX DRM voucher: amzn1.drm-voucher.v1.1e18632a-6cbe-4ea4-8c2d-6b096c13ee64.voucher
	Traceback (most recent call last):
	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 104, in decrypt_voucher
	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1394, in parse
	  File "C:\Users\Lu\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\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 104, in decrypt_voucher
	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1394, in parse
	  File "C:\Users\Lu\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\Lu\AppData\Local
	Found K4PC 1.25+ kinf2018 file: C:\Users\Lu\AppData\Local\Amazon\Kindle\storage\.kinf2018
	Decrypted key file using IDString '3357558748' and UserName 'Lu'
	DeDRM v10.0.9: Found 1 new key
	Decrypting KFX-ZIP ebook: vfjxs7ic
	Got DSN key from database key_0
	Found 1 keys to try after 0.2 seconds
	Decrypting KFX DRM voucher: amzn1.drm-voucher.v1.1e18632a-6cbe-4ea4-8c2d-6b096c13ee64.voucher
	Traceback (most recent call last):
	  File "calibre_plugins.dedrm.__init__", line 931, in KindleMobiDecrypt
	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook
	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook
	  File "C:\Users\Lu\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 "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 104, in decrypt_voucher
	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1394, in parse
	  File "C:\Users\Lu\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 "calibre_plugins.dedrm.__init__", line 931, in KindleMobiDecrypt
	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook
	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook
	  File "C:\Users\Lu\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 "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 104, in decrypt_voucher
	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\ion.py", line 1394, in parse
	  File "C:\Users\Lu\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 "calibre_plugins.dedrm.__init__", line 931, in KindleMobiDecrypt
	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook
	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook
	  File "C:\Users\Lu\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_plugins.dedrm.__init__", line 965, in KindleMobiDecrypt
	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook
	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook
	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 111, in decrypt_voucher
	Exception: Failed to decrypt KFX DRM voucher with any key
	DeDRM v10.0.9: 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 931, in KindleMobiDecrypt

	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\k4mobidedrm.py", line 203, in GetDecryptedBook

	  File "C:\Users\Lu\AppData\Roaming\calibre\plugins\DeDRM.zip\kfxdedrm.py", line 67, in processBook

	  File "C:\Users\Lu\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 199, 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.2 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\Lu\AppData\Local\Temp\calibre_c2_z1m42\vfjxs7ic.kfx-zip

	Software versions: KFX Input 2.19.0, calibre 7.13, 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\Lu\AppData\Local\Temp\calibre_c2_z1m42\vfjxs7ic.kfx-zip

	Processing container: B0CVXCN8M1_EBOK.azw

	Traceback (most recent call last):

	  File "calibre_plugins.kfx_input.__init__", line 101, in convert

	  File "calibre_plugins.kfx_input.kfxlib.yj_book", line 214, in decode_book

	  File "calibre_plugins.kfx_input.kfxlib.yj_book", line 332, in get_container

	calibre_plugins.kfx_input.kfxlib.utilities.KFXDRMError: Book container B0CVXCN8M1_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 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 1127, in run

	  File "calibre\customize\conversion.py", line 245, in __call__

	  File "calibre_plugins.kfx_input.__init__", line 121, in convert

	calibre.ebooks.DRMError: This book has DRM!


@ElleKayEm
Copy link

If you're going to use Kindle for PC, you will need version 2.4.0 (70904) aka 2.4.70904. See method 2a at this post for info on preventing updates: https://www.mobileread.com/forums/showthread.php?t=361503

But since you have an E-ink Kindle, I recommend using method 1 at that link. Add the Kindle's serial number to DeDRM's customization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants