Skip to content

Potential math rendering errors in pymoo.org #1

@rohitdwivedula

Description

@rohitdwivedula

There appear to be some errors in the math rendering on pymoo.org:

image

As soon as the page loads, the math shows up fine - for around ~15-30 seconds. However, after 30 seconds or so, the math ends up as shown in the above picture: [Math Processing Error]. I usually would assume that this was something wrong with my browser, but this happened on three different browsers on two different devices (Firefox mobile, Firefox Desktop, and Edge Desktop), both in regular mode and incognito/private browsing - so that probably rules out something being wrong with my browser specifically.

On going through the Javascript console on the browser, it looks like there are some JS libraries missing:

GET https://pymoo.org/_static/fonts/HTML-CSS/TeX/woff/MathJax_Main-Regular.woff?V=2.7.3 net::ERR_ABORTED 404 (Not Found)
/_static/fonts/HTML-CSS/TeX/woff/MathJax_Math-Italic.woff?V=2.7.3:1 GET https://pymoo.org/_static/fonts/HTML-CSS/TeX/woff/MathJax_Math-Italic.woff?V=2.7.3 net::ERR_ABORTED 404 (Not Found)
/_static/fonts/HTML-CSS/TeX/woff/MathJax_Size1-Regular.woff?V=2.7.3:1 GET https://pymoo.org/_static/fonts/HTML-CSS/TeX/woff/MathJax_Size1-Regular.woff?V=2.7.3 net::ERR_ABORTED 404 (Not Found)
/_static/fonts/HTML-CSS/TeX/otf/MathJax_Main-Regular.otf?V=2.7.3:1 GET https://pymoo.org/_static/fonts/HTML-CSS/TeX/otf/MathJax_Main-Regular.otf?V=2.7.3 net::ERR_ABORTED 404 (Not Found)
/_static/fonts/HTML-CSS/TeX/otf/MathJax_Math-Italic.otf?V=2.7.3:1 GET https://pymoo.org/_static/fonts/HTML-CSS/TeX/otf/MathJax_Math-Italic.otf?V=2.7.3 net::ERR_ABORTED 404 (Not Found)
/_static/fonts/HTML-CSS/TeX/otf/MathJax_Size1-Regular.otf?V=2.7.3:1 GET https://pymoo.org/_static/fonts/HTML-CSS/TeX/otf/MathJax_Size1-Regular.otf?V=2.7.3 net::ERR_ABORTED 404 (Not Found)

followed by this error:

Uncaught TypeError: Cannot read properties of undefined (reading 'img')
    at GETWIDTHS (imageFonts.js?V=2.7.3:184)
    at Function.execute (MathJax.js?config=TeX-AMS-MML_HTMLorMML-full.js:243)
    at cb (MathJax.js?config=TeX-AMS-MML_HTMLorMML-full.js:225)
    at Object.Process (MathJax.js?config=TeX-AMS-MML_HTMLorMML-full.js:495)
    at Object.call (MathJax.js?config=TeX-AMS-MML_HTMLorMML-full.js:508)
    at Function.WAITEXECUTE (MathJax.js?config=TeX-AMS-MML_HTMLorMML-full.js:348)
    at cb (MathJax.js?config=TeX-AMS-MML_HTMLorMML-full.js:225)
    at Object.Execute (MathJax.js?config=TeX-AMS-MML_HTMLorMML-full.js:426)
    at Object.loadComplete (MathJax.js?config=TeX-AMS-MML_HTMLorMML-full.js:968)
    at Object.loadTimeout (MathJax.js?config=TeX-AMS-MML_HTMLorMML-full.js:979)

after which the math error shows up. Just thought I'd let you know - if this doesn't seem like a problem others are facing, please close this issue - thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions