| Reference | Downloads | Github

Experiment doesn't load

OS MacOS Sierra
PsychoPy version 1.84.0
Standard Standalone? Yes

What are you trying to achieve?:
Yesterday I got help making an experiment in Builder mode and it ran perfectly. When I try loading it today PsychoPy doesn’t open it.
Here is the file: CExperimentFinal.psyexp (28.9 KB)

What did you try to make it work?:
Not much, since I’m new with PsychoPy and don’t know how to troubleshoot.

I got this error command:
Failed to load /Users/linneahamrefors/Desktop/PsychoPy/CExperimentFinal.psyexp. Please send the following to the PsychoPy user list
Traceback (most recent call last):
File “/Applications/”, line 1473, in fileOpen
File “/Applications/”, line 596, in loadFromXML
KeyError: ‘trial’
Traceback (most recent call last):
File “/Applications/”, line 1485, in fileOpen
self.updateAllViews() # if frozen effect will be visible on thaw
File “/Applications/”, line 1718, in updateAllViews
File “/Applications/”, line 644, in draw
thisTerm = self.loops[thisLoop][‘term’]
KeyError: ‘term’

Very grateful for help!

Already discussed here:

Did you change the names of any of your routines? There is a bug in your version of psychopy that causes what you are describing. You will want to update, and then you will be able to open your file but your routines will all be out of place…

Yes, I found a previous thread that solved it for me. Anyhow, thank you so much for replying so quickly!