View Single Post
Old 10-15-2021, 08:12 PM   #468
Xari04
Junior Member
Xari04 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2021
Device: none
Hello, sorry if this doesn't belong here first of all. I'm having troubles installing the plugin on Calibre, saying there's no top level _init_.py file. I should mention though that when I download the zip folder, for some reason safari is immediately decompressing it into a regular folder so I tried compressing it into a zip file to instal it on Calibre.

Here's the full error:

calibre, version 5.29.0
ERROR: Unhandled exception: <b>InvalidPlugin</b>:The plugin in '/Users/diego/Downloads/KFX Input.zip' is invalid. It does not contain a top-level __init__.py file

calibre 5.29 embedded-python: True is64bit: True
macOS-10.16-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '20.6.0', 'Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:21 PDT 2021; root:xnu-7195.141.6~3/RELEASE_X86_64')
Python 3.8.5
OSX: ('10.16', ('', '', ''), 'x86_64')
Interface language: None
Successfully initialized third party plugins: DeDRM (7, 2, 1) && Obok DeDRM (7, 2, 1)
Traceback (most recent call last):
File "calibre/gui2/preferences/plugins.py", line 327, in add_plugin
File "calibre/customize/ui.py", line 477, in add_plugin
File "calibre/customize/ui.py", line 65, 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/diego/Downloads/KFX Input.zip' is invalid. It does not contain a top-level __init__.py file
Xari04 is offline   Reply With Quote