Using calibre 299.9 Linux mint 18.1, Firefox 53.0.3 64 bit Linux and Firefox for Android following error on this book
In Times Like These: A Time Travel Adventure--currently free on Amazon.
Code:
Failed to prepare book for reading
Could not open In Times Like These. There was an error processing the book, click "Show details" for more information
Traceback (most recent call last):
File "site-packages/calibre/utils/ipc/simple_worker.py", line 286, in main
File "site-packages/calibre/srv/render_book.py", line 511, in render
File "site-packages/calibre/srv/render_book.py", line 210, in __init__
File "site-packages/calibre/srv/render_book.py", line 345, in virtualize_resources
File "site-packages/calibre/ebooks/oeb/base.py", line 224, in rewrite_links
File "site-packages/calibre/srv/render_book.py", line 326, in link_replacer
AttributeError: 'bool' object has no attribute 'add'
This error happens on both azw3 and epub. The cause is that the book has images with a file extension of .svg. Delete the .svg images and it reads normally.
bernie