View Single Post
Old 03-05-2017, 04:28 AM   #289
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 TGSET View Post
Hi. Sorry to be so lame that I introduce myself with a question. I recently had a badly corrupted kobo database and had to wipe it then restore from a year old backup. Reinstalling the usual plugins worked better than before now that I have some idea of what's going on.
Sorry, I don't know what these have to do with each other. A corrupt database on the Kobo device, doesn't affect calibre. Nothing should be removed or reinstalled. Or did you mean a calibre database?
Quote:
The exception is the annotation plugin (1.4.11). It can fetches and displays annotations from the device but fails when I try to import. And it flat out crashes Calibre when I try to customize the plugin. The import error:
Traceback (most recent call last):
File "calibre_plugins.annotations.action", line 289, in fetch_device_annotations
File "calibre_plugins.annotations.action", line 994, in process_selected_books
File "calibre_plugins.annotations.action", line 141, in add_annotations_to_calibre
TypeError: 'NoneType' object has no attribute '__getitem__'

Any idea? Did I miss a thread in my search? Suggestions will be appreciated! Many thanks to all Calibre/Plugin contributors - you're the best.
That means there is a problem with the plugins configuration. Either you haven't configured the column for it to store the annotations, or the column doesn't exist. It's more likely the latter. If you configure the plugin to use a column and then remove the column, you will get this error. It's something on my bug list, but I haven't gotten around to fixing it.
davidfor is offline   Reply With Quote