I have recently upgraded both calibre and firefox, so I'm not sure where the problem is.
If I try to open an epub file from firefox, by clicking on a link (any book in the MR library) and then selecting ebook-viewer as the application to open the file with, I get this error:
Code:
calibre, version 2.28.0
ERROR: Could not open ebook: [Errno 5] Input/output error
Traceback (most recent call last):
File "site-packages/calibre/gui2/viewer/main.py", line 37, in run
File "threading.py", line 763, in run
File "site-packages/calibre/ebooks/oeb/iterator/book.py", line 100, in __enter__
File "site-packages/calibre/customize/conversion.py", line 241, in __call__
File "site-packages/calibre/ebooks/conversion/plugins/epub_input.py", line 228, in convert
File "site-packages/calibre/ebooks/conversion/plugins/epub_input.py", line 105, in rationalize_cover
File "site-packages/calibre/utils/logging.py", line 162, in __call__
File "site-packages/calibre/utils/logging.py", line 154, in prints
File "site-packages/calibre/utils/logging.py", line 45, in prints
File "site-packages/calibre/__init__.py", line 227, in prints
IOError: [Errno 5] Input/output error
If I save the file instead, then I can open it with no problem. Also, this worked fine before the mentioned upgrades, and it works with other file types.