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-16-2020, 06:19 PM   #1
anagel
Member
anagel began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jun 2010
Location: Medicine Hat, Alberta, Canada
Device: Sony PRST-1, PRST-2, PRST-3, Nook, Samsung Galaxy tab, Kobo first gen
error opening epub in calibre viewer

I have this error when I try to open an epub in calibre. I have redownloaded the book from my source but that hasn't fixed the problem. Is there a plugin that would help?

Any help would be appreciated.




calibre, version 4.5.0
ERROR: Loading book failed: Failed to open the book at C:\Users\canag\Downloads\Wildest_Dreams_-_Lucy_Smoke (1).epub. Click "Show details" for more info.

Traceback (most recent call last):
File "site-packages\calibre\gui2\viewer\ui.py", line 360, in _load_ebook_worker
File "site-packages\calibre\gui2\viewer\convert_book.py", line 231, in prepare_book
File "site-packages\calibre\gui2\viewer\convert_book.py", line 188, in do_convert
ConversionFailure: Failed to convert book: C:\Users\canag\Downloads\Wildest_Dreams_-_Lucy_Smoke (1).epub with error:
InputFormatPlugin: EPUB Input running
on C:\Users\canag\Downloads\Wildest_Dreams_-_Lucy_Smoke (1).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()
Python function terminated unexpectedly
Invalid ZIP file, local header is damaged (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 114, in main
File "site.py", line 88, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 189, in main
File "<string>", line 1, in <module>
File "site-packages\calibre\srv\render_book.py", line 830, in viewer_main
File "site-packages\calibre\srv\render_book.py", line 823, in render_for_viewer
File "site-packages\calibre\srv\render_book.py", line 798, in render
File "site-packages\calibre\ebooks\oeb\iterator\book.py", line 64, in extract_book
File "site-packages\calibre\customize\conversion.py", line 246, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\epub_in put.py", line 269, in convert
File "site-packages\calibre\utils\localunzip.py", line 232, in extractall
File "site-packages\calibre\utils\localunzip.py", line 214, in _extractall
File "site-packages\calibre\utils\localunzip.py", line 164, in copy_compressed_file
ValueError: Invalid ZIP file, local header is damaged
anagel is offline   Reply With Quote
Old 11-16-2020, 06:37 PM   #2
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,906
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Epubs are just zip files with a different extension and some expected content. The last line says the book is not a valid ZIP file. That suggests the file you downloaded is corrupt. You could try and open it with a compressed file tool and seeing what error it gives. Other than that, you could try to download the book with a different browser, just in case something strange is happening. And report to the source of the file that there is a problem with the file.
davidfor is offline   Reply With Quote
Advert
Old 11-16-2020, 06:51 PM   #3
anagel
Member
anagel began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jun 2010
Location: Medicine Hat, Alberta, Canada
Device: Sony PRST-1, PRST-2, PRST-3, Nook, Samsung Galaxy tab, Kobo first gen
Quote:
Originally Posted by davidfor View Post
Epubs are just zip files with a different extension and some expected content. The last line says the book is not a valid ZIP file. That suggests the file you downloaded is corrupt. You could try and open it with a compressed file tool and seeing what error it gives. Other than that, you could try to download the book with a different browser, just in case something strange is happening. And report to the source of the file that there is a problem with the file.
Thank for your quick reply and thoughts. Yes I totally thought it could be a corrupt download. I deleted it from the calibre library folder completely. and then downloaded it again and same error. I have sent a message to the source of the file and hopefully they will figure it out. Thanks again!
anagel is offline   Reply With Quote
Reply

Tags
calibre, epub, viewer, zip


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre ebook viewer not opening Inman Viewer 16 06-15-2022 10:29 PM
Calibre opening epub in editor rather than viewer harpergriffin Library Management 4 02-18-2016 10:56 PM
Ebook-viewer: fail when opening an ePub from Firefox Jellby Calibre 9 05-17-2015 12:41 AM
Having difficulty opening EPUB file with E-book Viewer directly swampwiz Library Management 13 09-08-2014 12:58 PM
Create MediaWiki and RTF links for opening an ePub file with Calibre viewer johnsidi Calibre 1 12-17-2011 01:31 PM


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


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