Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-05-2025, 05:03 PM   #1
ju-scha
Member
ju-scha began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jan 2025
Device: kindle (very old)
Installing older calibre version 4.23.0 does not work (linux)

Dear all,

I tried to install calibre version 4.23.0 in Linux (before I had a newer one where the DeDRM does not work) as recommended via:

sudo -v && sudo calibre-uninstall && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin version=4.23.0

However, when I do it, I cannot open Calibre at all anymore. When I check with -apt list --installed, I get the following information:
calibre-bin/stable,now 6.13.0+repack-2+deb12u4 amd64 [Installiert,automatisch]
calibre/stable,stable,now 6.13.0+repack-2+deb12u4 all [installiert]


So, do you have any idea how I can get 4.23.0 running?

Thanks a lot and best regards,

Judith
ju-scha is offline   Reply With Quote
Old 03-05-2025, 09:24 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
If you are doing a binary install apt has nothing to do with it. Uninstall your distro calibre package and then install the binary.
kovidgoyal is offline   Reply With Quote
Old 03-06-2025, 06:55 AM   #3
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 13,478
Karma: 239219543
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
DeDRM works with the latest calibre.
Sirtel is offline   Reply With Quote
Old 03-06-2025, 06:59 AM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
The latest DeDRM works with the latest calibre.

calibre
https://calibre-ebook.com

DeDRM
https://github.com/noDRM/DeDRM_tools_autorelease
JSWolf is offline   Reply With Quote
Old 03-06-2025, 10:17 AM   #5
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 JSWolf View Post
The latest DeDRM works with the latest calibre.

calibre
https://calibre-ebook.com

DeDRM
https://github.com/noDRM/DeDRM_tools_autorelease

OK, thanks a lot... I will need to retry... when I installed latest calibre and latest De-DRM end of December//early January, it did not work.

Last edited by ju-scha; 03-06-2025 at 10:20 AM.
ju-scha is offline   Reply With Quote
Old 03-06-2025, 10:19 AM   #6
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.
Thanks. That means, there is somehow another calibre package installed, which I cannot open. I would unistalll this via: sudo -v && sudo calibre-uninstall ... but how to install the binary?
ju-scha is offline   Reply With Quote
Old 03-06-2025, 10:20 AM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by ju-scha View Post
OK, thanks a lot... I will need to retry... when I installed latest calibre and latest De-DRM, it did not work.
If you used a repository to get calibre, then that would be why it failed.
JSWolf is offline   Reply With Quote
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
Old 03-06-2025, 03:38 PM   #9
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
[QUOTE=ju-scha;4495536]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

Go the the plugin thread for DeACSM. https://www.mobileread.com/forums/sh...d.php?t=341975

Wrap your log file in a spoiler tag and you'll most likely get more of a response over there then here.
JSWolf is offline   Reply With Quote
Old 03-06-2025, 05:23 PM   #10
ju-scha
Member
ju-scha began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jan 2025
Device: kindle (very old)
Dear JSWolf,

thanks again for your help!

I understand, that the logfile is too long... for the future: how can I wrap this file into a "spoiler tag"?

With the DeACSM, it unfortunately also does not work... anyway, I now found "Adobe EPUB DRM Removal" and this seems to work somehow via Wine, so that I can then transfer the de-drmed files to Calibre...

Little workaround... I hope, that this solution will now work longer than any trial period. Let's see..

Best regards,
Judith
ju-scha is offline   Reply With Quote
Old 03-06-2025, 05:25 PM   #11
ju-scha
Member
ju-scha began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jan 2025
Device: kindle (very old)
Daer JS Wolf,

thanks a lot for your help. I understand, that the log is too long... for the future: how can I wrap the log file in a spoiler tab? (What is this?)

Regarding the DeASCM: this unfortunately also did not work... however, I got a workaround with some other DeDRM software via Wine... which I then can insert into Calibre... little workaround, which hopefully will work sometime now!

Best regards,
Judith
ju-scha is offline   Reply With Quote
Old 03-06-2025, 05:27 PM   #12
ju-scha
Member
ju-scha began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jan 2025
Device: kindle (very old)
work around found - and how to wrap a log file

Go the the plugin thread for DeACSM. https://www.mobileread.com/forums/sh...d.php?t=341975

Wrap your log file in a spoiler tag and you'll most likely get more of a response over there then here.[/QUOTE]

------------------------

Daer JS Wolf,

thanks a lot for your help. I understand, that the log is too long... for the future: how can I wrap the log file in a spoiler tab? (What is this?)

Regarding the DeASCM: this unfortunately also did not work... however, I got a workaround with some other DeDRM software via Wine... which I then can insert into Calibre... little workaround, which hopefully will work sometime now!

Best regards,
Judith
ju-scha is offline   Reply With Quote
Old 03-06-2025, 06:20 PM   #13
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,243
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
In Advanced mode, you will see a eye with a X between the YouTube and Map icons. Simply enter your text, select it and click on the spoiler icon.

Spoiler:
Color keywords
Basic Colors

black
silver
gray
white
maroon
red
purple
fuchsia
green
lime
olive
yellow
navy
blue
teal
aqua

Extended colors

aliceblue
antiquewhite
aqua
aquamarine
azure
beige
bisque
black
blanchedalmond
blue
blueviolet
brown
burlywood
cadetblue
chartreuse
chocolate
coral
cornflowerblue
cornsilk
crimson
cyan
darkblue
darkcyan
darkgoldenrod
darkgray
darkgreen
darkgrey
darkkhaki
darkmagenta
darkolivegreen
darkorange
darkorchid
darkred
darksalmon
darkorchid
darkslateblue
darkslategray
darkslategrey
darkturquoise
darkviolet
deeppink
deepskyblue
dimgray
dimgrey
dodgerblue
firebrick
floralwhite
forestgreen
fuchsia
gainsboro
ghostwhite
gold
goldenrod
gray
green
greenyellow
grey
honeydew
hotpink
indianred
indigo
ivory
khaki
lavender
lavenderblush
lawngreen
lemonchiffon
lightblue
lightcoral
lightcyan
lightgoldenrodyellow
lightgray
lightgreen
lightgrey
lightpink
lightsalmon
lightseagreen
lightskyblue
lightslategray
lightslategrey
lightsteelblue
lightyellow
lime
limegreen
linen
magenta
maroon
mediumaquamarine
mediumblue
mediumorchid
mediumpurple
mediumseagreen
mediumslateblue
mediumspringgreen
mediumturquoise
mediumvioletred
midnightblue
mintcream
mistyrose
moccasin
navajowhite
navy
oldlace
olive
olivedrab
orange
orangered
orchid
palegoldenrod
palegreen
paleturquoise
palevioletred
papayawhip
peachpuff
peru
pink
plum
powderblue
purple
rebeccapurple
red
rosybrown
royalblue
saddlebrown
salmon
sandybrown
seagreen
seashell
sienna
silver
skyblue
slateblue
slategray
slategrey
snow
springgreen
steelblue
tan
teal
thistle
tomato
turquoise
violet
wheat
white
whitesmoke
yellow
yellowgreen
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2025-03-06 151200.png
Views:	101
Size:	39.6 KB
ID:	214150  
DNSB is offline   Reply With Quote
Old 03-06-2025, 06:23 PM   #14
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,528
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
I took liberty and added in [spoiler][code]
log log log
[/code][/spoiler] tags
PeterT is offline   Reply With Quote
Old 03-07-2025, 03:19 AM   #15
ju-scha
Member
ju-scha began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jan 2025
Device: kindle (very old)
Smile Great, thanks.

Great, thanks for the explanation.
ju-scha is offline   Reply With Quote
Reply

Tags
calibre version 4.23.0


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New to Calibre - using older version JWK Calibre 37 01-03-2025 05:15 PM
Older version of Calibre wanted Strudelbaum Calibre 4 07-07-2017 02:35 PM
Problems installing Linux Version Ababakar Calibre 4 09-23-2016 10:41 AM
Need to get older version Calibre tewanchew Devices 2 12-22-2015 10:01 PM
How to Get Sony Reader Desktop Version to Work with Linux? Flyweight Sony Reader 3 11-14-2010 07:47 PM


All times are GMT -4. The time now is 08:46 AM.


MobileRead.com is a privately owned, operated and funded community.