Error when changing version

Hello

I need to set the PsychoPy-version to 2024.1.4 for a couple of experiments. All expect one compile without errors. One experiment give the following error message which seems related to the version switch. The program compiles without any error message when not switching the version.

Here some more information from the Runner

1.1537 ERROR b’error: The following untracked working tree files would be overwritten by checkout:\n\tpsychopy/app/plugin_manager/output.py\n\tpsychopy/experiment/questPlusTemplate.xltx\n\tpsychopy/experiment/questTemplate.xltx\n\tpsychopy/experiment/staircaseTemplate.xltx\n\tpsychopy/tools/environmenttools.py\nPlease move or remove them before you switch branches.\nAborting\n’

Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\builder\builder.py”, line 890, in fileExport
exportPath = self.generateScript(
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\scripts\psyexpCompile.py”, line 82, in generateScript
raise LegacyScriptError(
psychopy.scripts.psyexpCompile.LegacyScriptError: Error: Script compile exited with code 1. Traceback:
Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\runpy.py”, line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File “C:\Program Files\PsychoPy\lib\runpy.py”, line 87, in _run_code
exec(code, run_globals)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\scripts\psyexpCompile.py”, line 233, in
compileScript(args.infile, args.version, args.outfile)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\scripts\psyexpCompile.py”, line 222, in compileScript
version = _setVersion(version)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\scripts\psyexpCompile.py”, line 121, in _setVersion
useVersion(version)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\tools\versionchooser.py”, line 271, in useVersion
_switchToVersion(reqdMajorMinorPatch)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\tools\versionchooser.py”, line 360, in _switchToVersion
_checkout(requestedVersion)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\tools\versionchooser.py”, line 549, in _checkout
raise ChildProcessError(
ChildProcessError: Error: process exited with code 1, check log for output.

Any idea how to resolve this problem?

Best wishes Jens

Does that experiment have a staircase? There’s at least one recent bugfix which might have an impact in 2024.2.0

Hello

No, there is no staircase in this experiment. I followed the advice to (re)move the mentioned files. But then PsychoPY won’t start.

Best wishes Jens