Quote:
Originally Posted by DisturbedDragon
So I've got an odd bug. I was updating some stories from QQ, and got the message "the file is not a zip file" for several entries. Here's the log:
I have no idea what could cause this, but additionally when I deleted the file and downloaded it again, it worked. I could still read the file even when it gave the error, it just wouldn't update.
|
I would speculate something changed the zip file in a way that Calibre handles gracefully, but vanilla Python zipfile doesn't.
I know that can happen between different programs, because I've seen it before with an android app.
Have you used other tools to do anything to your ebooks?
EDIT: If you can upload somewhere and PM me a link to one of the failing epubs, I might be able to figure out more.