View Single Post
Old 08-27-2025, 04:29 PM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,031
Karma: 147977995
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Arisia View Post
Ubuntu 22.04 with latest updates and patches
Calibre 8.9.0

Some (not all) ePub files in my library are producing the following errors when opened with E-Book Viewer:

Failed to open book at /media/<elided>/eBooks/eBooks/Robert Silverberg/Fantasy - the Best of 2001 (9777)/Fantasy - the Best of 2001 - Robert Silverberg.epub. Click "Show Details" for more info.

Show details yields:

calibre, version 8.9.0
ERROR: Loading book failed: Failed to open the book at /media/<elided>/eBooks/eBooks/Robert Silverberg/Fantasy - the Best of 2001 (9777)/Fantasy - the Best of 2001 - Robert Silverberg.epub. Click "Show details" for more info.

Failed to convert book: /media/<elided>/eBooks/eBooks/Robert Silverberg/Fantasy - the Best of 2001 (9777)/Fantasy - the Best of 2001 - Robert Silverberg.epub with error:
DeDRM v10.0.9: Trying to decrypt Fantasy - the Best of 2001 - Robert Silverberg.epub
DeDRM v10.0.9: Verifying zip archive integrity
DeDRM v10.0.9: Post-processing took 0.0 seconds
DeDRM v10.0.9: Finished after 0.4 seconds
InputFormatPlugin: EPUB Input running
on /tmp/calibre-l8elmsrk/a0ivjmem.epub
Failed to run pipe worker with command: from calibre.srv.render_book import viewer_main; viewer_main()
Traceback (most recent call last):
File "runpy.py", line 198, in _run_module_as_main
File "runpy.py", line 88, in _run_code
File "site.py", line 47, in <module>
File "site.py", line 43, in main
File "calibre/utils/ipc/worker.py", line 194, in main
File "<string>", line 1, in <module>
File "calibre/srv/render_book.py", line 847, in viewer_main
File "calibre/srv/render_book.py", line 838, in render_for_viewer
File "calibre/srv/render_book.py", line 816, in render
File "calibre/srv/render_book.py", line 618, in process_exploded_book
calibre.srv.render_book.Spineless: Book is empty, no content in spine

The book mentioned above opens in Moon Reader Pro on an android device without problem or complaint. I can also edit the book in Calibre and see the underlying image and HTML files, and view them there without problems.

This same general error happens for multiple (at least 20 of the 30 that I tried) ePub files in my library. These files have been in my library for a long time (since at least version 6.x). Ideas on what might be causing this? If a copy of the ePub is needed to check, I can supply one (but obviously I didn't want to post it here).
Install the epubcheck plugin (for the editor) and use that and the built-in error checker to check what's wrong with your eBooks.
JSWolf is offline   Reply With Quote