Skip to content
This repository has been archived by the owner on Jun 27, 2020. It is now read-only.

Update ePubViewer #94

Open
obbardc opened this issue Dec 31, 2019 · 2 comments
Open

Update ePubViewer #94

obbardc opened this issue Dec 31, 2019 · 2 comments
Labels

Comments

@obbardc
Copy link

obbardc commented Dec 31, 2019

I am running the master branch of BookBrowser, but get an error when reading some epub file. The file renders fine using https://pgaskin.net/ePubViewer/

The error message when clicking on the book is:-

error loading cover: TypeError: Cannot read property 'substr' of undefined

{"error":"TypeError: Cannot read property 'substr' of undefined","stack":"TypeError: Cannot read property 'substr' of undefined\n at Archive.getBlob (http://127.0.0.1:8090/static/reader/epub/libs/epub.js:16017:53)\n at Archive.createUrl (http://127.0.0.1:8090/static/reader/epub/libs/epub.js:16102:21)\n at App.onBookCoverLoaded (http://127.0.0.1:8090/static/reader/epub/script.js:326:29)"}
@obbardc
Copy link
Author

obbardc commented Dec 31, 2019

Ah, it seems like ePubViewer in BookBrowser/master is v3.0.0 but ePubViewer on your site is v3.1.0

@pgaskin
Copy link
Owner

pgaskin commented Jan 2, 2020

I'll update ePubViewer soon. The issue seems to be on books without covers.

@pgaskin pgaskin added the bug label Jan 2, 2020
@pgaskin pgaskin changed the title bug when rendering certain books Update ePubViewer Jan 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants