DeDRM failed to load
My batch files using the command line interface won't work as of Calibre 5.0 update. Message is "Failed to load DeDRM.zip....." . Updated to Calibre 5.1 and still does not work. My DeDrm plugin is somewhat old so I downloaded the newest one but Calibre fails while trying to install it (log below). I see a sticky post about DeDRM not working anymore and having to use Calibre portable but it has always worked fine for me up until Calibre 5.0.
Please advise.
Log file from DeDRM plugin install attempt:
calibre, version 5.0.1
ERROR: Unhandled exception: <b>SyntaxError</b>:invalid syntax (calibre_plugins.dedrm.__init__, line 168)
calibre 5.0.1 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.18362-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.18362')
Python 3.8.5
Windows: ('10', '10.0.18362', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: EpubSplit (2, 9, 0) && Find Duplicates (1, 7, 2) && Generate Cover (1, 5, 25) && Goodreads (1, 5, 0) && Overdrive Link (2, 41, 0) && View Manager (1, 5, 7) && Overdrive Link* (2, 41, 0)
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 200, in load
File "site-packages\polyglot\builtins.py", line 123, in reload
File "importlib\__init__.py", line 169, in reload
File "<frozen importlib._bootstrap>", line 602, in _exec
File "site-packages\calibre\customize\zipplugin.py", line 179, in load_module
File "calibre_plugins.dedrm.__init__", line 168
print u"{0} v{1}: Copying needed library files from plugin's zip".format(PLUGIN_NAME, PLUGIN_VERSION)
^
SyntaxError: invalid syntax
|