View Single Post
Old 06-20-2021, 10:57 AM   #1
ReaderofBooks
Member
ReaderofBooks began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jun 2021
Device: Calibre
Epub files suddenly not opening?

Hi,

I dont know why, but some of my epub files have suddenly stopped opening.
They were working fine.

What should I do?

Thanks.

Quote:
calibre, version 5.21.0
ERROR: Loading book failed: Failed to open the book at C:\Users\Lenovo\Calibre Library\Yoko Ogawa\The Memory Police (112)\The Memory Police - Yoko Ogawa.epub. Click "Show details" for more info.

Failed to convert book: C:\Users\Lenovo\Calibre Library\Yoko Ogawa\The Memory Police (112)\The Memory Police - Yoko Ogawa.epub with error:
InputFormatPlugin: EPUB Input running
on C:\Users\Lenovo\Calibre Library\Yoko Ogawa\The Memory Police (112)\The Memory Police - Yoko Ogawa.epub
EPUB appears to be invalid ZIP file, trying a more forgiving ZIP parser
Failed to run pipe worker with command: from calibre.srv.render_book import viewer_main; viewer_main()
Traceback (most recent call last):
File "calibre\ebooks\metadata\epub.py", line 161, in get_zip_reader
File "calibre\utils\zipfile.py", line 775, in __init__
File "calibre\utils\zipfile.py", line 810, in _GetContents
File "calibre\utils\zipfile.py", line 825, in _RealGetContents
calibre.utils.zipfile.BadZipfile: File is not a zip file

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\customize\ui.py", line 433, in get_file_type_metadata
File "calibre\customize\builtins.py", line 198, in get_metadata
File "calibre\ebooks\metadata\epub.py", line 238, in get_quick_metadata
File "calibre\ebooks\metadata\epub.py", line 217, in get_metadata
File "calibre\ebooks\metadata\epub.py", line 164, in get_zip_reader
File "calibre\utils\localunzip.py", line 264, in __init__
File "calibre\utils\localunzip.py", line 240, in _extractall
ValueError: Not a ZIP file
Traceback (most recent call last):
File "calibre\ebooks\conversion\plugins\epub_input. py", line 262, in convert
File "calibre\utils\zipfile.py", line 775, in __init__
File "calibre\utils\zipfile.py", line 810, in _GetContents
File "calibre\utils\zipfile.py", line 825, in _RealGetContents
calibre.utils.zipfile.BadZipfile: File is not a zip file

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "runpy.py", line 194, in _run_module_as_main
File "runpy.py", line 87, in _run_code
File "site.py", line 82, in <module>
File "site.py", line 77, in main
File "site.py", line 49, in run_entry_point
File "calibre\utils\ipc\worker.py", line 197, in main
File "<string>", line 1, in <module>
File "calibre\srv\render_book.py", line 824, in viewer_main
File "calibre\srv\render_book.py", line 815, in render_for_viewer
File "calibre\srv\render_book.py", line 792, in render
File "calibre\ebooks\oeb\iterator\book.py", line 63, in extract_book
File "calibre\customize\conversion.py", line 245, in __call__
File "calibre\ebooks\conversion\plugins\epub_input. py", line 269, in convert
File "calibre\utils\localunzip.py", line 253, in extractall
File "calibre\utils\localunzip.py", line 240, in _extractall
ValueError: Not a ZIP file
ReaderofBooks is offline   Reply With Quote