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

DeDRM_tools_6.8.0.zip' is invalid. It does not contain a top-level __init__.py file #1250

Open
stanhirose opened this issue Sep 27, 2020 · 1 comment

Comments

@stanhirose
Copy link

I tried loading version 6.8 of DeDRM_tools_6.8.0.zip and got the error below. I am using version 5.0 of Calibre on Windows 10 home ver. 2004.

Is there an update for version 6.8?

Stan

calibre, version 5.0.0
ERROR: Unhandled exception: InvalidPlugin:The plugin in 'C:\Users\stanh\Downloads\DeDRM_tools_6.8.0.zip' is invalid. It does not contain a top-level init.py file

calibre 5.0 embedded-python: True is64bit: False
Windows-10-10.0.19041-SP0 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins:
Traceback (most recent call last):
File "site-packages\calibre\gui2\preferences\plugins.py", line 317, in add_plugin
File "site-packages\calibre\customize\ui.py", line 472, in add_plugin
File "site-packages\calibre\customize\ui.py", line 61, in load_plugin
File "site-packages\calibre\customize\zipplugin.py", line 193, in load
File "site-packages\calibre\customize\zipplugin.py", line 289, in _locate_code
calibre.customize.InvalidPlugin: The plugin in 'C:\Users\stanh\Downloads\DeDRM_tools_6.8.0.zip' is invalid. It does not contain a top-level init.py file

@ElleKayEm
Copy link

First, DeDRM is not compatible with calibre 5 yet. So you will need the previous version 4.23 of calibre. Second, you're trying to load the whole archive. Unzip DeDRM_tools_6.8.0.zip and load DeDRM_Plugin.zip.

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

2 participants