![]() |
#1216 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Aug 2025
Device: Pocketbook PB634
|
![]()
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
Thanks |
![]() |
![]() |
![]() |
#1217 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 899
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
|
I think the clue is here:
UnboundLocalError: cannot access local variable 'finish' where it is not associated with a value This means that within the Annotations plugin (specifically in the plugin's PocketBook.py file), there is a variable called finish that the code attempts to use, but it was never defined in certain cases. |
![]() |
![]() |
Advert | |
|
![]() |
Tags |
sampleexportingapp |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 527 | 08-15-2025 01:36 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 05:42 AM |
[GUI Plugin] Annotations (closed) | GRiker | Plugins | 68 | 06-17-2014 06:11 AM |
[GUI Plugin] KiNotes | -axel- | Plugins | 0 | 07-14-2013 06:39 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |