Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Viewer

Notices

Reply
 
Thread Tools Search this Thread
Old 10-24-2023, 12:05 AM   #1
aldsjf(*&12
Junior Member
aldsjf(*&12 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2023
Device: None
Viewer error on HTMLZ files

Hi,

I recently upgraded from Ubuntu 20.04 to 22.04 and reinstalled Calibre. Since then the e-book viewer gives this error when I try to open HTMLZ files:

Code:
calibre, version 6.26.0
ERROR: Loading book failed: Failed to open the book at [...PATH TO FILE...]. Click "Show details" for more info.

Failed to convert book: [...PATH TO FILE...] with error:
InputFormatPlugin: HTLZ Input running
on [...PATH TO FILE...]
Multiple HTML files found in the archive. Only index.html will be used.
Language not specified
Creator not specified
Building file list...
Normalizing filename cases
Rewriting HTML links
Forcing index1.html into XHTML namespace
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 196, in _run_module_as_main
  File "runpy.py", line 86, in _run_code
  File "site.py", line 47, in <module>
  File "site.py", line 43, in main
  File "calibre/utils/ipc/worker.py", line 196, in main
  File "<string>", line 1, in <module>
  File "calibre/srv/render_book.py", line 830, in viewer_main
  File "calibre/srv/render_book.py", line 821, in render_for_viewer
  File "calibre/srv/render_book.py", line 799, in render
  File "calibre/srv/render_book.py", line 612, in process_exploded_book
  File "calibre/srv/render_book.py", line 274, in create_cover_page
  File "calibre/ebooks/oeb/polish/container.py", line 956, in generate_item
IndexError: list index out of range
Before the upgrade, HTMLZ files opened without problems. Any ideas how to fix this/any workarounds? I want to use HTMLZ because it can smooth-scroll (rather than jump) over chapter boundaries. Thanks.
aldsjf(*&12 is offline   Reply With Quote
Old 10-24-2023, 01:02 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Open a bug report and attach one of these failing files.
kovidgoyal is offline   Reply With Quote
Old 10-25-2023, 12:36 AM   #3
aldsjf(*&12
Junior Member
aldsjf(*&12 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2023
Device: None
Submitted Bug #2040439 on bugs.launchpad.net
aldsjf(*&12 is offline   Reply With Quote
Reply

Tags
error, htmlz, viewer


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Script error when trying to view a HTMLZ book Readomaniac Library Management 0 03-15-2014 05:15 PM
Handling .htmlz files mlevin77 Plugins 2 12-15-2013 10:59 AM
how to import .htmlz files to Calibre? mlevin77 Conversion 0 07-08-2012 01:38 PM
HTMLZ > ePub gives Page Error on PRS-600 FlyFree Conversion 8 09-27-2011 07:36 PM


All times are GMT -4. The time now is 03:46 PM.


MobileRead.com is a privately owned, operated and funded community.