janeczku / calibre-web

:books: Web app for browsing, reading and downloading eBooks stored in a Calibre database
GNU General Public License v3.0
12.71k stars 1.33k forks source link

[EPub reader] "No Section Found" error when trying to navigate to a chapter using ToC #2726

Open GarckaMan opened 1 year ago

GarckaMan commented 1 year ago

Describe the bug/problem "No Section Found" error when trying to navigate to a chapter using ToC. This error happens on certain epub and said epubs open and work fine on Calibre's Epub Reader. Not all epubs I own have this problem. It is this series of Light Novels that has this problem.

To Reproduce Steps to reproduce the behavior:

  1. On CalibreWeb, go to a epub
  2. On the leftside, click any chapter on the ToC
  3. Open Browser's Console
  4. See the error

Expected behavior You should be able to navigate using the ToC on CalibreWeb

Screenshots

image

The ToC works fine on Calibre E-book viewer:

image

Environment

Extra info

If needed, I can upload the epub file. I paid for it so I think you could use it for testing no problem.

OzzieIsaacs commented 1 year ago

I checked some of my books, it's working there. So I think it's a problem with the book reader javascript library calibre-web uses. It could be a duplicate of https://github.com/janeczku/calibre-web/issues/493. I'm using this to show the epubs: https://github.com/futurepress/epub.js/, it's seems to not getting updates anymore, so there is nothing I can do currently