I'm getting a "No plugin to handle input format: acsm" error. This is the first time I've used the plugin, so maybe I'm doing something wrong. I'm still pretty new to linux and this is a brand new, fresh install of it. So, again, maybe I'm doing something wrong.
This particular error is for a library book, but I tried it with a sample from the link you provided in your OP to the Adobe sample library. All I did was download the acsm file from the library, did an Add Books > Add Books from a Single Folder in Calibre and then tried to View the book in the Calibre E-book Viewer. When it didn't work, I uninstalled the plugin, restarted Calibre, installed the plugin, restarted Calibre again, and went to Preferences > Plugins > File Type > and confirmed that it was configured to use my imported Adobe credentials. I deleted and re-added the books and, when I tried viewing them, got the same error.
Here's the error when trying to view the library book in Calibre:
Code:
calibre, version 5.42.0
ERROR: Loading book failed: Failed to open the book at /home/dave/Calibre Library/Unknown/NettleBone 9781250244031 5969856 (1483)/NettleBone 9781250244031 5969856 - Unknown.acsm. Click "Show details" for more info.
Failed to convert book: /home/dave/Calibre Library/Unknown/NettleBone 9781250244031 5969856 (1483)/NettleBone 9781250244031 5969856 - Unknown.acsm with error:
DeACSM v0.0.15: Trying to parse file NettleBone 9781250244031 5969856 - Unknown.acsm
DeACSM v0.0.15: Try to fulfill ...
Failed to run pipe worker with command: from calibre.srv.render_book import viewer_main; viewer_main()
Running file type plugin DeACSM failed with traceback:
Traceback (most recent call last):
File "calibre/customize/ui.py", line 175, in _run_filetype_plugins
File "calibre_plugins.deacsm.__init__", line 378, in run
success, replyData = fulfill(path_to_ebook, deacsmprefs["notify_fulfillment"])
File "calibre_plugins.deacsm.libadobeFulfill", line 348, in fulfill
signature = sign_node(fulfill_request_xml)
File "calibre_plugins.deacsm.libadobe", line 418, in sign_node
my_priv_key, _, _ = keys.parse_pkcs12(my_pkcs12, base64.b64encode(devkey_bytes))
File "/home/dave/.config/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_openssl/asymmetric.py", line 774, in parse_pkcs12
return _parse_pkcs12(data, password, load_private_key)
File "/home/dave/.config/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_asymmetric.py", line 853, in _parse_pkcs12
raise ValueError('Password provided is invalid')
ValueError: Password provided is invalid
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 45, in <module>
File "site.py", line 41, in main
File "calibre/utils/ipc/worker.py", line 196, in main
File "<string>", line 1, in <module>
File "calibre/srv/render_book.py", line 823, in viewer_main
File "calibre/srv/render_book.py", line 814, in render_for_viewer
File "calibre/srv/render_book.py", line 791, in render
File "calibre/ebooks/oeb/iterator/book.py", line 53, in extract_book
File "calibre/ebooks/conversion/plumber.py", line 755, in __init__
ValueError: No plugin to handle input format: acsm
and here's the same for the Adobe sample library book:
Code:
calibre, version 5.42.0
ERROR: Loading book failed: Failed to open the book at /home/dave/Calibre Library/Unknown/URLLink (1484)/URLLink - Unknown.acsm. Click "Show details" for more info.
Failed to convert book: /home/dave/Calibre Library/Unknown/URLLink (1484)/URLLink - Unknown.acsm with error:
DeACSM v0.0.15: Trying to parse file URLLink - Unknown.acsm
DeACSM v0.0.15: Try to fulfill ...
Failed to run pipe worker with command: from calibre.srv.render_book import viewer_main; viewer_main()
Running file type plugin DeACSM failed with traceback:
Traceback (most recent call last):
File "calibre/customize/ui.py", line 175, in _run_filetype_plugins
File "calibre_plugins.deacsm.__init__", line 378, in run
success, replyData = fulfill(path_to_ebook, deacsmprefs["notify_fulfillment"])
File "calibre_plugins.deacsm.libadobeFulfill", line 348, in fulfill
signature = sign_node(fulfill_request_xml)
File "calibre_plugins.deacsm.libadobe", line 418, in sign_node
my_priv_key, _, _ = keys.parse_pkcs12(my_pkcs12, base64.b64encode(devkey_bytes))
File "/home/dave/.config/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_openssl/asymmetric.py", line 774, in parse_pkcs12
return _parse_pkcs12(data, password, load_private_key)
File "/home/dave/.config/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_asymmetric.py", line 853, in _parse_pkcs12
raise ValueError('Password provided is invalid')
ValueError: Password provided is invalid
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 45, in <module>
File "site.py", line 41, in main
File "calibre/utils/ipc/worker.py", line 196, in main
File "<string>", line 1, in <module>
File "calibre/srv/render_book.py", line 823, in viewer_main
File "calibre/srv/render_book.py", line 814, in render_for_viewer
File "calibre/srv/render_book.py", line 791, in render
File "calibre/ebooks/oeb/iterator/book.py", line 53, in extract_book
File "calibre/ebooks/conversion/plumber.py", line 755, in __init__
ValueError: No plugin to handle input format: acsm
and here's the terminal output for adding and trying to view the book with Calibre in debug mode:
Code:
[dave@fedora ~]$ calibre-debug -g
calibre 5.42 embedded-python: True is64bit: True
Linux-5.17.5-200.fc35.x86_64-x86_64-with-glibc2.2.5 Linux ('64bit', 'ELF')
('Linux', '5.17.5-200.fc35.x86_64', '#1 SMP PREEMPT Thu Apr 28 15:41:41 UTC 2022')
Python 3.8.5
Interface language: None
DEBUG: 0.0 GetFileName::__init__.py - loading translations
Successfully initialized third party plugins: DeACSM (0, 0, 15) && DeDRM (10, 0, 2) && EpubCheck (0, 2, 4) && GetFileName (0, 1, 1) && Goodreads (1, 5, 3) && Kobo Utilities (2, 15, 1) && KoboTouchExtended (3, 5, 4) && Modify ePub (1, 7, 3) && Quality Check (1, 12, 0) && ScrambleEbook (0, 4, 5)
Disabling Qt WebEngine sandbox as version of glibc on this system will break it
Not controlling automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 109.0 x 109.0
physicalDpi: 109.21999999999998 x 110.83636363636363
Using calibre Qt style: True
[0.00] Starting up...
[0.00] Initializing db...
[0.03] db initialized
[0.03] Constructing main UI...
DEBUG: 0.0 Kobo Utilities Configuration - CreateNewCustomColumn is supported
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.4 No Kobo Touch, Glo or Mini appears to be connected
DEBUG: 0.4 rebuild_menus - self.supports_ratings=None, self.supports_tiles=None
DEBUG: 0.4 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG: 0.4 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders
Driver: KoboTouchExtended'
[0.52] main UI initialized...
[0.52] Started up in 0.52 seconds with 657 books
Starting QuickView
['kdialog', '--title', 'Select books', '--desktopfile', 'calibre-gui', '--attach', '35651596', '--multiple', '--separate-output', '--getopenfilename', '/home/dave/Downloads', 'Books (*.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 *.acsm)\nEPUB books (*.epub *.kepub)\nKindle books (*.mobi *.prc *.azw *.azw3 *.kfx *.tpz *.azw1 *.azw4)\nPDF books (*.pdf *.azw4)\nHTML books (*.htm *.html *.xhtm *.xhtml)\nLIT books (*.lit)\nText books (*.txt *.text *.rtf *.md *.markdown *.textile *.txtz)\nComics (*.cbz *.cbr *.cbc)\nArchives (*.zip *.rar)\nWordprocessor files (*.odt *.doc *.docx)\nAll files (*)']
DeACSM v0.0.15: Trying to parse file NettleBone_9781250244031_5969856.acsm
DeACSM v0.0.15: Try to fulfill ...
Running file type plugin DeACSM failed with traceback:
Traceback (most recent call last):
File "calibre/customize/ui.py", line 175, in _run_filetype_plugins
File "calibre_plugins.deacsm.__init__", line 378, in run
success, replyData = fulfill(path_to_ebook, deacsmprefs["notify_fulfillment"])
File "calibre_plugins.deacsm.libadobeFulfill", line 348, in fulfill
signature = sign_node(fulfill_request_xml)
File "calibre_plugins.deacsm.libadobe", line 418, in sign_node
my_priv_key, _, _ = keys.parse_pkcs12(my_pkcs12, base64.b64encode(devkey_bytes))
File "/home/dave/.config/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_openssl/asymmetric.py", line 774, in parse_pkcs12
return _parse_pkcs12(data, password, load_private_key)
File "/home/dave/.config/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_asymmetric.py", line 853, in _parse_pkcs12
raise ValueError('Password provided is invalid')
ValueError: Password provided is invalid
Running file type plugin GetFileName failed with traceback:
Traceback (most recent call last):
File "calibre/customize/ui.py", line 175, in _run_filetype_plugins
File "calibre_plugins.getfilename.__init__", line 108, in run
json.dump (dictio_aux, file)
File "json/__init__.py", line 180, in dump
TypeError: a bytes-like object is required, not 'str'
Prefs: {'SchemaVersion': '0.3', 'configured': True, 'date_col': '#origfiledate', 'ext_col': '', 'nom_col': '#origfilename', 'opc_name': 'path', 'path_col': ''}
Prefs: {'SchemaVersion': '0.3', 'configured': True, 'date_col': '#origfiledate', 'ext_col': '', 'nom_col': '#origfilename', 'opc_name': 'path', 'path_col': ''}
Prefs: {'SchemaVersion': '0.3', 'configured': True, 'date_col': '#origfiledate', 'ext_col': '', 'nom_col': '#origfilename', 'opc_name': 'path', 'path_col': ''}
Prefs: {'SchemaVersion': '0.3', 'configured': True, 'date_col': '#origfiledate', 'ext_col': '', 'nom_col': '#origfilename', 'opc_name': 'path', 'path_col': ''}
Prefs: {'SchemaVersion': '0.3', 'configured': True, 'date_col': '#origfiledate', 'ext_col': '', 'nom_col': '#origfilename', 'opc_name': 'path', 'path_col': ''}
Prefs: {'SchemaVersion': '0.3', 'configured': True, 'date_col': '#origfiledate', 'ext_col': '', 'nom_col': '#origfilename', 'opc_name': 'path', 'path_col': ''}
DEBUG: 17.4 Lineas: []
DEBUG: 17.4 File: /home/dave/Downloads/NettleBone_9781250244031_5969856.acsm - Format: acsm
DEBUG: 17.4 Fich ori: /home/dave/Downloads/NettleBone_9781250244031_5969856.acsm
DEBUG: 17.4 Ori: /home/dave/Downloads/NettleBone_9781250244031_5969856.acsm
DEBUG: 17.4 File: /home/dave/Downloads/NettleBone_9781250244031_5969856.acsm
DEBUG: 17.4 Updating column #origfilename for book id: 1485 with value: /home/dave/Downloads/NettleBone_9781250244031_5969856.acsm
DEBUG: 17.4 Updating column #origfiledate for book id: 1485 with value: 2022-05-09 11:18:21.531463
Added NettleBone 9781250244031 5969856 to db in: 0.0
Added 1 books in 0.3 seconds
Worker Launch took: 0.00 seconds
Disabling Qt WebEngine sandbox as version of glibc on this system will break it
Sandboxing disabled by user.
[dave@fedora ~]$
Also, since Calibre complained a bit about the glibc version in its console output, I checked my version and it's fully up-to-date:
Code:
Package glibc-2.34-32.fc35.x86_64 is already installed.
Package glibc-2.34-32.fc35.i686 is already installed.
Here's my system information:
Operating System: Fedora Linux 35
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.17.5-200.fc35.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: AMD Radeon RX 6800 XT