AnFengDe / AnFengDe_EPUB

EPUB 3.0 SDK for Android and iPhone, Offical team site : http://epub.anfengde.com
146 stars 79 forks source link

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

Open maziac opened 10 years ago

maziac commented 10 years ago

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 commented 10 years ago

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/

AnFengDe commented 10 years ago

Thank you very much, I will download and check.

AnFengDe commented 10 years ago

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.

maziac commented 10 years ago

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

AnFengDe commented 10 years ago

Hi, maziac I have build new version,I don't know your email. Please mail to afd@anfengde.com, I will send it by mail