Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
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
Old 11-09-2022, 10:11 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: 45,341
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Looks like the file is corrupted. Simply replace the file with the re-downloaded copy and you should be fine, notes and highlights are stored in three different places, so they should be auto-recovered.
kovidgoyal is offline   Reply With Quote
Advert
Old 11-15-2022, 03:18 PM   #3
mattmatt
Junior Member
mattmatt began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2022
Device: none
Thanks a lot!
mattmatt is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error loading book HowardBrazee Conversion 8 07-21-2022 09:52 AM
Loading book failed Dragonhome Viewer 1 11-09-2021 09:42 AM
error loading just one particular book pedalmonkey Calibre 2 12-18-2020 09:45 PM
calibre, version 4.2.0 ERROR: Could not open book: Failed to load book manifest Ankular Calibre 3 11-09-2019 08:29 PM
Failed to add the book error MrsConnor Library Management 1 12-09-2017 05:25 PM


All times are GMT -4. The time now is 03:25 AM.


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