Running an old experiment on the newer version

Hi all,

I’m new to PsychoPy and I’m trying to run on the new version (v2021.2.2), a task that is built for an older version (1.83.04). It works completely fine on the older version, but it doesn’t run on the newer one (and I need it to play on the newer version). I am getting this error when I try to run it:

Traceback (most recent call last):
File “/Users/gh/Desktop/VISMOTOR/VISMOTOR_Scan.py”, line 23, in
import hcpcommon
File “/Users/gh/Desktop/VISMOTOR/hcpcommon/init.py”, line 1, in
from checks import checkScreenCount, frameRateWarning
ModuleNotFoundError: No module named ‘checks’

Experiment ended.

Is this task a .psyexp file for Builder or a .py file for Coder?

Hi,
It’s a .py file for Coder. You can find the task here (VISMOTOR task):
[Task Protocols for HCP Aging - Connectome

When I try to run it from the .psyexp file, I am getting this error:

Traceback (most recent call last):
File “/Users/gh/Desktop/VISMOTOR/documentation/VISMOTOR_lastrun.py”, line 105, in
raise IOError(copyMsg)
OSError: Please copy configuration text file “siteConfig.yaml.example” to “siteConfig.yaml” and edit it with your trigger and buttons.

Experiment ended.

Could you share the specific .py file from that battery you’re trying to run?

VISMOTOR_Scan.py (139.6 KB)

I can’t find this line in the .py file, is this the one you were originally trying to run or a new one generated from Builder?

You’re right, this line isn’t in the .py file. This output is generated on the Runner Window when I try to run it. The same .py file works completely fine when I run it on the older version (I have the two versions installed).