Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get error when trying to open plugin settings #2393

Open
virtualcrane opened this issue Feb 14, 2025 · 2 comments
Open

Get error when trying to open plugin settings #2393

virtualcrane opened this issue Feb 14, 2025 · 2 comments

Comments

@virtualcrane
Copy link

virtualcrane commented Feb 14, 2025

When trying to open the settings of the plugin, I get this error:

calibre, version 7.26.0
ERROR: Unhandled exception: OSError:dlopen(/usr/local/lib/libcrypto.dylib, 0x0006): tried: '/usr/local/lib/libcrypto.dylib' (code signature in <FB50028F-D06B-31E6-AC3B-68B815025221> '/usr/local/Cellar/openssl@3/3.2.1/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 <FB50028F-D06B-31E6-AC3B-68B815025221> '/usr/local/Cellar/openssl@3/3.2.1/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.2.1/lib/libcrypto.3.dylib' (code signature in <FB50028F-D06B-31E6-AC3B-68B815025221> '/usr/local/Cellar/openssl@3/3.2.1/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.2.1/lib/libcrypto.3.dylib' (no such file), '/usr/local/Cellar/openssl@3/3.2.1/lib/libcrypto.3.dylib' (code signature in <FB50028F-D06B-31E6-AC3B-68B815025221> '/usr/local/Cellar/openssl@3/3.2.1/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.) calibre 7.26 embedded-python: True
macOS-14.3.1-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '23.3.0', 'Darwin Kernel Version 23.3.0: Wed Dec 20 21:28:58 PST 2023; root:xnu-10002.81.5~7/RELEASE_X86_64')
Python 3.11.5
OSX: ('14.3.1', ('', '', ''), 'x86_64')
Interface language: None
EXE path: /Applications/calibre.app/Contents/MacOS/calibre
Successfully initialized third party plugins: DeDRM (10, 0, 2)
Traceback (most recent call last):
File "calibre/gui2/preferences/plugins.py", line 298, in customize_plugin
File "calibre/gui2/preferences/plugins.py", line 375, in modify_plugin
File "calibre/customize/init.py", line 160, in do_user_config
File "calibre_plugins.dedrm.init", line 911, in config_widget
import calibre_plugins.dedrm.config as config
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "calibre/customize/zipplugin.py", line 210, in exec_module
File "calibre_plugins.dedrm.config", line 28, in
from calibre_plugins.dedrm.utilities import uStrCmp
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "calibre/customize/zipplugin.py", line 210, in exec_module
File "calibre_plugins.dedrm.utilities", line 4, in
from calibre_plugins.dedrm.ignoblekeygen import generate_key
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "calibre/customize/zipplugin.py", line 210, in exec_module
File "calibre_plugins.dedrm.ignoblekeygen", line 196, in
AES = _load_crypto()
^^^^^^^^^^^^^^
File "calibre_plugins.dedrm.ignoblekeygen", line 190, in _load_crypto
AES = loader()
^^^^^^^^
File "calibre_plugins.dedrm.ignoblekeygen", line 129, in _load_crypto_libcrypto
libcrypto = CDLL(libcrypto)
^^^^^^^^^^^^^^^
File "ctypes/init.py", line 376, in init
OSError: dlopen(/usr/local/lib/libcrypto.dylib, 0x0006): tried: '/usr/local/lib/libcrypto.dylib' (code signature in '/usr/local/Cellar/openssl@3/3.2.1/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 '/usr/local/Cellar/openssl@3/3.2.1/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.2.1/lib/libcrypto.3.dylib' (code signature in '/usr/local/Cellar/openssl@3/3.2.1/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.2.1/lib/libcrypto.3.dylib' (no such file), '/usr/local/Cellar/openssl@3/3.2.1/lib/libcrypto.3.dylib' (code signature in '/usr/local/Cellar/openssl@3/3.2.1/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.

Any help would be appreciated.

Thanks in advance!

@ElleKayEm
Copy link

Try DeDRM 10.0.9: https://github.com/noDRM/DeDRM_tools/releases/tag/v10.0.9

@ChristopherHale
Copy link

Using that version fixed the crash for me too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants