AnFengDe_EPUB icon indicating copy to clipboard operation
AnFengDe_EPUB copied to clipboard

"Failed to unzip the epub file" (-24) error when trying to open file

Open maziac opened this issue 10 years ago • 5 comments

Hi,

this is for the iOS SDK.

I got the error above for a free "Sherlock Holmes" epub found here: https://app.box.com/s/kuxyg59zrll912b3kzif

Other ebooks work perfectly. And this epub also works if I change the epub extension to zip and open it on the my Mac.

Otherwise the SDK works perfectly. Thanks so much.

Best Regards

maziac avatar Oct 13 '14 16:10 maziac

I've found that this is not a single problem with that web site. If you use Sigil (on Mac) and save an epub, it cannot be opened with the SDK.

See https://code.google.com/p/sigil/

maziac avatar Oct 13 '14 19:10 maziac

Thank you very much, I will download and check.

AnFengDe avatar Oct 14 '14 02:10 AnFengDe

Thanks for helping us find out such a bug. Its cause lies in the unzipping of TOC(table of contents). It belongs to the bug of EPUB SDK. We've recorded it since right now we are short of hands due to the many developments. We'll tackle it later on. Thanks again.

AnFengDe avatar Oct 16 '14 10:10 AnFengDe

Hi, thanks for the info. I'm planning to submit an app to the app store in the next 2 weeks. Is there some workaround available or may I offer my help to correct this bug.

Is it maybe possible to unzip the epub and than use some other (hidden) api to use the rest of the functionality.

Or might it make sense if I unzip and then re-zip the epub before opening it with your SDK?

BR

maziac avatar Oct 17 '14 20:10 maziac

Hi, maziac I have build new version,I don't know your email. Please mail to [email protected], I will send it by mail

AnFengDe avatar Oct 21 '14 07:10 AnFengDe