View Single Post
Old 11-09-2022, 09:09 AM   #1
mattmatt
Junior Member
mattmatt began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2022
Device: none
Post ERROR: Loading book failed

Hi,

I am a university student with limited experience in reading with epub. This year I had an economics course that follows The CORE team project, which publish books online for free in epub format.

The past months I was reading the book from calibre and putting a lot of notes and highlights. Unfortunately today I was trying to open it again but calibre gives me the following error:

calibre, version 6.8.0
ERROR: Loading book failed: Failed to open the book at C:\Users\mathe\Calibre Library\The CORE team\Economy, Society, and Public Policy (2)\Economy, Society, and Public Po - The CORE team.epub. Click "Show details" for more info.

Failed to convert book: C:\Users\user\Calibre Library\The CORE team\Economy, Society, and Public Policy (2)\Economy, Society, and Public Po - The CORE team.epub with error:
Traceback (most recent call last):
File "calibre\customize\ui.py", line 435, in get_file_type_metadata
File "calibre\customize\builtins.py", line 175, in get_metadata
File "calibre\ebooks\metadata\epub.py", line 237, in get_quick_metadata
File "calibre\ebooks\metadata\epub.py", line 216, in get_metadata
File "calibre\ebooks\metadata\epub.py", line 164, in get_zip_reader
File "calibre\ebooks\metadata\epub.py", line 147, in __init__
File "calibre\ebooks\metadata\epub.py", line 98, in __init__
File "calibre\ebooks\metadata\epub.py", line 151, in open
File "calibre\utils\localunzip.py", line 275, in open
File "calibre\utils\localunzip.py", line 269, in _get_file_info
ValueError: This ZIP container has no file named: META-INF/container.xml
InputFormatPlugin: EPUB Input running
on C:\Users\user\Calibre Library\The CORE team\Economy, Society, and Public Policy (2)\Economy, Society, and Public Po - The CORE team.epub
EPUB appears to be invalid ZIP file, trying a more forgiving ZIP parser
Traceback (most recent call last):
File "calibre\ebooks\conversion\plugins\epub_input. py", line 238, in find_opf
FileNotFoundError: [Errno 2] No such file or directory: 'META-INF/container.xml'
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 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 196, in main
File "<string>", line 1, in <module>
File "calibre\srv\render_book.py", line 821, in viewer_main
File "calibre\srv\render_book.py", line 812, in render_for_viewer
File "calibre\srv\render_book.py", line 789, in render
File "calibre\ebooks\oeb\iterator\book.py", line 62, in extract_book
File "calibre\customize\conversion.py", line 242, in __call__
File "calibre\ebooks\conversion\plugins\epub_input. py", line 278, in convert
ValueError: C:\Users\user\Calibre Library\The CORE team\Economy, Society, and Public Policy (2)\Economy, Society, and Public Po - The CORE team.epub is not a valid EPUB file (could not find opf)


I reinstall calibre but nothing change. I also try to re-download the epub and works okay, but i don't want to loose my notes and highlights.

Any suggestions?

Cheers
mattmatt is offline   Reply With Quote