| Reference | Downloads | Github

RangeError: Maximum call stack size exceeded

URL of experiment: FinalVersion [PsychoPy]

Description of the problem: Hi there. I just put my experiment to Pavlovia and got this error right at the begining. It works well locally so I don’t know exactly what is the problem. I looked at posts with this topic but cannot still find the source of the problem.
I appreciate any help.

I took part in your experiment for about a minute, but no errors on my side (Windows 10 Firefox). Regardless, I can tell you a bit about the error message. This tends to happen when you’ve got a so called “recursive algorithm”. That means a function calling itself. If this happens to often, then this call-stack error gets thrown.

For illustration, here is an example of recursion that would trigger such an error.

myFunc = function() {