Skip to content
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

Can't install the Output part. #12

Open
brak265 opened this issue Dec 21, 2021 · 2 comments
Open

Can't install the Output part. #12

brak265 opened this issue Dec 21, 2021 · 2 comments

Comments

@brak265
Copy link

brak265 commented Dec 21, 2021

I can't seem to get the output plugin to work. I unzipped the file, put the kindlegen in the folder, rezipped it, and then I get this error when trying to install:

calibre, version 5.34.0
ERROR: Unhandled exception: InvalidPlugin:The plugin in '/Users/0000000000/Downloads/calibre_kindle_comics/Kindle Comics Output.zip' is invalid. It does not contain a top-level init.py file

calibre 5.34 embedded-python: True is64bit: True
macOS-10.16-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '21.1.0', 'Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:24 PDT 2021; root:xnu-8019.41.5~1/RELEASE_ARM64_T8101')
Python 3.8.5
OSX: ('10.16', ('', '', ''), 'x86_64')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 46, 0) && DeDRM (7, 2, 1) && Package KFX (from KFX Input) (1, 46, 0) && EpubMerge (2, 11, 0) && KFX metadata reader (from KFX Input) (1, 46, 0) && KFX Input (1, 46, 0) && Set KFX metadata (from KFX Output) (1, 58, 0) && KFX Output (1, 58, 0) && Quality Check (1, 11, 4) && Kindle Comics Input (0, 0, 2)
Traceback (most recent call last):
File "calibre/gui2/preferences/plugins.py", line 327, in add_plugin
File "calibre/customize/ui.py", line 476, in add_plugin
File "calibre/customize/ui.py", line 64, in load_plugin
File "calibre/customize/zipplugin.py", line 284, in load
File "calibre/customize/zipplugin.py", line 379, in _locate_code
calibre.customize.InvalidPlugin: The plugin in '/Users/0000000000/Downloads/calibre_kindle_comics/Kindle Comics Output.zip' is invalid. It does not contain a top-level init.py file

@LarsOlt
Copy link

LarsOlt commented Jan 23, 2022

Make sure the files are at the top level of the zip and not in a folder.

@rahulonmars
Copy link

same error..unable to install.. init.py is present in the zip and not inside any folder.. still doesn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants