View Single Post
Old 06-04-2013, 08:42 AM   #15
nameless66
Junior Member
nameless66 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2013
Device: iPad
Unhappy Can't modify appearance nor import annotations

Hello all together,

I'm just testing this plugin and I got following errors:

My procedure was...
- Marvin for iPad export Annotations (send by e-Mail)
- Drag'n'drop *.MRV in the windows "Drag an exported Marvin annotations file (*.mrv, *.mrvi) to this window"
- Click Preview

Following error appears:
calibre, version 0.9.33
ERROR: Unhandled exception: <b>UnboundLocalError</b>:local variable 'ts_style' referenced before assignment

Traceback (most recent call last):
File "calibre_plugins.annotations.annotated_books", line 392, in show_annotated_books_dialog_clicked
File "calibre_plugins.annotations.annotated_books", line 376, in preview_annotations
File "calibre_plugins.annotations.action", line 521, in get_annotations_as_HTML
File "calibre_plugins.annotations.annotations_db", line 180, in annotations_to_html
File "calibre_plugins.annotations.annotations", line 140, in to_HTML
UnboundLocalError: local variable 'ts_style' referenced before assignment

-------------------------------------------

- Or when I click Import annotations, following error occurs:

Traceback (most recent call last):
File "calibre_plugins.annotations.action", line 866, in present_annotated_books
File "calibre_plugins.annotations.action", line 901, in process_selected_books
File "calibre_plugins.annotations.action", line 105, in add_annotations_to_calibre
File "calibre_plugins.annotations.annotations_db", line 180, in annotations_to_html
File "calibre_plugins.annotations.annotations", line 140, in to_HTML
UnboundLocalError: local variable 'ts_style' referenced before assignment

-------------------------------------------

Another error occurs when I click "Modify appearance" in Customize Annotations:

calibre, version 0.9.33
ERROR: Unhandled exception: <b>UnboundLocalError</b>:local variable 'ts_style' referenced before assignment

Traceback (most recent call last):
File "calibre_plugins.annotations.config", line 301, in configure_appearance
File "calibre_plugins.annotations.appearance", line 452, in __init__
File "calibre_plugins.annotations.appearance", line 264, in initialize
File "calibre_plugins.annotations.appearance", line 243, in css_edited
File "calibre_plugins.annotations.appearance", line 330, in preview_css
File "calibre_plugins.annotations.annotations", line 140, in to_HTML
UnboundLocalError: local variable 'ts_style' referenced before assignment

-------------------------------------------


I have just installed Calibre 0.9.33 + Annotations 1.1.2 (MAC-VERSION)
+ Apple iDevice interface 0.0.6

I've already tried
- install the plugin manual
- changed language of calibre (from German to English)

...nothing has helped

Please
nameless66 is offline