I've previously used this plugin with Ubuntu. I'm giving Fedora 39 a try and get an error while installing. I've tried the 0.0.16 and 0.0.16-bugfix versions. It looks like a similar error with the Crypto library that was fixed previously for Fedora. Anybody using Fedora 39 with this plugin?
Code:
calibre, version 7.3.0
ERROR: Unhandled exception: <b>InvalidPlugin</b>:Initialization of plugin Traceback (most recent call last):
File "/home/me/Downloads/ACSMInput_0.0.16-bugfix.zip/libadobe.py", line 23, in <module>
from Cryptodome import Random
File "/usr/lib64/calibre/calibre/constants.py", line 214, in find_spec
return ModuleSpec(fullname, DeVendorLoader(fullname.replace('dome', '', 1)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/calibre/calibre/constants.py", line 183, in __init__
self.aliased_module = import_module(aliased_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'Crypto'
During handling of the above exception, another exception occurred:
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 226, in initialize
from libadobe import createDeviceKeyFile, update_account_path, sendHTTPRequest
File "/home/username/Downloads/ACSMInput_0.0.16-bugfix.zip/libadobe.py", line 29, in <module>
from Crypto import Random
ModuleNotFoundError: No module named 'Crypto'
failed with traceback:
Traceback (most recent call last):
File "/home/username/Downloads/ACSMInput_0.0.16-bugfix.zip/libadobe.py", line 23, in <module>
from Cryptodome import Random
File "/usr/lib64/calibre/calibre/constants.py", line 214, in find_spec
return ModuleSpec(fullname, DeVendorLoader(fullname.replace('dome', '', 1)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/calibre/calibre/constants.py", line 183, in __init__
self.aliased_module = import_module(aliased_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'Crypto'
During handling of the above exception, another exception occurred:
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 226, in initialize
from libadobe import createDeviceKeyFile, update_account_path, sendHTTPRequest
File "/home/username/Downloads/ACSMInput_0.0.16-bugfix.zip/libadobe.py", line 29, in <module>
from Crypto import Random
ModuleNotFoundError: No module named 'Crypto'
calibre 7.3 embedded-python: False
Linux-6.7.6-200.fc39.x86_64-x86_64-with-glibc2.38 Linux ('64bit', 'ELF')
('Linux', '6.7.6-200.fc39.x86_64', '#1 SMP PREEMPT_DYNAMIC Fri Feb 23 18:27:29 UTC 2024')
Python 3.12.2
Interface language: None
Traceback (most recent call last):
File "/home/username/Downloads/ACSMInput_0.0.16-bugfix.zip/libadobe.py", line 23, in <module>
from Cryptodome import Random
File "/usr/lib64/calibre/calibre/constants.py", line 214, in find_spec
return ModuleSpec(fullname, DeVendorLoader(fullname.replace('dome', '', 1)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/calibre/calibre/constants.py", line 183, in __init__
self.aliased_module = import_module(aliased_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'Crypto'
During handling of the above exception, another exception occurred:
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 226, in initialize
from libadobe import createDeviceKeyFile, update_account_path, sendHTTPRequest
File "/home/username/Downloads/ACSMInput_0.0.16-bugfix.zip/libadobe.py", line 29, in <module>
from Crypto import Random
ModuleNotFoundError: No module named 'Crypto'
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 "/home/username/Downloads/ACSMInput_0.0.16-bugfix.zip/libadobe.py", line 23, in <module>
from Cryptodome import Random
File "/usr/lib64/calibre/calibre/constants.py", line 214, in find_spec
return ModuleSpec(fullname, DeVendorLoader(fullname.replace('dome', '', 1)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/calibre/calibre/constants.py", line 183, in __init__
self.aliased_module = import_module(aliased_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'Crypto'
During handling of the above exception, another exception occurred:
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 226, in initialize
from libadobe import createDeviceKeyFile, update_account_path, sendHTTPRequest
File "/home/username/Downloads/ACSMInput_0.0.16-bugfix.zip/libadobe.py", line 29, in <module>
from Crypto import Random
ModuleNotFoundError: No module named 'Crypto'
failed with traceback:
Traceback (most recent call last):
File "/home/username/Downloads/ACSMInput_0.0.16-bugfix.zip/libadobe.py", line 23, in <module>
from Cryptodome import Random
File "/usr/lib64/calibre/calibre/constants.py", line 214, in find_spec
return ModuleSpec(fullname, DeVendorLoader(fullname.replace('dome', '', 1)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/calibre/calibre/constants.py", line 183, in __init__
self.aliased_module = import_module(aliased_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'Crypto'
During handling of the above exception, another exception occurred:
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 226, in initialize
from libadobe import createDeviceKeyFile, update_account_path, sendHTTPRequest
File "/home/username/Downloads/ACSMInput_0.0.16-bugfix.zip/libadobe.py", line 29, in <module>
from Crypto import Random
ModuleNotFoundError: No module named 'Crypto'