Description of the problem:
My experiment works as expected on psychopy when running locally. When I pushed it to pavlovia and tried to run it, I get the error that my variable is undefined (seen below). The variable is defined as false in the beginning of my experiment, and if the participant indicates “y”, then the variable should change to True. The experiment does not work if they indicate “y” or “n”. Let me know if any more information is needed!
Thank you for your reply! So far I am still getting the same error. Do you know if it matters if I initialise the “should_quit” in begin experiment versus begin routine?