View Single Post
Old 03-06-2025, 02:36 PM   #8
ju-scha
Member
ju-scha began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jan 2025
Device: kindle (very old)
Quote:
Originally Posted by kovidgoyal View Post
If you are doing a binary install apt has nothing to do with it. Uninstall your distro calibre package and then install the binary.
Dear Kovidgoyal,

I got rid of this distro calibre package and installed the binary as above: Calibre 7.0.26. Then DeDRM 10.0.3... and I still get this message.

Now I used the debug-mode and got the following message - see below. In any case, early January, I also tried to install DeASCM as a solution, however, maybe I did it wrong with the Adobe Keys, and this also might be a reason why it does not work? T

Any help would be great, as I already spent hours a few weeks ago to find a solution (De ASC, different versions, calibre portable version which always "disappeard" in Linux and did not work ....) and now I tried again and have no idea. his is the only application I use and I did not get running in Linux...

Thanks a lot!!!!

Best regards,
Judith
Spoiler:
Code:
ApplicationPaletteChange event ignored
Using calibre Qt style: True
calibre Fehlerdiagnoseprotokoll
calibre 7.26  embedded-python: True
Linux-6.1.0-28-amd64-x86_64-with-glibc2.36 Linux ('64bit', 'ELF')
('Linux', '6.1.0-28-amd64', '#1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22)')
Python 3.11.5
Interface language: de
EXE path: /opt/calibre/bin/calibre-debug
Successfully initialized third party plugins: DeDRM (10, 0, 3)
calibre 7.26  embedded-python: True
Linux-6.1.0-28-amd64-x86_64-with-glibc2.36 Linux ('64bit', 'ELF')
('Linux', '6.1.0-28-amd64', '#1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22)')
Python 3.11.5
Interface language: de
EXE path: /opt/calibre/bin/calibre-debug
Successfully initialized third party plugins: DeDRM (10, 0, 3)
QPA platform: xcb
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 124.04651162790697 x 138.1865284974093
[0.00] Starting up...
[0.00] Showing splash screen...
[1.05] splash screen shown
[1.05] Initializing db...
[1.07] db initialized
[1.07] Constructing main UI...
[1.29] GUI main window shown
[1.30] main UI initialized...
[1.30] Hiding splash screen
[1.30] splash screen hidden
[1.31] Started up in 1.31 seconds with 72 books
DeDRM v10.0.3: Trying to decrypt Die Vergeltung.epub
DeDRM v10.0.3: Verifying zip archive integrity
DeDRM v10.0.3: Die Vergeltung.epub is a secure Adobe Adept ePub for UUID 49e81534-8891-4edc-864b-422eb5b205ef
DeDRM v10.0.3: Trying Encryption key DeACSM_uuid_c93f3eb5-f60b-45c6-b6c7-25c791187fb8
e1lasd97.epub is a secure Adobe Adept ePub.
Could not decrypt e1lasd97.epub because of an exception:
Traceback (most recent call last):
  File "/home/aiyudi/.config/calibre/plugins/DeDRM.zip/ineptepub.py", line 327, in decryptBook
    decryptor = Decryptor(bookkey, encryption)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/aiyudi/.config/calibre/plugins/DeDRM.zip/ineptepub.py", line 150, in __init__
    self._aes = AES.new(bookkey, AES.MODE_CBC, b'\x00'*16)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "Crypto/Cipher/AES.py", line 228, in new
  File "Crypto/Cipher/__init__.py", line 79, in _create_cipher
  File "Crypto/Cipher/_mode_cbc.py", line 274, in _create_cbc_cipher
  File "Crypto/Cipher/AES.py", line 90, in _create_base_cipher
ValueError: Incorrect AES key length (0 bytes)

DeDRM v10.0.3: Failed to decrypt with key DeACSM_uuid_c93f3eb5-f60b-45c6-b6c7-25c791187fb8 after 0.0 seconds
DeDRM v10.0.3: Looking for new default Adobe Digital Editions Keys after 0.0 seconds
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
Fatal Python error: init_sys_streams: can't initialize sys standard streams
Python runtime state: core initialized
OSError: [WinError 6] UngŒltiges Handle

Current thread 0x00000110 (most recent call first):
<no Python frame>
00d4:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFA, 0063F578
DeDRM v10.0.3: wine py.exe -3 is not python3
Es konnte keine Anwendung gestartet werden, oder es ist keine Anwendung mit der angegebenen Datei verknpft.
ShellExecuteEx fehlgeschlagen: Datei nicht gefunden.

DeDRM v10.0.3: wine python3.exe is not python3
Es konnte keine Anwendung gestartet werden, oder es ist keine Anwendung mit der angegebenen Datei verknpft.
ShellExecuteEx fehlgeschlagen: Datei nicht gefunden.

