Quote:
Originally Posted by Leseratte_10
While that's generally a good idea, it won't help with this particular issue. This issue is because the oscrypto bundled with 0.0.16 of the plugin is too old for newer Linux versions like Mint 22.
You'll need to download a newer beta version from Github like this one.
|
Thanks for looking at this, much shorter message this time but still not working?
"no top-level_init_py file"
calibre, version 7.6.0
ERROR: Unhandled exception: <b>InvalidPlugin</b>:The plugin in '/home/john/Downloads/calibre-plugins(1).zip' is invalid. It does not contain a top-level __init__.py file
calibre 7.6 embedded-python: False
Linux-6.8.0-38-generic-x86_64-with-glibc2.39 Linux ('64bit', 'ELF')
('Linux', '6.8.0-38-generic', '#38-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 7 15:25:01 UTC 2024')
Python 3.12.3
Interface language: None
EXE path: /usr/bin/python3.12
Successfully initialized third party plugins: DeDRM (7, 2, 1)
Traceback (most recent call last):
File "/usr/lib/calibre/calibre/gui2/preferences/plugins.py", line 325, in add_plugin
plugin = add_plugin(path)
^^^^^^^^^^^^^^^^
File "/usr/lib/calibre/calibre/customize/ui.py", line 513, in add_plugin
plugin = load_plugin(path_to_zip_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/calibre/calibre/customize/ui.py", line 64, in load_plugin
return loader.load(path_to_zip_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/calibre/calibre/customize/zipplugin.py", line 299, in load
plugin_name = self._locate_code(zf, path_to_zip_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/calibre/calibre/customize/zipplugin.py", line 394, in _locate_code
raise InvalidPlugin(('The plugin in %r is invalid. It does not '
calibre.customize.InvalidPlugin: The plugin in '/home/john/Downloads/calibre-plugins(1).zip' is invalid. It does not contain a top-level __init__.py file