Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No "bookData" returned #9

Open
Akahadaka opened this issue Jul 10, 2016 · 2 comments
Open

No "bookData" returned #9

Akahadaka opened this issue Jul 10, 2016 · 2 comments

Comments

@Akahadaka
Copy link

Akahadaka commented Jul 10, 2016

Hi

Is EPM still supported. It seems to be what I'm looking for for a small project, but I'm having some trouble. Granted, I haven't spent too much time trying to debug, but want to check if it's still worth it first.

My issue:
I get no bookData returned from the callback of

new Epub(this.response, function (bookData) {...});

I've tried both an Epub v 2 (1.8Mb) & 3 (177 Kb)

I did start to briefly look into epm.js and found on line 239 in

function getComponent(id, callback) {
...
files[id].getData(new zip.TextWriter(), function (data) {...});

that i wasn't really entering that code block at all.

Any help would be appreciated. Probably something silly I'm missing.

Thanks

@Akahadaka
Copy link
Author

Replacing zip-js files with older versions from the example branch gh-pages seemed to solve the issue.

Reasons for incompatibility still need to be determined.

@Raymond26
Copy link

Thanks @Akahadaka that worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants