Quote:
Originally Posted by cedm
Here is the message I have when I launch the "Customize plugin" option from the menu. The plugin seems to be the version 1.17.0. In the meantime, I give a try to the beta version and I let you know if there is an other behaviour.
Code:
calibre, version 5.42.0
ERROR: Unhandled exception: <b>AttributeError</b>:module 'collections' has no attribute 'Callable'
calibre 5.42 embedded-python: False is64bit: True
Linux-5.18.5-200.fc36.x86_64-x86_64-with-glibc2.35 Linux ('64bit', 'ELF')
('Linux', '5.18.5-200.fc36.x86_64', '#1 SMP PREEMPT_DYNAMIC Thu Jun 16 14:51:11 UTC 2022')
Python 3.10.5
Interface language: None
Successfully initialized third party plugins: Annotations (1, 17, 0)
Traceback (most recent call last):
File "calibre_plugins.annotations.action", line 1343, in show_configuration
self.interface_action_base_plugin.do_user_config(self.gui)
File "/usr/lib64/calibre/calibre/customize/__init__.py", line 166, in do_user_config
config_widget = self.config_widget()
File "calibre_plugins.annotations.__init__", line 28, in config_widget
self.cw = ConfigWidget(self.actual_plugin_)
File "calibre_plugins.annotations.config", line 197, in __init__
restore_state(self)
File "calibre_plugins.annotations.common_utils", line 1189, in restore_state
if isinstance(setter_ref, collections.Callable):
AttributeError: module 'collections' has no attribute 'Callable'
|
OK. The change I was thinking of was not in version 1.17.0 of the plugin. It is in the beta I put up earlier in the week. It is in the post immediately before yours. Please try that and tell me how it goes. I am intending to release this over the weekend, but, I have been waiting for comments on whether it fixes the reported problems.