OS (e.g. Win10): mac 10.15.4
PsychoPy version (e.g. 1.84.x): 2020.1.2
Standard Standalone? (y/n) If not then what?: y
What are you trying to achieve?:
I have this old exp that I can still run [github link removed after problem solved ]. I just refactored it: the stimuli are slightly different, but I meant to use the same paradigm [github link removed after problem solved ]. I copied the .psyexp file over, and when I run it, psychopy crushes after instruction presentation and gives me
2020-05-18 23:32:20.511 python[2618:50957] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to (null) Traceback (most recent call last): File "/Users/xzfang/Desktop/exp1/popout_cindy_lastrun.py", line 267, in <module> trialList=data.importConditions(cur_block_file_name), File "/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/psychopy/data/utils.py", line 417, in importConditions (fileName, len(trialList), len(fieldNames))) UnboundLocalError: local variable 'trialList' referenced before assignment ##### Experiment ended. #####
I am stumped, waiting for help.