DeDRM v10.0.3: wine python.exe is not python3
wine: failed to open "C:\\Python27\\python.exe": c0000135
DeDRM v10.0.3: wine C:\Python27\python.exe does not exist
DeDRM v10.0.3: Unable to find python3 executable in WINEPREFIX="~/ .wine/drive_c/Program Files (x86)/Adobe/Adobe Digital Editions 4.5"
DeDRM v10.0.3: Ultimately failed to decrypt after 0.7 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools...master/FAQs.md
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
  File "calibre/customize/ui.py", line 200, in _run_filetype_plugins
  File "calibre_plugins.dedrm.__init__", line 1067, in run
    decrypted_ebook = self.ePubDecrypt(path_to_ebook)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "calibre_plugins.dedrm.__init__", line 665, in ePubDecrypt
    raise DeDRMError("{0} v{1}: Ultimately failed to decrypt after {2:.1f} seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md".format(PLUGIN_NAME, PLUGIN_VERSION,time.time()-self.starttime))
calibre_plugins.dedrm.DeDRMError: DeDRM v10.0.3: Ultimately failed to decrypt after 0.7 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools...master/FAQs.md
['zenity', '--modal', '--file-selection', '--title=BŒcher ausw€hlen', '--separator=\n', '--attach=94371865', '--filename=/home/aiyudi/Dokumente/My Digital Editions/.fgdfg.gdfhjdhf*&^839', '--file-filter=BŒcher | *.lrf *.rtf *.lit *.txt *.txtz *.text *.htm *.xhtm *.html *.htmlz *.xhtml *.pdf *.pdb *.updb *.pdr *.prc *.mobi *.azw *.doc *.epub *.fb2 *.fbz *.djv *.djvu *.lrx *.cbr *.cb7 *.cbz *.cbc *.oebzip *.rb *.imp *.odt *.chm *.tpz *.azw1 *.pml *.pmlz *.mbp *.tan *.snb *.xps *.oxps *.azw4 *.book *.zbf *.pobi *.docx *.docm *.md *.textile *.markdown *.ibook *.ibooks *.iba *.azw3 *.ps *.kepub *.kfx *.kpf', '--file-filter=EPUB-BŒcher | *.epub *.kepub', '--file-filter=Kindle-BŒcher | *.mobi *.prc *.azw *.azw3 *.kfx *.tpz *.azw1 *.azw4', '--file-filter=PDF-BŒcher | *.pdf *.azw4', '--file-filter=HTML-BŒcher | *.htm *.html *.xhtm *.xhtml', '--file-filter=LIT-BŒcher | *.lit', '--file-filter=Text-BŒcher | *.txt *.text *.rtf *.md *.markdown *.textile *.txtz', '--file-filter=Comics | *.cbz *.cbr *.cbc *.cb7', '--file-filter=Archive | *.zip *.rar *.7z', '--file-filter=Textverarbeitungsdateien | *.odt *.doc *.docx', '--file-filter=Alle Dateien | *', '--multiple']
Added Die Vergeltung to db in: 0.1
Added 1 books in 1.0 seconds
Worker Launch took: 0.00 seconds
Job: 0 Buch 1 von 1 (Die Vergeltung) konvertieren finished
Buch 1 von 1 (Die Vergeltung) konvertieren
	DeDRM v10.0.3: Trying to decrypt o0h4kijh.epub
	DeDRM v10.0.3: Verifying zip archive integrity
	DeDRM v10.0.3: o0h4kijh.epub is a secure Adobe Adept ePub for UUID 49e81534-8891-4edc-864b-422eb5b205ef
	DeDRM v10.0.3: Trying Encryption key DeACSM_uuid_c93f3eb5-f60b-45c6-b6c7-25c791187fb8
	lexlyu4x.epub is a secure Adobe Adept ePub.
	Could not decrypt lexlyu4x.epub because of an exception:
	Traceback (most recent call last):
	  File "/home/aiyudi/.config/calibre/plugins/DeDRM.zip/ineptepub.py", line 327, in decryptBook
	    decryptor = Decryptor(bookkey, encryption)
	                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
	  File "/home/aiyudi/.config/calibre/plugins/DeDRM.zip/ineptepub.py", line 150, in __init__
	    self._aes = AES.new(bookkey, AES.MODE_CBC, b'\x00'*16)
	                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
	  File "Crypto/Cipher/AES.py", line 228, in new
	  File "Crypto/Cipher/__init__.py", line 79, in _create_cipher
	  File "Crypto/Cipher/_mode_cbc.py", line 274, in _create_cbc_cipher
	  File "Crypto/Cipher/AES.py", line 90, in _create_base_cipher
	ValueError: Incorrect AES key length (0 bytes)
	
	DeDRM v10.0.3: Failed to decrypt with key DeACSM_uuid_c93f3eb5-f60b-45c6-b6c7-25c791187fb8 after 0.0 seconds
	DeDRM v10.0.3: Looking for new default Adobe Digital Editions Keys after 0.0 seconds
	0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
	0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
	0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
	0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
	Fatal Python error: init_sys_streams: can't initialize sys standard streams
	Python runtime state: core initialized
	OSError: [WinError 6] UngŒltiges Handle
	
	Current thread 0x000000dc (most recent call first):
	<no Python frame>
	00d4:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFA, 0063F578
	DeDRM v10.0.3: wine py.exe -3 is not python3
	Es konnte keine Anwendung gestartet werden, oder es ist keine Anwendung mit der angegebenen Datei verknœpft.
	ShellExecuteEx fehlgeschlagen: Datei nicht gefunden.
	
	DeDRM v10.0.3: wine python3.exe is not python3
	Es konnte keine Anwendung gestartet werden, oder es ist keine Anwendung mit der angegebenen Datei verknœpft.
	ShellExecuteEx fehlgeschlagen: Datei nicht gefunden.
	
	DeDRM v10.0.3: wine python.exe is not python3
	wine: failed to open "C:\\Python27\\python.exe": c0000135
	DeDRM v10.0.3: wine C:\Python27\python.exe does not exist
	DeDRM v10.0.3: Unable to find python3 executable in WINEPREFIX="~/ .wine/drive_c/Program Files (x86)/Adobe/Adobe Digital Editions 4.5"
	DeDRM v10.0.3: Ultimately failed to decrypt after 0.7 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools...master/FAQs.md
	Running file type plugin DeDRM failed with traceback:
	Traceback (most recent call last):
	  File "calibre/customize/ui.py", line 200, in _run_filetype_plugins
	  File "calibre_plugins.dedrm.__init__", line 1067, in run
	    decrypted_ebook = self.ePubDecrypt(path_to_ebook)
	                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
	  File "calibre_plugins.dedrm.__init__", line 665, in ePubDecrypt
	    raise DeDRMError("{0} v{1}: Ultimately failed to decrypt after {2:.1f} seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md".format(PLUGIN_NAME, PLUGIN_VERSION,time.time()-self.starttime))
	calibre_plugins.dedrm.DeDRMError: DeDRM v10.0.3: Ultimately failed to decrypt after 0.7 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools...master/FAQs.md
	Conversion options changed from defaults:
	  output_profile: 'kindle'
	  verbose: 2
	  read_metadata_from_opf: '/tmp/calibre_7.26.0_tmp_u5wxmi9j/s8h1dkje.opf'
	Resolved conversion options
	calibre version: 7.26.0
	{'add_alt_text_to_img': False,
	 'asciiize': False,
	 'author_sort': None,
	 'authors': None,
	 'base_font_size': 0.0,
	 'book_producer': None,
	 'change_justification': 'original',
	 'chapter': "//*[((name()='h1' or name()='h2') and re:test(., "
	            "'\\s*((chapter|book|section|part)\\s+)|((prolog|prologue|epilogue)(\\s+|$))', "
	            "'i')) or @class = 'chapter']",
	 'chapter_mark': 'pagebreak',
	 'comments': None,
	 'cover': None,
	 'debug_pipeline': None,
	 'dehyphenate': True,
	 'delete_blank_paragraphs': True,
	 'disable_font_rescaling': False,
	 'dont_compress': False,
	 'duplicate_links_in_toc': False,
	 'embed_all_fonts': False,
	 'embed_font_family': None,
	 'enable_heuristics': False,
	 'expand_css': False,
	 'extra_css': None,
	 'extract_to': 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 0x7f805b357150>,
	 '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,
	 'mobi_file_type': 'old',
	 'mobi_ignore_margins': False,
	 'mobi_keep_original_images': False,
	 'mobi_toc_at_start': False,
	 'no_chapters_in_toc': False,
	 'no_inline_navbars': True,
	 'no_inline_toc': False,
	 'output_profile': <calibre.customize.profiles.KindleOutput object at 0x7f805b35ff50>,
	 'page_breaks_before': '/',
	 'personal_doc': '[PDOC]',
	 'prefer_author_sort': False,
	 'prefer_metadata_cover': False,
	 'pretty_print': False,
	 'pubdate': None,
	 'publisher': None,
	 'rating': None,
	 'read_metadata_from_opf': '/tmp/calibre_7.26.0_tmp_u5wxmi9j/s8h1dkje.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,
	 'share_not_sync': False,
	 '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.3: Trying to decrypt o0h4kijh.epub
	DeDRM v10.0.3: Verifying zip archive integrity
	DeDRM v10.0.3: o0h4kijh.epub is a secure Adobe Adept ePub for UUID 49e81534-8891-4edc-864b-422eb5b205ef
	DeDRM v10.0.3: Trying Encryption key DeACSM_uuid_c93f3eb5-f60b-45c6-b6c7-25c791187fb8
	lg6rrbq3.epub is a secure Adobe Adept ePub.
	Could not decrypt lg6rrbq3.epub because of an exception:
	Traceback (most recent call last):
	  File "/home/aiyudi/.config/calibre/plugins/DeDRM.zip/ineptepub.py", line 327, in decryptBook
	    decryptor = Decryptor(bookkey, encryption)
	                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
	  File "/home/aiyudi/.config/calibre/plugins/DeDRM.zip/ineptepub.py", line 150, in __init__
	    self._aes = AES.new(bookkey, AES.MODE_CBC, b'\x00'*16)
	                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
	  File "Crypto/Cipher/AES.py", line 228, in new
	  File "Crypto/Cipher/__init__.py", line 79, in _create_cipher
	  File "Crypto/Cipher/_mode_cbc.py", line 274, in _create_cbc_cipher
	  File "Crypto/Cipher/AES.py", line 90, in _create_base_cipher
	ValueError: Incorrect AES key length (0 bytes)
	
	DeDRM v10.0.3: Failed to decrypt with key DeACSM_uuid_c93f3eb5-f60b-45c6-b6c7-25c791187fb8 after 0.0 seconds
	DeDRM v10.0.3: Looking for new default Adobe Digital Editions Keys after 0.0 seconds
	Fatal Python error: init_sys_streams: can't initialize sys standard streams
	Python runtime state: core initialized
	OSError: [WinError 6] UngŒltiges Handle
	
	Current thread 0x00000140 (most recent call first):
	<no Python frame>
	0138:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFA, 0063F578
	DeDRM v10.0.3: wine py.exe -3 is not python3
	Es konnte keine Anwendung gestartet werden, oder es ist keine Anwendung mit der angegebenen Datei verknœpft.
	ShellExecuteEx fehlgeschlagen: Datei nicht gefunden.
	
	DeDRM v10.0.3: wine python3.exe is not python3
	Es konnte keine Anwendung gestartet werden, oder es ist keine Anwendung mit der angegebenen Datei verknœpft.
	ShellExecuteEx fehlgeschlagen: Datei nicht gefunden.
	
	DeDRM v10.0.3: wine python.exe is not python3
	wine: failed to open "C:\\Python27\\python.exe": c0000135
	DeDRM v10.0.3: wine C:\Python27\python.exe does not exist
	DeDRM v10.0.3: Unable to find python3 executable in WINEPREFIX="~/ .wine/drive_c/Program Files (x86)/Adobe/Adobe Digital Editions 4.5"
	DeDRM v10.0.3: Ultimately failed to decrypt after 0.4 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools...master/FAQs.md
	Running file type plugin DeDRM failed with traceback:
	Traceback (most recent call last):
	  File "calibre/customize/ui.py", line 200, in _run_filetype_plugins
	  File "calibre_plugins.dedrm.__init__", line 1067, in run
	    decrypted_ebook = self.ePubDecrypt(path_to_ebook)
	                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
	  File "calibre_plugins.dedrm.__init__", line 665, in ePubDecrypt
	    raise DeDRMError("{0} v{1}: Ultimately failed to decrypt after {2:.1f} seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md".format(PLUGIN_NAME, PLUGIN_VERSION,time.time()-self.starttime))
	calibre_plugins.dedrm.DeDRMError: DeDRM v10.0.3: Ultimately failed to decrypt after 0.4 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools...master/FAQs.md
	InputFormatPlugin: EPUB Input running
	on /tmp/calibre_7.26.0_tmp_u5wxmi9j/o0h4kijh.epub
	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 47, in <module>
	  File "site.py", line 43, in main
	  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 1128, in run
	  File "calibre/customize/conversion.py", line 242, in __call__
	  File "calibre/ebooks/conversion/plugins/epub_input.py", line 293, in convert
	calibre.ebooks.DRMError: o0h4kijh.epub

[21.51] Shutdown starting...
[23.77] Shutdown complete, quitting...

Last edited by PeterT; 03-06-2025 at 06:11 PM. Reason: wrappings tags around the log
ju-scha is offline   Reply With Quote