Cannot open specific builder file after an accidental end

*M1 Pro, Ventura 13.4.1
*Psychopy v2024.2.1

There was an accidental end of Psychopy Runner.
After this, ‘.psyexp’ file with which I’m working does not open with the error message below.
Other files open well.
What’s the problem…

Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/builder/builder.py”, line 764, in fileOpen
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/builder/builder.py”, line 1088, in updateAllViews
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/builder/builder.py”, line 4138, in draw
KeyError: ‘term’

Here’s a possible solution:

@wakecarter Thank you very much for prompt response.
However in my case, there were no error messages about ‘Routine name’.
So I don’t know exactly which routine name triggers the problem or which routine name I had changed.

+) Even if I compared my present file with previous file which was at gitlab, there had not been changes of Rountine Name

If you have synced to Gitlab, then download a previous version and revert to that. You can also look at the differences made to the psyexp file by each commit.