Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 11-08-2021, 10:54 PM   #1
Dragonhome
Junior Member
Dragonhome began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2020
Device: iPad
Loading book failed

This is happening for a lot of my books. When I try to open them I get the error below.

Background: These were books that were in a friend Calibre, and he send me the just epub files for them (not the folders). I added them to my library using "add books".

I have since added more books to Calibre before I found that my frinds books wouldn't open.

I need to know how to remove books just the corrupted from Calibre with these errors. I added almost 1000 books and I really don't want to have to go test each one.

If you have a solution, please write it in plain language to make it easy to understand.

BTW, I do have the calibre "Quality Check" plug in, but I can't find anything that even remotely addresses this problem. I believe it is the most recent version since I just downloaded and installed it.

Thanks!

Code:
calibre, version 5.31.1
ERROR: Loading book failed: Failed to open the book at C:\Users\Judith Perry\Calibre Library\Summer Prescott\BBQ, Bikers, and Murder (13792)\BBQ, Bikers, and Murder - Summer Prescott.epub. Click "Show details" for more info.

Failed to convert book: C:\Users\Judith Perry\Calibre Library\Summer Prescott\BBQ, Bikers, and Murder (13792)\BBQ, Bikers, and Murder - Summer Prescott.epub with error:
DeDRM v7.2.1: Trying to decrypt BBQ, Bikers, and Murder - Summer Prescott.epub
DeDRM v7.2.1: Verifying zip archive integrity
DeDRM v7.2.1: Error 'File is not a zip file' when checking zip archive
InputFormatPlugin: EPUB Input running
on C:\Users\Judith Perry\Calibre Library\Summer Prescott\BBQ, Bikers, and Murder (13792)\BBQ, Bikers, and Murder - Summer Prescott.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 160, in get_zip_reader
  File "calibre\utils\zipfile.py", line 774, in __init__
  File "calibre\utils\zipfile.py", line 809, in _GetContents
  File "calibre\utils\zipfile.py", line 824, 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 432, in get_file_type_metadata
  File "calibre\customize\builtins.py", line 169, 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 163, 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
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
  File "calibre_plugins.dedrm.__init__", line 210, in ePubDecrypt
  File "calibre_plugins.dedrm.zipfix", line 53, in __init__
  File "C:\Users\Judith Perry\AppData\Roaming\calibre\plugins\DeDRM.zip\zipfilerugged.py", line 683, in __init__
  File "C:\Users\Judith Perry\AppData\Roaming\calibre\plugins\DeDRM.zip\zipfilerugged.py", line 709, in _GetContents
  File "C:\Users\Judith Perry\AppData\Roaming\calibre\plugins\DeDRM.zip\zipfilerugged.py", line 721, in _RealGetContents
zipfilerugged.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 175, in _run_filetype_plugins
  File "calibre_plugins.dedrm.__init__", line 644, in run
  File "calibre_plugins.dedrm.__init__", line 214, in ePubDecrypt
Exception: File is not a zip file
Traceback (most recent call last):
  File "calibre\ebooks\conversion\plugins\epub_input.py", line 259, in convert
  File "calibre\utils\zipfile.py", line 774, in __init__
  File "calibre\utils\zipfile.py", line 809, in _GetContents
  File "calibre\utils\zipfile.py", line 824, 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 823, in viewer_main
  File "calibre\srv\render_book.py", line 814, in render_for_viewer
  File "calibre\srv\render_book.py", line 791, in render
  File "calibre\ebooks\oeb\iterator\book.py", line 63, in extract_book
  File "calibre\customize\conversion.py", line 244, in __call__
  File "calibre\ebooks\conversion\plugins\epub_input.py", line 266, 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

Last edited by issybird; 11-09-2021 at 06:57 AM. Reason: Added code tags/
Dragonhome is offline   Reply With Quote
Old 11-09-2021, 09:42 AM   #2
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,884
Karma: 55267620
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
If you read both sections last lines:
Damaged Zip file (EPUB is a Zip with a defined structure)
theducks is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading failed in viewer db105 Calibre 2 06-04-2020 07:02 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
Edit book/Check book/Parsing failed: Inconsistencies in counting chaot Editor 4 06-02-2016 11:20 AM
Failed: Convert book 1 of 1 dawnmbarker Conversion 3 08-22-2013 01:26 PM
Please help with calibre -- Loading ICU failed pmiles Calibre 1 12-18-2012 11:27 PM


All times are GMT -4. The time now is 08:08 PM.


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