If this template helps then use it. If not then just delete and start from scratch.
OS (e.g. Win10): Windows Surface Pro
PsychoPy version (e.g. 1.84.x): old one was 3.0.2, new one is the latest one 2023.2.3
Standard Standalone? (y/n) If not then what?: Standalone
What are you trying to achieve?: I am trying to open a PsychoPy task I have created with a previous version (it was version 3.0.2) with the latest version (2023.2.3) and it does not open even after I have adjusted the version from ‘Settings’ as recommended by PsychoPy website.
What did you try to make it work?:
I tried to adjust the version from Settings, restarted, looked for similar problem in the forum and the PsychoPy website. I even tried with other versions i had in my older laptops
What specifically went wrong when you tried that?:
Include pasted full error message if possible. “That didn’t work” is not enough information.
I received this error below and advised to contact the developers:
Traceback (most recent call last):
File “C:\Users\GChronaki\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\app\builder\builder.py”, line 1275, in runFile
self.app.runner.panel.runLocal(event)
File “C:\Users\GChronaki\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\app\runner\runner.py”, line 749, in runLocal
generateScript(experimentPath=currentFile.replace(‘.psyexp’, ‘_lastrun.py’),
File “C:\Users\GChronaki\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\scripts\psyexpCompile.py”, line 86, in generateScript
raise LegacyScriptError(
psychopy.scripts.psyexpCompile.LegacyScriptError: Error: Script compile exited with code 1. Traceback:
Traceback (most recent call last):
File “C:\Users\GChronaki\AppData\Local\Programs\PsychoPy\lib\runpy.py”, line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File “C:\Users\GChronaki\AppData\Local\Programs\PsychoPy\lib\runpy.py”, line 87, in run_code
exec(code, run_globals)
File “C:\Users\GChronaki\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\scripts\psyexpCompile.py”, line 237, in
compileScript(args.infile, args.version, args.outfile)
File “C:\Users\GChronaki\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\scripts\psyexpCompile.py”, line 227, in compileScript
thisExp = getExperiment(infile, version)
File “C:\Users\GChronaki\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\scripts\psyexpCompile.py”, line 154, in getExperiment
from psychopy.app.builder import experiment
File "C:\Users\GChronaki\AppData\Roaming\psychopy3\versions\psychopy\app\builder_init.py", line 4, in
from … import experiment
File "C:\Users\GChronaki\AppData\Roaming\psychopy3\versions\psychopy\experiment_init.py", line 20, in
from .components import getInitVals, getComponents, getAllComponents
File "C:\Users\GChronaki\AppData\Roaming\psychopy3\versions\psychopy\experiment\components_init.py", line 17, in
from .base import BaseVisualComponent, BaseComponent
File “C:\Users\GChronaki\AppData\Roaming\psychopy3\versions\psychopy\experiment\components_base.py”, line 19, in
from psychopy.alerts import alerttools
File “C:\Users\GChronaki\AppData\Roaming\psychopy3\versions\psychopy\alerts\alerttools.py”, line 9, in
from psychopy.visual.textbox2.fontmanager import FontManager
File "C:\Users\GChronaki\AppData\Roaming\psychopy3\versions\psychopy\visual_init.py", line 29, in
from psychopy.visual.backends import gamma
File “C:\Users\GChronaki\AppData\Roaming\psychopy3\versions\psychopy\visual\backends\gamma.py”, line 16, in
from psychopy.tests import _vmTesting
ModuleNotFoundError: No module named ‘psychopy.tests’