URL of experiment: https://129.114.27.183
Version of PsychoPy I use: v2020.2.8 for Mac
System version of Mac: Big Sur 11.0.1
Experiment setting for Use PsychoPy version: latest
Description of the task: A go/nogo task with emotional stimuli from the Karolinska Directed Emotional Faces (KDEF).
Components of the task: except the basic components of the task (e.g. text and image), I also created a code component in the practice session (see below).
Begin experiment:
msg=‘doh!’#if this comes up we forgot to update the msg!
msgColor = ‘Yellow’
Begin routine:
if Practice_resp.corr:
msg = “Correct!”
msgColor = ‘green’
#check if a key was pressed:
elif Practice_resp.keys == None:
msg = “Too slow!”
msgColor = ‘red’
else:
msg = “Oops! That was wrong”
msgColor = ‘red’
Description of the problem:
My task works well on Pavlovia but I was trying to run this experiment on the server of Chameleon. However, the task stuck in the page that shows “Unspecified JavaScript error”. Then I used the JavaScript Console on Safari to check the error, there are two errors listed (see attached screenshots).
Does anyone know why this happens and what I can do for resolving this?
Thank you in advance for your time.