Unable to load plugin into Calibre 7.9
I am unable to load the Zip plug in into Calibre 7.9. I get an error message of libby-calibre-plugin-main.zip is invalid. It does not contain a top-level_init_.py file.
Has anyone else successfully loaded this plug in?
I'm using this plugin on 7.9, but it was installed before the update
Judging from the file name, you have downloaded the whole repo, which, although it contains everything you need, it also contains things you don't need and which calibre does not need or understand.
You are supposed to download the latest zip file from https://github.com/ping/libby-calibre-plugin/releases
If there are changes in the repo you want that have not been released then what you normally can do is :
- Extract everything from the libby-calibre-plugin-main.zip file.
- Browse to where the files have been extracted and switch into the calibre-plugin folder (so that one of the files that you can see is called
__init__.py) - Select all the files and folders and send them to a new zip file (the name of the resulting zip file does not matter).
- Use that zip file when Calibre asks you to "Load plugin from file."
This normally works, but as an English speaker, I am not sure how internalization affects this process.
If you are going to use the repo, I would suggest using https://github.com/spicefather/libby-calibre-plugin as that contains one bug fix that has affected me and a few others (see https://github.com/ping/libby-calibre-plugin/issues/20 or https://github.com/ping/libby-calibre-plugin/pull/17)