Im trying to import new ebooks in calibre and if i dont change anything calibre and my kindle can open ebooks properly. If i change any metadata the ebook cant be opened. Calibre gives me this message:
Spoiler:
calibre, version 5.23.0
ERRORE: Caricamento libro fallito: Impossibile aprire il libro in G:\Drive condivisi\Francesco\calibre\Brandon Sanderson\The Final Empire asd (770)\The Final Empire asd - Brandon Sanderson.epub. Clicca su "Mostra dettagli" per ulteriori informazioni.
Failed to convert book: G:\Drive condivisi\Francesco\calibre\Brandon Sanderson\The Final Empire asd (770)\The Final Empire asd - Brandon Sanderson.epub with error:
InputFormatPlugin: EPUB Input running
on G:\Drive condivisi\Francesco\calibre\Brandon Sanderson\The Final Empire asd (770)\The Final Empire asd - Brandon Sanderson.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
I tried on different PCs but the result is always the same. I dont understand why.