Python in-line script in red/gray + backend frozen
Hi,
When I try to run my experiment in the lab (On my own laptop the experiment runs properly), some of the implemented in-line scripts are shown with a red and grayish Python icon instead of the usual blue/yellowish one. At the same time, the PsychoPy backend freezes, preventing me from running the experiment. However, I have noticed that if I open a new OpenSesame file and copy the experiment section by section, the experiment can be run again. This issue is quite annoying and time-consuming. Could you please inform me of the reason behind this behavior and any potential solutions?
Best regards,
PariShad
Comments
Hi @Pari ,
It sounds like you're running two different versions of OpenSesame: an outdated version based on Python 2 in the lab (which indeed indicated Python syntax errors with a red/gray icon); and a more recent version based on Python 3 on your own laptop. The solution is simply to make sure that you're developing and running your experiment using the same version of OpenSesame, ideally the most recent version!
— Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!