Maximum Call Stack Error with Mathjax.js file (locally downloaded)

7 views
Skip to first unread message

chaitanya yechuri

unread,
Apr 24, 2018, 2:23:14 AM4/24/18
to MathJax Users
Hi, 

When network is very slow and enabling "Disable Cache" with chrome browser i'm not able to load math equations followed by an error in console(look for attachment Maximum Call Stack Error.PNG).
 
This is failing only when mathjax is downloaded locally and trying to hit when network is very slow. This is working fine with Mathjax CDN live URL.

Do we've any way of finding whether mathjax is fully loaded or not, or a way of raising an error when math content is not loaded properly. Please look into and suggest for change(s).


Thank you,
Chaitanya


Maximum Call Stack Error.PNG

Davide Cervone

unread,
Apr 24, 2018, 12:23:04 PM4/24/18
to mathja...@googlegroups.com
The loop appears to be in the setRenderer() function, which is only called if you have used the MathJax contextual menu to select a different renderer.  You might try removing the MathJax menu cookie (which is where the renderer choice is stored), and see if that helps.

It is also possible that you re calling setRenderer() yourself in your configuration, but you haven't provided any of that detail, so I can't tell.  If you do set the renderer in your page by hand, then it may be that you have typed the wrong name (or the wrong capitalization), or something like that.

I have opened an issue tracker for the infinite loop at


Davide


--
You received this message because you are subscribed to the Google Groups "MathJax Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<Maximum Call Stack Error.PNG>

Reply all
Reply to author
Forward
0 new messages