| Reference | Downloads | Github

Error when trying to run an experiment

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): MacOS Mojave 10.14.6
PsychoPy version (e.g. 1.84.x): v2021.1.2
Standard Standalone? (y/n) If not then what?: Y
**What are you trying to achieve?: I am just trying to run my experiment to test the flow, something I haven’t had any issues with in the past. However, now when I hit run experiment, I immediately receive this error message.

"Traceback (most recent call last):
File “/Applications/”, line 238, in writeFrameCode
File “”, line 1, in
NameError: name ‘o’ is not defined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/Applications/”, line 1165, in runFile
File “/Applications/”, line 635, in runLocal
File “/Applications/”, line 73, in generateScript
File “/Applications/”, line 242, in compileScript
File “/Applications/”, line 221, in _makeTarget
File “/Applications/”, line 212, in writeScript

**What did you try to make it work?: Quitting and restarting PsychoPy, restarting computer

**What specifically went wrong when you tried that?: I received the same error message

Are you using o as a variable or component name?