Hello!
I'm trying to use your plugin with my Paperwhite 1, but I have two problems that neither the latest beta resolves.
When I select the option to retrieve annotations from my kindle, the list of books installed on my Kindle appears correctly, but when I click the button to fetch the annotations, i get this error:
Code:
calibre, version 3.29.0
Errore recuperando le annotazioni: <p>Non sono in grado di recuperare annotazioni da Amazon Kindle.</p>
Traceback (most recent call last):
File "calibre_plugins.annotations.action", line 301, in fetch_device_annotations
File "calibre_plugins.annotations.action", line 1027, in process_selected_books
File "calibre_plugins.annotations.action", line 135, in add_annotations_to_calibre
File "calibre_plugins.annotations.annotations_db", line 180, in annotations_to_html
File "calibre_plugins.annotations.annotations", line 170, in to_HTML
UnboundLocalError: local variable 'text_style' referenced before assignment
Also, if I try to modify the aspect by clicking the proper button in the plugin settings window, I get this error:
Code:
calibre, version 3.29.0
ERRORE: Eccezione non gestita: <b>KeyError</b>:u'Testo'
calibre 3.29 Portable embedded-python: True is64bit: False
Windows-10-10.0.17134-SP0 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.17134')
Python 2.7.12+
Windows: ('10', '10.0.17134', 'SP0', u'Multiprocessor Free')
Interface language: it
Successfully initialized third party plugins: DeDRM (6, 1, 0) && Kindle Collections (1, 7, 20) && DOC Input (1, 0, 1) && Quality Check (1, 9, 11) && Annotations (1, 8, 2) && Generate Cover (1, 5, 21) && Save To Format (0, 0, 6)
Traceback (most recent call last):
File "calibre_plugins.annotations.config", line 325, in configure_appearance
File "calibre_plugins.annotations.appearance", line 496, in __init__
File "calibre_plugins.annotations.appearance", line 293, in initialize
File "calibre_plugins.annotations.appearance", line 346, in populate_table
File "calibre_plugins.annotations.appearance", line 353, in populate_table_row
KeyError: u'Testo'
Anything I can do to help you debug this?
Windows 10, Calibre 3.29 portable 64 bit.
Thanks!