View Single Post
Old 02-17-2025, 04:58 AM   #3148
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,049
Karma: 147977995
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by GoldCladGod View Post
Hello All,

I just got a kobo clara bw for christmas and am getting around to using it i get this error when i enable and try to use this extension.

*******
calibre, version 7.26.0
ERROR: Error: Error communicating with device

Invalid ZIP file, local header is damaged

Traceback (most recent call last):
File "calibre\ebooks\oeb\polish\container.py", line 1221, in __init__
File "calibre\utils\zipfile.py", line 777, in __init__
File "calibre\utils\zipfile.py", line 812, in _GetContents
File "calibre\utils\zipfile.py", line 827, 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\gui2\device.py", line 112, in run
File "calibre\gui2\device.py", line 643, in _upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 343, in upload_books
File "calibre\devices\kobo\driver.py", line 2283, in upload_books
File "calibre_plugins.kobotouch_extended.device.driver" , line 177, in _modify_epub
File "calibre_plugins.kobotouch_extended.container" , line 117, in __init__
File "calibre\ebooks\oeb\polish\container.py", line 1228, in __init__
File "calibre\utils\localunzip.py", line 254, in extractall
File "calibre\utils\localunzip.py", line 236, in _extractall
File "calibre\utils\localunzip.py", line 180, in copy_compressed_file
ValueError: Invalid ZIP file, local header is damaged
*******

Any help is appreciated.

if this is the wrong place for this please let me know.
We need more information such as what computer and what OS.

It looks like the eBook is corrupt. That can happen if you have a MAC and use Safari to download an ePub as Safari is set to automatically uncompress a ZIP file which it what an ePub is.
JSWolf is offline   Reply With Quote