ERROR: Unhandled exception: <b>SyntaxError #216
Replies: 3 comments 4 replies
-
Be sure to use DeDRM 10.0.3 with calibre 6.x. |
Beta Was this translation helpful? Give feedback.
-
Hmm...those syntax errors make it seem like it's still trying to initialize an older incompatible version of DeDRM. Try removing any currently loaded DeDRM. Restart calibre and load the new version. Then restart calibre again and look at the loaded plugins to make sure it's 10.0.3. |
Beta Was this translation helpful? Give feedback.
-
Thanks for you help. I was able to add the plug in successfully. Now my problem is I tried to add a azw file, but conversion failed. I also added the serial number for my old e-ink device to customization. Here is the error message: calibre, version 6.9.0 Failed to convert: B000OCXJQG EBOK This is an Amazon KFX book. It cannot be processed. See here for information on how to handle KFX books. During handling of the above exception, another exception occurred: Traceback (most recent call last): Convert book 1 of 1 (B000OCXJQG EBOK) During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm getting the following error message when uploading latest plugins on Macbook/Ventura. Last version of plugins is 6.0.8, and using Calibre 6.9. I am lost, and have no clue how to fix this issue.
Here is the error message received:
ERROR: Unhandled exception: SyntaxError:multiple exception types must be parenthesized (calibre_plugins.dedrm.init, line 131)
calibre 6.9 embedded-python: True
macOS-13.0.1-arm64-arm-64bit Darwin ('64bit', '')
('Darwin', '22.1.0', 'Darwin Kernel Version 22.1.0: Sun Oct 9 20:14:30 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T8103')
Python 3.10.1
OSX: ('13.0.1', ('', '', ''), 'arm64')
Interface language: None
Successfully initialized third party plugins:
Traceback (most recent call last):
File "calibre/gui2/preferences/plugins.py", line 325, in add_plugin
File "calibre/customize/ui.py", line 479, in add_plugin
File "calibre/customize/ui.py", line 64, in load_plugin
File "calibre/customize/zipplugin.py", line 307, in load
File "importlib/init.py", line 126, in import_module
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "calibre/customize/zipplugin.py", line 199, in exec_module
File "calibre/customize/zipplugin.py", line 195, in get_code
File "calibre_plugins.dedrm.init", line 131
except Exception, e:
^^^^^^^^^^^^
SyntaxError: multiple exception types must be parenthesized
And from debug mode:
Failed to initialize plugin: ‘/Users/__________/Library/Preferences/calibre/plugins/DeDRM.zip’
Traceback (most recent call last):
File "calibre/customize/ui.py", line 743, in initialize_plugins
File "calibre/customize/ui.py", line 64, in load_plugin
File "calibre/customize/zipplugin.py", line 307, in load
File "importlib/init.py", line 126, in import_module
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "calibre/customize/zipplugin.py", line 199, in exec_module
File "calibre/customize/zipplugin.py", line 195, in get_code
File "calibre_plugins.dedrm.init", line 131
except Exception, e:
^^^^^^^^^^^^
SyntaxError: multiple exception types must be parenthesized
Using calibre Qt style: True
calibre Debug log
calibre 6.9 embedded-python: True
macOS-13.0.1-arm64-arm-64bit Darwin ('64bit', '')
('Darwin', '22.1.0', 'Darwin Kernel Version 22.1.0: Sun Oct 9 20:14:30 PDT 2022; root:xnu-8792.41.9
2/RELEASE_ARM64_T8103')2/RELEASE_ARM64_T8103')Python 3.10.1
OSX: ('13.0.1', ('', '', ''), 'arm64')
Interface language: None
Successfully initialized third party plugins:
calibre 6.9 embedded-python: True
macOS-13.0.1-arm64-arm-64bit Darwin ('64bit', '')
('Darwin', '22.1.0', 'Darwin Kernel Version 22.1.0: Sun Oct 9 20:14:30 PDT 2022; root:xnu-8792.41.9
Python 3.10.1
OSX: ('13.0.1', ('', '', ''), 'arm64')
Interface language: None
Successfully initialized third party plugins:
QPA platform: cocoa
devicePixelRatio: 2.0
logicalDpi: 72.0 x 72.0
physicalDpi: 127.50000191485789 x 127.50000191485789
[0.00] Starting up...
[0.05] Showing splash screen...
[0.18] splash screen shown
[0.18] Initializing db...
[0.22] db initialized
[0.22] Constructing main UI...
Beta Was this translation helpful? Give feedback.
All reactions