View Single Post
Old 12-11-2021, 04:25 PM   #92
Bembo
Enthusiast
Bembo ought to be getting tired of karma fortunes by now.Bembo ought to be getting tired of karma fortunes by now.Bembo ought to be getting tired of karma fortunes by now.Bembo ought to be getting tired of karma fortunes by now.Bembo ought to be getting tired of karma fortunes by now.Bembo ought to be getting tired of karma fortunes by now.Bembo ought to be getting tired of karma fortunes by now.Bembo ought to be getting tired of karma fortunes by now.Bembo ought to be getting tired of karma fortunes by now.Bembo ought to be getting tired of karma fortunes by now.Bembo ought to be getting tired of karma fortunes by now.
 
Posts: 30
Karma: 2135988
Join Date: Jun 2021
Device: Kobo Clara HD
Quote:
Originally Posted by Leseratte_10 View Post
That could explain the issue, yeah, if you are trying to download ACSM files for books you've already bought (and used) in the past.

Are the ACSM files you tested from books you bought in the past and already added to ADE? Then gbm is correct and that would be the explaination as for why it doesn't work.

Or are you testing with a freshly bought book that you haven't linked to your other AdobeID / ADE install yet, and it still doesn't work?
Not the OP, but I am having a similar issue where Calibre just imports the .acsm as is, without "converting" it. I am using ADE 2.0.1 normally but that is registered without an ID, whereas I put the Adobe ID into the plugin's info.

I tried with a new .acsm file (realized the old one had been opened in ADE already) and that got turned into an .epub but I can't do anything with the file. Can't open it, can't convert, it's like a dead stone.

Debug log:

Spoiler:

calibre Debug log
calibre 5.33.2 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.19041 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: DeACSM (0, 0, 14) && DeDRM (7, 2, 1) && KePub Metadata Reader (3, 4, 3) && KePub Metadata Writer (3, 4, 3) && Kindle hi-res covers (0, 5, 0) && Kobo Books (1, 8, 3) && Kobo Utilities (2, 14, 1) && KoboTouchExtended (3, 5, 4) && Obok DeDRM (7, 2, 1)
calibre 5.33.2 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.19041 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: DeACSM (0, 0, 14) && DeDRM (7, 2, 1) && KePub Metadata Reader (3, 4, 3) && KePub Metadata Writer (3, 4, 3) && Kindle hi-res covers (0, 5, 0) && Kobo Books (1, 8, 3) && Kobo Utilities (2, 14, 1) && KoboTouchExtended (3, 5, 4) && Obok DeDRM (7, 2, 1)
Turning on automatic hidpi scaling
devicePixelRatio: 2.0
logicalDpi: 96.0 x 96.0
physicalDpi: 133.68421052631578 x 133.68421052631578
Using calibre Qt style: True
[0.00] Starting up...
[0.00] Showing splash screen...
[1.17] splash screen shown
[1.17] Initializing db...
[1.17] db initialized
[1.17] Constructing main UI...
DEBUG: 0.0 KoboUtilites::action.py - loading translations
DEBUG: 0.0 KoboUtilites::dialogs.py - loading translations
DEBUG: 0.0 KoboUtilites::action.py - loading translations
DEBUG: 0.0 obok::utilities.py - loading translations
DEBUG: 0.0 obok::dialogs.py - loading translations
DEBUG: 0.0 obok::config.py - loading translations
DEBUG: 0.0 obok::action_err.py - loading translations
DEBUG: 0.6 No Kobo Touch, Glo or Mini appears to be connected
DEBUG: 0.6 rebuild_menus - self.supports_ratings=None, self.supports_tiles=None
DEBUG: 0.6 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG: 0.6 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders

Driver: KoboTouchExtended'
[1.98] main UI initialized...
[1.98] Hiding splash screen
Starting QuickView
[10.17] splash screen hidden
[10.17] Started up in 10.17 seconds with 6 books
Worker Launch took: 0.00 seconds
Worker Launch took: 0.03 seconds
Job: 1 Convert book 1 of 1 (The Fire Next Time) finished
Convert book 1 of 1 (The Fire Next Time)

