If this template helps then use it. If not then just delete and start from scratch.
OS (e.g. Win10): Experiment runs on Win7, but was created on Win10
PsychoPy version (e.g. 1.84.x): 2021.2.3 (this is the version used on all computers, regardless of Windows version)
Standard Standalone? (y/n) If not then what?: Y
I have an experiment (file attached) that I’ve successfully run previously on Pavlovia, using a different version of PsychoPy. Now I’m running that experiment locally on PsychoPy with the newest version. To avoid any PsychoPy version conflicts, I recreated the experiment in PsychoPy 2021.2.3.
When the experiment runs, it crashes about 60% of the time. When it crashes, I receive this error:
if TPresence==0 and MouseResponse.clicked_name[0]==Finished:
IndexError: list index out of range
##### Experiment ended. #####
On the data file, it shows that a response was generated for the next trial, without showing any stimuli for that trial (file attached). I suspect that the experiment is loading the stimuli too slowly and therefore it is being shown to the participant and they’re responding before the computer is able to update and process that the next trial is being shown.
Any suggestions for why this is happening or how to stop it??
Thank you,
Elisabeth
Experiment (GitLab link for downloadability): Elisabeth Slifkin / MultipleTargetSearch · GitLab
Data file: _MultipleTargetsVSP_2021_Sep_09_1350.csv (32.6 KB)
EDIT: I have just learned about the Static Component and tried to insert one during my fixation screen, but it did not seem to help. The experiment still crashed with the same error message. I did not include any additional code in the ISI itself. I’m including pictures of my experiment flow as well as the 2 relevant routines.
The fixation cross occurs immediately before the experimental trial screen (search display). The fixation cross is visible for .5 seconds.
I have 40 image stimuli that update every repeat. I now have all 40 images set to “set during: FixCross.ISI”
These are the relevant parts of the experiment flow. The FixCross and ExpTrial routines are the same routines during the PracticeBlockLoop and ExpBlockLoop.