pgaskin / ePubViewer

ePub viewer with dictionary, themes, search, offline support, and more
http://pgaskin.net/ePubViewer
MIT License
350 stars 78 forks source link

error when I open my epub #5

Open bilal333 opened 5 years ago

bilal333 commented 5 years ago

{"error":"TypeError: Cannot read property 'substr' of undefined","stack":"TypeError: Cannot read property 'substr' of undefined\n at Archive.getBlob (http://localhost/ePubViewer/libs/epub.js:16017:14)\n at Archive.createUrl (http://localhost/ePubViewer/libs/epub.js:16104:21)\n at App.onBookCoverLoaded (http://localhost/ePubViewer/script.js:342:29)"} IKITAB_EPUB_000027_01 (copy).zip

pgaskin commented 5 years ago

This looks like an issue with the resources (images/CSS) in your epub. I'll try and figure out exactly what when I'm at my computer.

justxuewei commented 5 years ago

Yes, I got that problem too. Is there any way to fix it?

aledemajo commented 4 years ago

I can't reproduce this problem. The file attached by @bilal333 renders correctly, no errors on the console

tested locally on latest version Browser: Chrome Version 84.0.4147.89 (Official Build) (64-bit)

maybe someone could confirm this behavior and this issue could be closed? 😄

1029098564 commented 8 months ago

man,ha ha ha~,what can i say