Quote:
Originally Posted by ersesedi
I have the 1.4.3 plugin. And it used to work fine. Now with the 2.5 and 2.4 version of calibre I get the following error and I can't extract the annotations anymore.
calibre, version 2.5.0
ERROR: Unhandled exception: <b>MobiError</b>:Unknown book type:
calibre 2.5 isfrozen: True is64bit: False
Linux-3.16.3-gnu.pae-i686-with-debian-wheezy-sid Linux ('32bit', 'ELF')
('Linux', '3.16.3-gnu.pae', '#1 SMP Wed Sep 17 19:44:57 UTC 2014')
Python 2.7.8
Linux: ('debian', 'wheezy/sid', '')
Successfully initialized third party plugins: Reading List && Recipe Reader && BigOven Recipe Reader && Save To Format && Quality Check && all recipes Recipe Reader && Modify ePub && Generate Cover && Annotations && Kindle Collections && food network Recipe Reader && Find Duplicates && Extract ISBN && Wiki Reader && Resize Cover && Goodreads
Traceback (most recent call last):
File "calibre_plugins.annotations.action", line 333, in fetch_usb_device_annotations
File "calibre_plugins.annotations.action", line 522, in get_annotated_books_on_usb_device
File "/tmp/calibre_annotations_plugin/Kindle.py", line 168, in get_installed_books
File "/tmp/calibre_annotations_plugin/Kindle.py", line 264, in _get_metadata
File "site-packages/calibre/ebooks/metadata/mobi.py", line 493, in get_metadata
File "site-packages/calibre/ebooks/mobi/reader/headers.py", line 273, in __init__
File "site-packages/calibre/ebooks/mobi/reader/headers.py", line 301, in identity
MobiError: Unknown book type:
I don't know what Unknown book type. It's a .mobi file that works find on the reader.
|
At the point the code is failing, it should be looking at all books on the device. Do you have something in your calibre library that is on the device and isn't a MOBI or AZW3?
I can't see any changes in recent versions of calibre that would cause this. Could you turn the deubugging on in the plugin configuration, run calibre in debug mode and try to fetch the annotations? Then post the log produced.
And the link in the help will be fixed in the next update. Thanks for spotting that.