View Single Post
Old 08-11-2025, 04:05 AM   #1216
benweasel
Junior Member
benweasel began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Aug 2025
Device: Pocketbook PB634
Question Pocketbook PB634 Annotations Fetching Error

Hi and thanks in advance for your time and patience.
I'm using a Pocketbook PB634 on Calibre 8.8 - I manage to load books with no issues at all but I'm unable to fetch annotations from the books. This is the error I get

Eccezione non gestita stands for "Unmanaged exception"

Code:
calibre, version 8.8.0
ERRORE: Eccezione non gestita: <b>UnboundLocalError</b>:cannot access local variable 'finish' where it is not associated with a value

calibre 8.8  embedded-python: True
macOS-15.5-arm64-arm-64bit Darwin ('64bit', '')
('Darwin', '24.5.0', 'Darwin Kernel Version 24.5.0: Tue Apr 22 19:54:26 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T8112')
Python 3.11.12
OSX: ('15.5', ('', '', ''), 'arm64')
Interface language: it
EXE path: /Applications/calibre.app/Contents/MacOS/calibre
Successfully initialized third party plugins: Annotations (1, 17, 13) && Find Duplicates (1, 10, 9) && Goodreads (1, 8, 3) && Goodreads Sync (1, 16, 11) && PocketBook Improved Device Interface (1, 0, 4) && Pocketbook Collections (1, 2, 6)
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 "/var/folders/q5/z79z5dzx1fl4b8fv0ws2z38r0000gn/C/calibre-p0rdivjv/calibre_annotations_plugin/PocketBook.py", line 62, in get_active_annotations
  File "/var/folders/q5/z79z5dzx1fl4b8fv0ws2z38r0000gn/C/calibre-p0rdivjv/calibre_annotations_plugin/PocketBook.py", line 344, in _fetch_annotations
  File "/var/folders/q5/z79z5dzx1fl4b8fv0ws2z38r0000gn/C/calibre-p0rdivjv/calibre_annotations_plugin/PocketBook.py", line 419, in _read_database_annotations
UnboundLocalError: cannot access local variable 'finish' where it is not associated with a value
Tried searching in the forum but no success so far. Any clues?

Thanks
benweasel is offline   Reply With Quote