View Single Post
Old 12-26-2019, 10:02 PM   #686
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 hoyz View Post
Due to a "CorruptError: database disk image is malformed" I had my Kobo Aura H2O build a new KoboReader.sqlite. Now I want to import the annotations to Calibre but the plugin only imports the annotations of the books I have already opened with the new database. I have >100 books with annotations, so is there a workaround to opening them all?
The annotations come from the database. If the database has been replaced, then there will be no annotations for sideloaded books in the database. For purchased books, any annotations that were synced to the Kobo server should be synced back to the device.

If you are reading epubs or PDFs, the annotations are stored in a second location. This is done by the RMSDK. When you open an epub, the firmware merges the RMSDK version of the annotations with the database version. If there are no annotations in the database, the RMDSK versions are added to the database complete. This is only done when opening the book.

What this means is that if you are reading epubs or PDFs, you can open any that should have annotations from before, and the annotations should be visible to the plugin the next time you try it.

Note: After typing the above, I went to check something about this. There might have been a change to this in recent firmware versions. On the device I checked running 4.19.x, there were no RMSDK annotation files. It has been a while since I checked this, so I don't know what has changed, or exactly when it happened.
davidfor is offline   Reply With Quote