Error from running experiment

Hi! I’m a student in a research lab and I was given a PsychoPy file to run and look through for help building my own task.

However, when I run the task, I get this error:

Traceback (most recent call last):
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\builder\”, line 1066, in runFile
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\runner\”, line 554, in runLocal
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\scripts\”, line 73, in generateScript
compileScript(infile=exp, version=None, outfile=filename)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\scripts\”, line 242, in compileScript
_makeTarget(thisExp, outfile, targetOutput)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\scripts\”, line 221, in makeTarget
script = thisExp.writeScript(outfile, target=targetOutput)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\”, line 206, in writeScript
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\experiment\”, line 207, in writeBody
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\experiment\”, line 123, in writeInitCode
File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\experiment\components\text_init
.py", line 120, in writeInitCode
buff.writeIndentedLines(code % inits)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\experiment\”, line 215, in str
TypeError: Can’t represent a Param of type color

I’m not sure what happened here. Does anyone have any ideas or how to fix it?

This happens when you try to open a 2021 project in a 2020 version of PsychoPy. Are you able to upgrade your version?