-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Error installing ACSM Input plugin (AttributeError: module 'calibre_plugins.deacsm.prefs' has no attribute 'DeACSM_Prefs') #79
Comments
I get the same error on OSX |
Same on linux |
A very similar error on OSX (Sonoma) + Calibre 7.6.0: it complains about
|
I had the same problem and it was related to the wrong openssl version installed by Homebrew on MacOS Sonoma
Found the solution here: https://www.mobileread.com/forums/showthread.php?t=341975&page=22 |
I get the same issue as above with MacOS:
This is from trying to install DeACSM_0.0.16.zip. Unlinking openssl 3.x.x and installing 1.x.x didn't help. |
also experiencing this issue on debian linux.
Tried it with the beta version linked in some other threads and got the same error. |
Had same error and this worked for me. Operating system Mac Which version of Calibre are you running? 7.22 Which version of the ACSM Input plugin are you running? 0.0.16 |
Bug description
When trying to install from the .zip generated by acsm-calibre-plugin-master/bundle_calibre_plugin.sh, I get the followign error, any help would be greatly appreciated:
calibre, version 7.3.0
ERROR: Unhandled exception: InvalidPlugin:Initialization of plugin Traceback (most recent call last):
File "/usr/lib64/calibre/calibre/customize/ui.py", line 710, in initialize_plugin
p.initialize()
File "calibre_plugins.deacsm.init", line 232, in initialize
deacsmprefs = prefs.DeACSM_Prefs()
^^^^^^^^^^^^^^^^^^
AttributeError: module 'calibre_plugins.deacsm.prefs' has no attribute 'DeACSM_Prefs'
failed with traceback:
Traceback (most recent call last):
File "/usr/lib64/calibre/calibre/customize/ui.py", line 710, in initialize_plugin
p.initialize()
File "calibre_plugins.deacsm.init", line 232, in initialize
deacsmprefs = prefs.DeACSM_Prefs()
^^^^^^^^^^^^^^^^^^
AttributeError: module 'calibre_plugins.deacsm.prefs' has no attribute 'DeACSM_Prefs'
calibre 7.3 embedded-python: False
Linux-6.7.0-204.fsync.fc39.x86_64-x86_64-with-glibc2.38 Linux ('64bit', 'ELF')
('Linux', '6.7.0-204.fsync.fc39.x86_64', '#1 SMP PREEMPT_DYNAMIC TKG Wed Jan 17 09:24:55 UTC 2024')
Python 3.12.1
Interface language: None
Successfully initialized third party plugins: DeDRM (10, 0, 3)
Traceback (most recent call last):
File "/usr/lib64/calibre/calibre/customize/ui.py", line 710, in initialize_plugin
p.initialize()
File "calibre_plugins.deacsm.init", line 232, in initialize
deacsmprefs = prefs.DeACSM_Prefs()
^^^^^^^^^^^^^^^^^^
AttributeError: module 'calibre_plugins.deacsm.prefs' has no attribute 'DeACSM_Prefs'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib64/calibre/calibre/gui2/preferences/plugins.py", line 324, in add_plugin
plugin = add_plugin(path)
^^^^^^^^^^^^^^^^
File "/usr/lib64/calibre/calibre/customize/ui.py", line 520, in add_plugin
plugin = initialize_plugin(plugin, path_to_zip_file, PluginInstallationType.EXTERNAL)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/calibre/calibre/customize/ui.py", line 715, in initialize_plugin
raise InvalidPlugin((_('Initialization of plugin %s failed with traceback:')
calibre.customize.InvalidPlugin: Initialization of plugin Traceback (most recent call last):
File "/usr/lib64/calibre/calibre/customize/ui.py", line 710, in initialize_plugin
p.initialize()
File "calibre_plugins.deacsm.init", line 232, in initialize
deacsmprefs = prefs.DeACSM_Prefs()
^^^^^^^^^^^^^^^^^^
AttributeError: module 'calibre_plugins.deacsm.prefs' has no attribute 'DeACSM_Prefs'
failed with traceback:
Traceback (most recent call last):
File "/usr/lib64/calibre/calibre/customize/ui.py", line 710, in initialize_plugin
p.initialize()
File "calibre_plugins.deacsm.init", line 232, in initialize
deacsmprefs = prefs.DeACSM_Prefs()
^^^^^^^^^^^^^^^^^^
AttributeError: module 'calibre_plugins.deacsm.prefs' has no attribute 'DeACSM_Prefs'
Operating system
Linux
Which version of Calibre are you running?
7.3
Which version of the ACSM Input plugin are you running?
0.1.0
Import type
No response
Further information
No response
The text was updated successfully, but these errors were encountered: