ePubViewer icon indicating copy to clipboard operation
ePubViewer copied to clipboard

error when I open my epub

Open bilal333 opened this issue 7 years ago • 4 comments

{"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

bilal333 avatar Dec 29 '18 12:12 bilal333

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.

pgaskin avatar Dec 29 '18 16:12 pgaskin

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

justxuewei avatar Nov 19 '19 13:11 justxuewei

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? 😄

aledemajo avatar Jul 15 '20 17:07 aledemajo