View Single Post
Old 01-18-2021, 09:03 AM   #1
thorindwarf
Enthusiast
thorindwarf is a marvel to beholdthorindwarf is a marvel to beholdthorindwarf is a marvel to beholdthorindwarf is a marvel to beholdthorindwarf is a marvel to beholdthorindwarf is a marvel to beholdthorindwarf is a marvel to beholdthorindwarf is a marvel to beholdthorindwarf is a marvel to beholdthorindwarf is a marvel to beholdthorindwarf is a marvel to behold
 
thorindwarf's Avatar
 
Posts: 31
Karma: 11958
Join Date: Jul 2013
Device: Kobo Glo
Opening EPUB - ValueError - No file named

Hi!

I noticed the error below for many books in my Library which were working fine with the old version of the Viewer.
What is common with them is that all files inside epub are in META-INF directory.
If I change all the files to be in e.g. OEBPS/ and only container.xml to reside in META-INF/ then Viewer is able to open the book.

Attaching a book epubs.zip in both variants.

Please check it
Thanks!

calibre, version 5.9.0
ERROR: Unhandled error: Uncaught ValueError: No file named META-INF/titlepage.xhtml in the book manifest<br><span style="font-size:smaller">Error at userscript:viewer.js:44135:17</span>

Traceback (most recent call last):
at View.display_book (userscript:viewer.js:43193:39)
at View.ρσ_interpolate_kwargs (userscript:viewer.js:2635:18)
at View.show_name (userscript:viewer.js:43321:18)
at View.load_doc (userscript:viewer.js:43340:13)
at load_resources (userscript:viewer.js:16956:13)
at do_one (userscript:viewer.js:16908:31)
at Object.get_file (userscript:viewer.js:44135:23)
Error
thorindwarf is offline   Reply With Quote