View Single Post
Old 06-21-2025, 04:26 AM   #581
0jay
Member
0jay rocks like Gibraltar!0jay rocks like Gibraltar!0jay rocks like Gibraltar!0jay rocks like Gibraltar!0jay rocks like Gibraltar!0jay rocks like Gibraltar!0jay rocks like Gibraltar!0jay rocks like Gibraltar!0jay rocks like Gibraltar!0jay rocks like Gibraltar!0jay rocks like Gibraltar!
 
Posts: 13
Karma: 100000
Join Date: Jan 2023
Location: Melbourne, Australia
Device: AuraOne & Elipsa
Hi all,
I'm on Calibre 8.4 and get the following error trying to install from the plugins interface:
Spoiler:


calibre, version 8.4.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 744, in initialize_plugin
File "calibre_plugins.deacsm.__init__", line 226, in initialize
from libadobe import createDeviceKeyFile, update_account_path, sendHTTPRequest
File "/var/folders/j9/82lndbfx7cqc093_rfs1_wq00000gn/C/calibre-qovn79g7/mka71567.zip/libadobe.py", line 59, in <module>
from oscrypto import keys
File "/Users/ojay/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/ojay/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_asymmetric.py", line 27, in <module>
from .kdf import pbkdf1, pbkdf2, pkcs12_kdf
File "/Users/ojay/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/kdf.py", line 9, in <module>
from .util import rand_bytes
File "/Users/ojay/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/util.py", line 10, in <module>
from ._mac.util import rand_bytes
File "/Users/ojay/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_mac/util.py", line 208, in <module>
from .._openssl._libcrypto import libcrypto
File "/Users/ojay/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_openssl/_libcrypto.py", line 24, in <module>
from ._libcrypto_ctypes import (
File "/Users/ojay/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 376, in __init__
OSError: dlopen(/usr/local/lib/libcrypto.dylib, 0x0006): tried: '/usr/local/lib/libcrypto.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/libcrypto.dylib' (no such file), '/usr/local/lib/libcrypto.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/usr/local/Cellar/openssl@3/3.3.2/lib/libcrypto.3.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/openssl@3/3.3.2/lib/libcrypto.3.dylib' (no such file), '/usr/local/Cellar/openssl@3/3.3.2/lib/libcrypto.3.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre/gui2/dialogs/plugin_updater.py", line 740, in _install_clicked
File "calibre/customize/ui.py", line 547, in add_plugin
File "calibre/customize/ui.py", line 749, in initialize_plugin
calibre.customize.InvalidPlugin: Initialization of plugin Traceback (most recent call last):
File "calibre/customize/ui.py", line 744, in initialize_plugin
File "calibre_plugins.deacsm.__init__", line 226, in initialize
from libadobe import createDeviceKeyFile, update_account_path, sendHTTPRequest
File "/var/folders/j9/82lndbfx7cqc093_rfs1_wq00000gn/C/calibre-qovn79g7/mka71567.zip/libadobe.py", line 59, in <module>
from oscrypto import keys
File "/Users/ojay/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/ojay/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_asymmetric.py", line 27, in <module>
from .kdf import pbkdf1, pbkdf2, pkcs12_kdf
File "/Users/ojay/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/kdf.py", line 9, in <module>
from .util import rand_bytes
File "/Users/ojay/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/util.py", line 10, in <module>
from ._mac.util import rand_bytes
File "/Users/ojay/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_mac/util.py", line 208, in <module>
from .._openssl._libcrypto import libcrypto
File "/Users/ojay/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_openssl/_libcrypto.py", line 24, in <module>
from ._libcrypto_ctypes import (
File "/Users/ojay/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 376, in __init__
OSError: dlopen(/usr/local/lib/libcrypto.dylib, 0x0006): tried: '/usr/local/lib/libcrypto.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/libcrypto.dylib' (no such file), '/usr/local/lib/libcrypto.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/usr/local/Cellar/openssl@3/3.3.2/lib/libcrypto.3.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/openssl@3/3.3.2/lib/libcrypto.3.dylib' (no such file), '/usr/local/Cellar/openssl@3/3.3.2/lib/libcrypto.3.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))
failed with traceback:
Traceback (most recent call last):
File "calibre/customize/ui.py", line 744, in initialize_plugin
File "calibre_plugins.deacsm.__init__", line 226, in initialize
from libadobe import createDeviceKeyFile, update_account_path, sendHTTPRequest
File "/var/folders/j9/82lndbfx7cqc093_rfs1_wq00000gn/C/calibre-qovn79g7/mka71567.zip/libadobe.py", line 59, in <module>
from oscrypto import keys
File "/Users/ojay/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/ojay/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_asymmetric.py", line 27, in <module>
from .kdf import pbkdf1, pbkdf2, pkcs12_kdf
File "/Users/ojay/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/kdf.py", line 9, in <module>
from .util import rand_bytes
File "/Users/ojay/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/util.py", line 10, in <module>
from ._mac.util import rand_bytes
File "/Users/ojay/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_mac/util.py", line 208, in <module>
from .._openssl._libcrypto import libcrypto
File "/Users/ojay/Library/Preferences/calibre/plugins/DeACSM/modules/oscrypto/oscrypto/_openssl/_libcrypto.py", line 24, in <module>
from ._libcrypto_ctypes import (
File "/Users/ojay/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 376, in __init__
OSError: dlopen(/usr/local/lib/libcrypto.dylib, 0x0006): tried: '/usr/local/lib/libcrypto.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/libcrypto.dylib' (no such file), '/usr/local/lib/libcrypto.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/usr/local/Cellar/openssl@3/3.3.2/lib/libcrypto.3.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/openssl@3/3.3.2/lib/libcrypto.3.dylib' (no such file), '/usr/local/Cellar/openssl@3/3.3.2/lib/libcrypto.3.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))

Is this a known problem?

Thanks for your time.
Oscar

Last edited by theducks; 06-21-2025 at 09:25 AM. Reason: SPOILER LOG files
0jay is offline   Reply With Quote