I just started working on a plugin for calibre using version 0.7.57 on linux and I am having trouble adding new plugins. I can add the ones I find in this forum, but that is all. Even the plugins Ive downloaded from the tutorial
here do not work. What makes things stranger is that I can take one of the plugins from here that works, extract it, and rezip it, and it no longer works.
When I try to add a plugin in Preferences I get the following error:
Quote:
calibre, version 0.7.57
ERROR: Unhandled exception: <b>InvalidPlugin</b>:The plugin in u'/home/steve/Downloads/Quality Check.zip' is invalid. It does not contain a top-level __init__.py file
Traceback (most recent call last):
File "site-packages/calibre/gui2/preferences/plugins.py", line 283, in add_plugin
File "site-packages/calibre/customize/ui.py", line 362, in add_plugin
File "site-packages/calibre/customize/ui.py", line 55, in load_plugin
File "site-packages/calibre/customize/zipplugin.py", line 160, in load
File "site-packages/calibre/customize/zipplugin.py", line 255, in _locate_code
InvalidPlugin: The plugin in u'/home/steve/Downloads/Quality Check.zip' is invalid. It does not contain a top-level __init__.py file
|
I get that top-level __init__.py error no matter what I do.
Any ideas?