Quote:
Originally Posted by davidfor
That looks like a Qt enum problem, but, the line number doesn't make sense. Line 436 is code working out what icon to use. The line that makes sense is on 471. Are you using the released version of the plugin?
|
Sorry about that. I use a modified version for dark mode compatibility.
Here is the real error on the released version:
Code:
Traceback (most recent call last):
File "calibre_plugins.annotations.action", line 324, in fetch_device_annotations
File "calibre_plugins.annotations.action", line 1177, in process_selected_books
File "calibre_plugins.annotations.common_utils", line 436, in __init__
AttributeError: type object 'QKeySequence' has no attribute 'Copy'
Actually, the line number is still 436 (only the other ones changed).
This is the 436 line code:
Code:
self.copy_action.setShortcuts(QKeySequence.Copy)