Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-27-2021, 05:40 AM   #1
Achi11e
Junior Member
Achi11e began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2021
Device: Kindle PaperWhite
Cant open ebooks after modifying metadata

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.

Last edited by theducks; 07-27-2021 at 10:30 AM. Reason: spoilered
Achi11e is offline   Reply With Quote
Old 07-27-2021, 07: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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Probably because your library is ona shared or network drive. See https://manual.calibre-ebook.com/faq...rked-drive-nas
kovidgoyal is offline   Reply With Quote
Advert
Old 07-27-2021, 10:33 AM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,801
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
in addition to not being a local file:
Bad Zip
that says the book is (being) damaged (or not packaged up properly).
theducks is offline   Reply With Quote
Old 07-27-2021, 12:19 PM   #4
Achi11e
Junior Member
Achi11e began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2021
Device: Kindle PaperWhite
Thank you, it was google drive. Resolved.
Achi11e is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre metadata.db contains errors... Calibre2opds cannot open file. anamardoll Related Tools 25 02-12-2018 08:33 PM
Open Metadata Editor from plugin notbuu Development 5 10-05-2016 12:10 AM
Question in regards to modifying the "insert metadata as a page in a book" Layout crissman Calibre 8 10-02-2014 09:26 PM
Modifying metadata in .mobi files LeapinLar Library Management 4 09-10-2011 06:05 PM
Saving after modifying metadata mitch13 Library Management 3 08-02-2011 01:08 PM


All times are GMT -4. The time now is 11:17 AM.


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