DeDRM v7.2.1: Trying to decrypt 4tj1gc4q.epub
DeDRM v7.2.1: Verifying zip archive integrity
DeDRM v7.2.1: 4tj1gc4q.epub is a secure Adobe Adept ePub
DeDRM v7.2.1: Trying Encryption key default_key
Could not decrypt mwefi9it.epub because of an exception:
Traceback (most recent call last):
File "calibre_plugins.dedrm.ineptepub", line 418, in decryptBook
TypeError: object of type 'int' has no len()

DeDRM v7.2.1: Failed to decrypt with key default_key after 0.1 seconds
DeDRM v7.2.1: Looking for new default Adobe Digital Editions Keys after 0.1 seconds
Found 1 keys
DeDRM v7.2.1: Ultimately failed to decrypt after 0.1 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/...master/FAQs.md
Conversion options changed from defaults:

read_metadata_from_opf: 'C:\\Users\\Ukko\\AppData\\Local\\Temp\\calibre_m9 jytpp8\\s9_o4ofg.opf'

flow_size: 0

verbose: 2

output_profile: 'generic_eink_hd'

Resolved conversion options

calibre version: 5.33.2

{'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|p rologue|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_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': 0,

'font_size_mapping': None,

'format_scene_breaks': True,

'html_unwrap_factor': 0.4,

'input_encoding': None,

'input_profile': <calibre.customize.profiles.InputProfile object at 0x0000029DAC5ACF10>,

'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.GenericEinkHD object at 0x0000029DAC5BF250>,

'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\\Ukko\\AppData\\Local\\Temp\\calibre_m9 jytpp8\\s9_o4ofg.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}

Running file type plugin DeDRM failed with traceback:

Traceback (most recent call last):

File "calibre\customize\ui.py", line 175, in _run_filetype_plugins

File "calibre_plugins.dedrm.__init__", line 644, in run

File "calibre_plugins.dedrm.__init__", line 415, in ePubDecrypt

calibre_plugins.dedrm.DeDRMError: DeDRM v7.2.1: Ultimately failed to decrypt after 0.1 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/...master/FAQs.md

DeDRM v7.2.1: Trying to decrypt 4tj1gc4q.epub
DeDRM v7.2.1: Verifying zip archive integrity
DeDRM v7.2.1: 4tj1gc4q.epub is a secure Adobe Adept ePub
DeDRM v7.2.1: Trying Encryption key default_key
Could not decrypt ty86liq_.epub because of an exception:
Traceback (most recent call last):
File "calibre_plugins.dedrm.ineptepub", line 418, in decryptBook
TypeError: object of type 'int' has no len()

DeDRM v7.2.1: Failed to decrypt with key default_key after 0.1 seconds
DeDRM v7.2.1: Looking for new default Adobe Digital Editions Keys after 0.1 seconds
Found 1 keys
DeDRM v7.2.1: Ultimately failed to decrypt after 0.1 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/...master/FAQs.md
Running file type plugin DeDRM failed with traceback:

Traceback (most recent call last):

File "calibre\customize\ui.py", line 175, in _run_filetype_plugins

File "calibre_plugins.dedrm.__init__", line 644, in run

File "calibre_plugins.dedrm.__init__", line 415, in ePubDecrypt

calibre_plugins.dedrm.DeDRMError: DeDRM v7.2.1: Ultimately failed to decrypt after 0.1 seconds. Read the FAQs at Harper's repository: https://github.com/apprenticeharper/...master/FAQs.md

InputFormatPlugin: EPUB Input running

on C:\Users\Ukko\AppData\Local\Temp\calibre_m9jytpp8\ 4tj1gc4q.epub

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 82, in <module>

File "site.py", line 77, in main

File "site.py", line 49, in run_entry_point

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 1111, in run

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

File "calibre\ebooks\conversion\plugins\epub_input. py", line 287, in convert

calibre.ebooks.DRMError: 4tj1gc4q.epub

Exception ignored in: <function NativeFunction.__del__ at 0x0000029DAC7CAEE0>

Traceback (most recent call last):

File "calibre_plugins.dedrm.adobekey", line 268, in __del__

TypeError: 'NoneType' object is not callable

Exception ignored in: <function NativeFunction.__del__ at 0x0000029DAC7CAEE0>

Traceback (most recent call last):

File "calibre_plugins.dedrm.adobekey", line 268, in __del__

TypeError: 'NoneType' object is not callable

Bembo is offline   Reply With Quote