AwesomeDog / obsidian-awesome-reader

Make Obsidian a proper Reader.
MIT License
92 stars 2 forks source link

[BUG] Certain epubs lead to white screen #7

Open the-c0d3r opened 1 year ago

the-c0d3r commented 1 year ago

I have noticed that when opening certain epub files, it will lead to white screen. I cannot move to new page, and when I click on the side bar menu, it does show the content list, but when I clicked on it, nothing happens. The following is the console log.

Is there anything I can help with to help solve this? I have like 6 epubs in my vault, and only 3 can be opened.

plugin:awesome-reader:35488 Uncaught (in promise) Error: No Section Found
    at Rendition._display (plugin:awesome-reader:35488:29)
    at Queue.dequeue (plugin:awesome-reader:28789:27)
    at eval (plugin:awesome-reader:28821:18)
plugin:awesome-reader:2343 Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot

obsidian.md-1684588667132.log

EDIT: it seems like both epub reader plugin and awesome reader plugin have the same exact issue.