View Single Post
Old 10-29-2019, 08:59 AM   #656
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Kicweed View Post
I've PMed you the log, I hope it's helpful.
I can see the problem. It looks like the annotation has been edited in the library. In fact, it looks like the text in the annotation column was never put there by the plugin. Is this the case?

The code is looking for a div that wraps the annotation. It extracts them and merges them with the new annotations. In this case, it cannot find the old annotation as the div with the class "user_annotations" is missing.

This is fragile, and is even worse with calibre 4.x. The change in the HTML editor use is making a lot of changes to the code that will break the way the plugin updates the annotations. I'll have to look at it, but, at this point, I don't have an idea of what to do.
davidfor is offline   Reply With Quote