psychopy.org | Reference | Downloads | Github

TypeError when pressing any key at initiation of experiment

URL of experiment: https://run.pavlovia.org/curranp28/stroop/html/

Description of the problem: Hi, when I try to run my stroop experiment online I receive a type error message. I am very new to Psychopy and Pavlovia.

Unfortunately we encountered the following error:

  • TypeError: Converting circular structure to JSON --> starting at object with constructor ‘PsychoJS’ | property ‘_logger’ -> object with constructor ‘Logger’ — property ‘_psychoJS’ closes the circle

Try to run the experiment again. If the error persists, contact the experiment designer.

Any suggestions would be greatly appreciated. Thank you.

@pc1, this error has occurred because you set the text of a text component using a text component object, rather than actual text. In the PRACTRIAL routine, the text component called PRACtext_2 uses a text component called text. This has happened because a column in your conditions file matches the name of one of your text components. The easiest fix will be to change the name of your "text" text component to a unique name.