Hey @davidfor, thanks for all the effort you've put in this :-)
I've been having the following issue with this plugin lately and I don't know if there's something I can do from my end to fix it.
I'm on Calibre 3.48, with the 1.10.0 version of the plugin and a Kobo Forma on 4.18.13737.
The Import Annotations screen appears normally (the one where you see a list of all the books with the number of annotations for each and you can selectively preview for each book).
Unfortunately, during the next step (after pressing the Import Annotations button) the process starts but fails while importing, with the following message:
Code:
calibre, version 3.48.0
Error fetching annotations: Unable to fetch annotations from Kobo Forma.
Traceback (most recent call last):
File "calibre_plugins.annotations.action", line 311, in fetch_device_annotations
File "calibre_plugins.annotations.action", line 1052, in process_selected_books
File "calibre_plugins.annotations.action", line 160, in add_annotations_to_calibre
File "calibre_plugins.annotations.annotations", line 297, in merge_annotations
UnboundLocalError: local variable 'regurgitated_soup' referenced before assignment
I've enabled the "Enable debug" option but I don't know where the log is kept to see whether there's any additional helpful information.
Do you have any idea what could be breaking so I could try to fix it?
Thanks in advance!