Git Product home page Git Product logo

Comments (5)

augustl avatar augustl commented on August 28, 2024

Can you post the EPUB that causes this error?

from js-epub.

mebibou avatar mebibou commented on August 28, 2024

Thanks for your quick reply!
So I tried a few different books that I found on epubbooks.com, like:

from js-epub.

kidino avatar kidino commented on August 28, 2024

Hello Augustl. I am getting this same error. And I believe it's because the JS-Zip didn't finish or simply skips the rest of the ePub content when unzipping. In my case, I realize that it unzips mimetype, META-INF and then done. At times it got to META-INF/container.xml. But others in the ePub was never read. So when JS-EPUB tries to read content.opf, because it was never loaded in data.

I tried from a number of ePubs including the two mebibou pointed out. I also read at your JS-ZIP that somebody solved it with your non-minified script. I tried both and still facing this. If you feel this a problem with the ZIP or encryption, I hope you can point out how to better zip the ePubs.

Any kind of help is appreciated.

from js-epub.

jarodium avatar jarodium commented on August 28, 2024

Does this have anything to do with the XMLSerializer ? I don't if it needs an external JS XML handler.

from js-epub.

augustl avatar augustl commented on August 28, 2024

I just deprecated this project. A much better alternative exists now, that wasn't around when I originally created the project. Check it out :) https://github.com/futurepress/epub.js/

from js-epub.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.