View Single Post
Old 11-25-2021, 07:45 PM   #1404
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,615
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
I am trying to update to the new version of the plugin from here... https://github.com/noDRM/DeDRM_tools/releases

But I receive this error. Does anybody know what the problem is?

Code:
calibre, version 5.32.0
ERROR: Unhandled exception: <b>InvalidPlugin</b>:The plugin in 'C:\\Users\\Office1\\Downloads\\DeDRM_tools_10.0.1.zip' is invalid. It does not contain a top-level __init__.py file

calibre 5.32  embedded-python: True is64bit: False
Windows-10-10.0.19041 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 45, 0) && DeDRM (7, 2, 1) && Package KFX (from KFX Input) (1, 45, 0) && EpubCheck (0, 2, 3) && KFX metadata reader (from KFX Input) (1, 45, 0) && KFX Input (1, 45, 0) && Set KFX metadata (from KFX Output) (1, 57, 0) && KFX Output (1, 57, 0) && Kindle Collections (1, 7, 29) && KindleUnpack - The Plugin (0, 83, 0) && Kobo Utilities (2, 14, 1) && Manage Series (1, 2, 11) && ScrambleEbook (0, 4, 5)
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 'C:\\Users\\Office1\\Downloads\\DeDRM_tools_10.0.1.zip' is invalid. It does not contain a top-level __init__.py file
Hmmm, just noticed I am running the 32 bit version of Calibre. Doesn't the install process automatically detect and install the correct version, or did I download the wrong version initially?
Karellen is offline