View Single Post
Old 11-08-2014, 07:48 AM   #102
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 Sunlite View Post
I just tried to fetch annotations from a book on my Aura.
I got an error, that the format string was invalid.

See error log running Calibre 2.8 in debug mode with Annotation plug in version 1.4.3:

Spoiler:
calibre Debug log
calibre 2.8 Portable isfrozen: True is64bit: False
Windows-8-6.2.9200 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '8', '6.2.9200')



32bit process running on 64bit windows
('Windows', '8', '6.2.9200')
Python 2.7.8
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Successfully initialized third party plugins: DeDRM && EpubMerge && Goodreads && Diaps Editing Toolbag && Reading List && Count Pages && Modify ePub && Kobo Utilities && Annotations && KindleUnpack - The Plugin && KePub Output && KoboTouchExtended && Open With && FanFictionDownLoader && EpubSplit && User Category && Generate Cover && Quality Check && Import List
Traceback (most recent call last):
File "calibre_plugins.annotations.action", line 334, in fetch_usb_device_annotations
File "calibre_plugins.annotations.action", line 270, in fetch_device_annotations
File "calibre_plugins.annotations.annotated_books", line 201, in __init__
ValueError: Invalid format string

DEBUG: 43.0 AnnotationsAction:shutting_down()


Anything I can do to get annotations working?
Firstly my apologies for not replying before. I should have at least acknowledged the post and when I would be looking at it. Thank you for the polite PM to remind me.

The line in error is handling the timestamp format. This is set as part of the configuration. It looks like this has been changed and is not valid. To fix this, open the plugins configuration and press the "Modify Appearance" button. This allows you to change what the saved annotations look like. The bottom field is the timestamp format. The default is "%c" and can be restored by pressing the button next to the filed. If you press the question mark button on the right, it shows the format options with examples. You can use a combination of these. For example, "%F %X" will show "14/08/2014 14:57:43". Fixing this should fix the problem.
davidfor is offline   Reply With Quote