View Single Post
Old 09-13-2025, 08:39 PM   #1218
kuttan
Junior Member
kuttan began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Sep 2025
Device: Kobo
TypeError 'str' object is not callable error when getting annotation

Dear all

I am the below error when i installed the annotation plugin in Calibre and get annotation.

I have setup new filed in calibre for pulling annotations. I have connected Kobo Libre Color. Please suggest.

Thank you.

Code:
calibre, version 8.10.0
ERROR: Unhandled exception: <b>TypeError</b>:'str' object is not callable

calibre 8.10  embedded-python: True
Linux-6.15.1-surface-2-x86_64-with-glibc2.36 Linux ('64bit', 'ELF')
('Linux', '6.15.1-surface-2', '#2 SMP PREEMPT_DYNAMIC Tue Jun 24 21:02:07 UTC 2025')
Python 3.11.12
Interface language: None
EXE path: /opt/calibre/bin/calibre
Successfully initialized third party plugins: Annotations (1, 17, 13) && Kobo Utilities (2, 24, 3)
Traceback (most recent call last):
  File "calibre_plugins.annotations.action", line 363, in fetch_usb_connected_device_annotations
    self.fetch_usb_device_annotations(self.get_connected_device_primary_name())
  File "calibre_plugins.annotations.action", line 407, in fetch_usb_device_annotations
    annotated_book_list = self.get_annotated_books_on_usb_device(reader_app)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "calibre_plugins.annotations.action", line 624, in get_annotated_books_on_usb_device
    ra.get_active_annotations()
  File "/tmp/calibre-zng_zxr5/calibre_annotations_plugin/KoboTouch.py", line 72, in get_active_annotations
  File "/tmp/calibre-zng_zxr5/calibre_annotations_plugin/KoboTouch.py", line 378, in _fetch_annotations
TypeError: 'str' object is not callable
kuttan is offline   Reply With Quote