Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-19-2019, 04:54 PM   #1
luerman
Junior Member
luerman began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2019
Device: Moon+ Reader Pro
ZipImportError:bad local file header ..\pylib.zip

Hello - my first post here:
Installed: calibre-64bit-3.48.0

I get this error (see details below) when selecting at least two different options:
1) Switch/Create Library
2) Library Maintenance -> Check library

Note: I haven't used either of these options for many months/releases.

What I've tried so far:
I've uninstalled Calibre 64bit. The uninstall process removed the C:\Program Files\Calibre2 folder, so no need to delete that folder. And then reinstalled calibre-64bit-3.48.0.msi. Problem still there.

What should I try next? Can I safely fall back to a prior version? I haven't tried that yet.

Thanks

ERROR: Unhandled exception
ZipImportError:bad local file header: C:\Program Files\Calibre2\app\pylib.zip
calibre, version 3.47.0
ERROR: Unhandled exception: <b>ZipImportError</b>:bad local file header: C:\Program Files\Calibre2\app\pylib.zip

Traceback (most recent call last):
File "site-packages\calibre\gui2\actions\choose_library.py", line 615, in choose_library
ZipImportError: bad local file header: C:\Program Files\Calibre2\app\pylib.zip
luerman is offline   Reply With Quote
Old 09-19-2019, 05:38 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,459
Karma: 26645808
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by luerman View Post
Hello - my first post here:
Installed: calibre-64bit-3.48.0

I get this error (see details below) when selecting at least two different options:
1) Switch/Create Library
2) Library Maintenance -> Check library

Note: I haven't used either of these options for many months/releases.

What I've tried so far:
I've uninstalled Calibre 64bit. The uninstall process removed the C:\Program Files\Calibre2 folder, so no need to delete that folder. And then reinstalled calibre-64bit-3.48.0.msi. Problem still there.

What should I try next? Can I safely fall back to a prior version? I haven't tried that yet.

Thanks

ERROR: Unhandled exception
ZipImportError:bad local file header: C:\Program Files\Calibre2\app\pylib.zip
calibre, version 3.47.0
ERROR: Unhandled exception: <b>ZipImportError</b>:bad local file header: C:\Program Files\Calibre2\app\pylib.zip

Traceback (most recent call last):
File "site-packages\calibre\gui2\actions\choose_library.py", line 615, in choose_library
ZipImportError: bad local file header: C:\Program Files\Calibre2\app\pylib.zip
Something doesn't look right. You say you're running 3.48 64bit, but the error message tells us that you're running 3.47.

Assuming you install programs in the Windows default locations:
  • Uninstall all versions of calibre - look for 32bit and 64 bit;
  • Ensure there are no Calibre2 folders in "C:\Program Files (x86)\" and "C:\Program Files\";
  • Install Calibre 64 bit.
BR
BetterRed is offline   Reply With Quote
Old 09-19-2019, 06:06 PM   #3
luerman
Junior Member
luerman began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2019
Device: Moon+ Reader Pro
Hi, BR. Thanks for response. Good catch. I checked for other Calibre or Calibre2 folders in both C:\Program Files\ and C:\Program Files (x86)\. No other folders. So, I uninstalled again and THEN I restarted my PC (I didn't do that before). Then I downloaded again from https://calibre-ebook.com/download_windows64, and reinstalled. The error is gone.

Thanks. Sorry for not restarting my PC before posting.

Regards,
Steve
luerman is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ZipImportError: bad local file header:C:\Program Files (x86)\Calibre2\aap\pylip.zip Anders Gutmann Calibre 2 05-27-2018 06:46 PM
How to update one .pyo file in pylib.zip? duxxil Development 7 10-16-2016 02:50 AM
Invalid Zip file - local header is damaged Francois Driesen Conversion 3 09-18-2014 06:07 AM
pylib.zip and zipfile.py twobits Calibre 4 02-21-2013 02:05 AM
ZipImportError: not a Zip file (most plugins) vladacr Plugins 30 04-02-2011 09:35 AM


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


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