OS (e.g. Win10): Win 10
PsychoPy version (e.g. 1.84.x): 2020.1.3
Standard Standalone? (y/n) If not then what?: y
What are you trying to achieve?: run experiment script
What did you try to make it work?: Run script in Python
What specifically went wrong when you tried that?:
Error message
Traceback (most recent call last):
File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\scripts\psyexpCompile.py", line 74, in generateScript
compileScript(infile=exp, version=None, outfile=filename)
File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\scripts\psyexpCompile.py", line 245, in compileScript
_makeTarget(thisExp, outfile, targetOutput)
File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\scripts\psyexpCompile.py", line 236, in _makeTarget
f.write(scriptText)
OSError: [Errno 22] Invalid argument
## Running: D:\[directory]/[filename.py] ##
##### Experiment ended. #####
Welcome to PsychoPy3!
v2020.1.3
4489.2069 WARNING IPython failed as shell, using pyshell (IPython v0.12 can fail on wx)
Welcome to PsychoPy3!
v2020.1.3
4498.9833 WARNING IPython failed as shell, using pyshell (IPython v0.12 can fail on wx)
Welcome to PsychoPy3!
v2020.1.3
4504.4382 WARNING IPython failed as shell, using pyshell (IPython v0.12 can fail on wx)
Additional info:
The experiment was originally programmed in v3.2.4. I copied the folder to a new laptop running 2020.1.3. It ran fine. I then had to copy across again due to a mixup that resulted in over-writing the directory… This time however the error above occurs.