If this template helps then use it. If not then just delete and start from scratch.
OS (e.g. Win10): Mac
PsychoPy version (e.g. 1.84.x): 2022.2.5
Standard Standalone? (y/n) If not then what?:
What are you trying to achieve?:
I am trying to insert an outer loop to randomize blocks of my stimuli. My condition file is this.
condsFile.xlsx (8.6 KB)
and when I run my experiment, I keep getting this message “UnboundLocalError: local variable ‘trialList’ referenced before assignment”
This is my experiment file.
SeoulKr_stopC_psychopy_image_button.psyexp (241.1 KB)
What did you try to make it work?:
I tried
- converting to .csv and .xlsx.
- recreating and saving the condition file.
- removing space in cells
Please help me with me. I don’t know what’s the problem here.
What specifically went wrong when you tried that?:
Include pasted full error message if possible. “That didn’t work” is not enough information