View Single Post
Old 06-24-2022, 03:23 AM   #1068
cedm
Junior Member
cedm began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2022
Device: Kobo Libra 2
Quote:
Originally Posted by davidfor View Post
The fix for what @cedm reported should have been in version 1.17.0 of the plugin. Can you actually post the details of the error so that we can see if it is actually the same. Or try installing the beta posted during the last few days. That does have a fix for a problem that would only be seen on Linux, but, it is not the error reported 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'
cedm is offline   Reply With Quote