Unhandled mathjax loading related error in Viewer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The following error occurs all the time when viewing mathjax-heavy epub files in the Calibre E-book viewer, rendering it unusable:
calibre, version 5.13.0
ERROR: Unhandled error: Uncaught TypeError: Failed to execute 'removeChild' on 'Node': parameter 1 is not of type 'Node'.<br><span style="
Traceback (most recent call last):
at HTMLHtmlElement
at IframeBoss.
TypeError: Failed to execute 'removeChild' on 'Node': parameter 1 is not of type 'Node'.
Steps to reproduce:
1. Open the attached minimal "mathjaxtest.epub" in the Viewer.
2. Use the arrow keys or scrolling to navigate to the end of the book and back.
3. Repeat until error is thrown (normally 5-10 times).
One might see "failed to load: https:/
I'm on macOS 10.15.7.
That's because your math book includes its own copy of mathjax, that is /manual. calibre- ebook.com/ typesetting_ math.html
expecting to run in a browser. Dont do that. calibre can render maths by
itself using its own bundled mathjax. For example, see
https:/
status invalid