I receive the following error when attempting to install the plugin. The installation fails. Calibre automatically forces an uninstallation at the next step.
calibre, version 9.1.0
ERROR: Install plugin failed: A problem occurred while installing this plugin. This plugin will now be uninstalled. Please post the error message in details below into the forum thread for this plugin and restart calibre.
Traceback (most recent call last):
File "calibre/customize/ui.py", line 778, in initialize_plugin
File "calibre_plugins.deacsm.__init__", line 226, in initialize
from libadobe import createDeviceKeyFile, update_account_path, sendHTTPRequest
File "/var/folders/zq/3238r_zs0_l_62xhz7q2pz200000gn/C/calibre-aqx6nl5l/5nu62ouy.zip/libadobe.py", line 59, in <module>
from oscrypto import keys
File "/Users/chad/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/keys.py", line 5, in <module>
from ._asymmetric import parse_certificate, parse_private, parse_public
File "/Users/chad/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_asymmetric.py", line 27, in <module>
from .kdf import pbkdf1, pbkdf2, pkcs12_kdf
File "/Users/chad/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/kdf.py", line 9, in <module>
from .util import rand_bytes
File "/Users/chad/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/util.py", line 10, in <module>
from ._mac.util import rand_bytes
File "/Users/chad/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_mac/util.py", line 208, in <module>
from .._openssl._libcrypto import libcrypto
File "/Users/chad/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_openssl/_libcrypto.py", line 24, in <module>
from ._libcrypto_ctypes import (
...<3 lines>...
)
File "/Users/chad/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_openssl/_libcrypto_ctypes.py", line 30, in <module>
libcrypto = CDLL(libcrypto_path, use_errno=True)
File "ctypes/__init__.py", line 433, in __init__
File "ctypes/__init__.py", line 473, in _load_library
OSError: dlopen(/usr/local/lib/libcrypto.dylib, 0x0006): tried: '/usr/local/lib/libcrypto.dylib' (code signature in <30A0BBDF-3BC2-372A-A13F-E641AA25B681> '/usr/local/Cellar/openssl@3/3.6.0/lib/libcrypto.3.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/libcrypto.dylib' (no such file), '/usr/local/lib/libcrypto.dylib' (code signature in <30A0BBDF-3BC2-372A-A13F-E641AA25B681> '/usr/local/Cellar/openssl@3/3.6.0/lib/libcrypto.3.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/usr/local/Cellar/openssl@3/3.6.0/lib/libcrypto.3.dylib' (code signature in <30A0BBDF-3BC2-372A-A13F-E641AA25B681> '/usr/local/Cellar/openssl@3/3.6.0/lib/libcrypto.3.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/openssl@3/3.6.0/lib/libcrypto.3.dylib' (no such file), '/usr/local/Cellar/openssl@3/3.6.0/lib/libcrypto.3.dylib' (code signature in <30A0BBDF-3BC2-372A-A13F-E641AA25B681> '/usr/local/Cellar/openssl@3/3.6.0/lib/libcrypto.3.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre/gui2/dialogs/plugin_updater.py", line 897, in _install_clicked
File "calibre/customize/ui.py", line 581, in add_plugin
File "calibre/customize/ui.py", line 783, in initialize_plugin
calibre.customize.InvalidPlugin: Initialization of plugin Traceback (most recent call last):
File "calibre/customize/ui.py", line 778, in initialize_plugin
File "calibre_plugins.deacsm.__init__", line 226, in initialize
from libadobe import createDeviceKeyFile, update_account_path, sendHTTPRequest
File "/var/folders/zq/3238r_zs0_l_62xhz7q2pz200000gn/C/calibre-aqx6nl5l/5nu62ouy.zip/libadobe.py", line 59, in <module>
from oscrypto import keys
File "/Users/chad/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/keys.py", line 5, in <module>
from ._asymmetric import parse_certificate, parse_private, parse_public
File "/Users/chad/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_asymmetric.py", line 27, in <module>
from .kdf import pbkdf1, pbkdf2, pkcs12_kdf
File "/Users/chad/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/kdf.py", line 9, in <module>
from .util import rand_bytes
File "/Users/chad/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/util.py", line 10, in <module>
from ._mac.util import rand_bytes
File "/Users/chad/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_mac/util.py", line 208, in <module>
from .._openssl._libcrypto import libcrypto
File "/Users/chad/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_openssl/_libcrypto.py", line 24, in <module>
from ._libcrypto_ctypes import (
...<3 lines>...
)
File "/Users/chad/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_openssl/_libcrypto_ctypes.py", line 30, in <module>
libcrypto = CDLL(libcrypto_path, use_errno=True)
File "ctypes/__init__.py", line 433, in __init__
File "ctypes/__init__.py", line 473, in _load_library
OSError: dlopen(/usr/local/lib/libcrypto.dylib, 0x0006): tried: '/usr/local/lib/libcrypto.dylib' (code signature in <30A0BBDF-3BC2-372A-A13F-E641AA25B681> '/usr/local/Cellar/openssl@3/3.6.0/lib/libcrypto.3.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/libcrypto.dylib' (no such file), '/usr/local/lib/libcrypto.dylib' (code signature in <30A0BBDF-3BC2-372A-A13F-E641AA25B681> '/usr/local/Cellar/openssl@3/3.6.0/lib/libcrypto.3.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/usr/local/Cellar/openssl@3/3.6.0/lib/libcrypto.3.dylib' (code signature in <30A0BBDF-3BC2-372A-A13F-E641AA25B681> '/usr/local/Cellar/openssl@3/3.6.0/lib/libcrypto.3.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/openssl@3/3.6.0/lib/libcrypto.3.dylib' (no such file), '/usr/local/Cellar/openssl@3/3.6.0/lib/libcrypto.3.dylib' (code signature in <30A0BBDF-3BC2-372A-A13F-E641AA25B681> '/usr/local/Cellar/openssl@3/3.6.0/lib/libcrypto.3.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.)
failed with traceback:
Traceback (most recent call last):
File "calibre/customize/ui.py", line 778, in initialize_plugin
File "calibre_plugins.deacsm.__init__", line 226, in initialize
from libadobe import createDeviceKeyFile, update_account_path, sendHTTPRequest
File "/var/folders/zq/3238r_zs0_l_62xhz7q2pz200000gn/C/calibre-aqx6nl5l/5nu62ouy.zip/libadobe.py", line 59, in <module>
from oscrypto import keys
File "/Users/chad/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/keys.py", line 5, in <module>
from ._asymmetric import parse_certificate, parse_private, parse_public
File "/Users/chad/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_asymmetric.py", line 27, in <module>
from .kdf import pbkdf1, pbkdf2, pkcs12_kdf
File "/Users/chad/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/kdf.py", line 9, in <module>
from .util import rand_bytes
File "/Users/chad/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/util.py", line 10, in <module>
from ._mac.util import rand_bytes
File "/Users/chad/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_mac/util.py", line 208, in <module>
from .._openssl._libcrypto import libcrypto
File "/Users/chad/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_openssl/_libcrypto.py", line 24, in <module>
from ._libcrypto_ctypes import (
...<3 lines>...
)
File "/Users/chad/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_openssl/_libcrypto_ctypes.py", line 30, in <module>
libcrypto = CDLL(libcrypto_path, use_errno=True)
File "ctypes/__init__.py", line 433, in __init__
File "ctypes/__init__.py", line 473, in _load_library
OSError: dlopen(/usr/local/lib/libcrypto.dylib, 0x0006): tried: '/usr/local/lib/libcrypto.dylib' (code signature in <30A0BBDF-3BC2-372A-A13F-E641AA25B681> '/usr/local/Cellar/openssl@3/3.6.0/lib/libcrypto.3.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/libcrypto.dylib' (no such file), '/usr/local/lib/libcrypto.dylib' (code signature in <30A0BBDF-3BC2-372A-A13F-E641AA25B681> '/usr/local/Cellar/openssl@3/3.6.0/lib/libcrypto.3.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/usr/local/Cellar/openssl@3/3.6.0/lib/libcrypto.3.dylib' (code signature in <30A0BBDF-3BC2-372A-A13F-E641AA25B681> '/usr/local/Cellar/openssl@3/3.6.0/lib/libcrypto.3.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/openssl@3/3.6.0/lib/libcrypto.3.dylib' (no such file), '/usr/local/Cellar/openssl@3/3.6.0/lib/libcrypto.3.dylib' (code signature in <30A0BBDF-3BC2-372A-A13F-E641AA25B681> '/usr/local/Cellar/openssl@3/3.6.0/lib/libcrypto.3.dylib' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.)
Bug description
When does the error occur? Installing plugin
If the error happens during ACSM import: N/A
If the error happens during ACSM import: N/A
Did this work in the past and randomly stopped, or did this never work / you are installing the plugin for the first time? Installing for the first time
I receive the following error when attempting to install the plugin. The installation fails. Calibre automatically forces an uninstallation at the next step.
Operating system
MacOS
Which version of Calibre are you running?
9.10
Which version of the ACSM Input plugin are you running?
v0.0.16
Import type
No response
Further information
No response