Hi! I need a PsychoJS version of my experiment that can be run on 2020.1.3. So, I open a clean builder page, set the PsychoPy version in the experiment settings to 2020.1.3. However, if I put a simple routine (such as display text + polygon + mouse component to proceed when the polygon is clicked) and try to Export HTML, I get the following list of errors. I have always been using the most recent PsychoPy version, and I do not know what I can do to make the program backwards compatible. What am I doing wrong?
Cheers!
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
9.3865 WARNING We strongly recommend you activate the PTB sound engine in PsychoPy prefs as the preferred audio engine. Its timing is vastly superior. Your prefs are currently set to use [âsounddeviceâ, âPTBâ, âpyoâ, âpygameâ] (in that order).
9.4010 WARNING Parameter âData file delimiterâ is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
9.4012 WARNING Parameter âResourcesâ is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
9.4100 WARNING Parameter âBefore Experimentâ is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
9.4101 WARNING Parameter âBefore JS Experimentâ is not known to this version of PsychoPy but has come from your experiment file (saved by a future version of PsychoPy?). This experiment may not run correctly in the current version.
Traceback (most recent call last):
File âC:\Program Files\PsychoPy3\lib\runpy.pyâ, line 193, in _run_module_as_main
âmainâ, mod_spec)
File âC:\Program Files\PsychoPy3\lib\runpy.pyâ, line 85, in _run_code
exec(code, run_globals)
File âC:\Program Files\PsychoPy3\lib\site-packages\psychopy\scripts\psyexpCompile.pyâ, line 250, in
compileScript(args.infile, args.version, args.outfile)
File âC:\Program Files\PsychoPy3\lib\site-packages\psychopy\scripts\psyexpCompile.pyâ, line 242, in compileScript
_makeTarget(thisExp, outfile, targetOutput)
File âC:\Program Files\PsychoPy3\lib\site-packages\psychopy\scripts\psyexpCompile.pyâ, line 214, in makeTarget
script = thisExp.writeScript(outfile, target=targetOutput, modular=True)
File âC:\Users\bartl\AppData\Roaming\psychopy3\versions\psychopy\experiment_experiment.pyâ, line 223, in writeScript
entry.writeInitCodeJS(script)
File âC:\Users\bartl\AppData\Roaming\psychopy3\versions\psychopy\experiment\routine.pyâ, line 124, in writeInitCodeJS
thisCompon.writeInitCodeJS(buff)
File "C:\Users\bartl\AppData\Roaming\psychopy3\versions\psychopy\experiment\components\text_init.py", line 161, in writeInitCodeJS
buff.writeIndentedLines(code % inits)
File âC:\Users\bartl\AppData\Roaming\psychopy3\versions\psychopy\experiment\params.pyâ, line 204, in str
self.valType)
TypeError: Canât represent a Param of type extendedStr
440.0644 INFO C:\Program Files\PsychoPy3\python.exe -m psychopy.scripts.psyexpCompile D:\Dokumenty\PsychoPy\arty2\1\learningNW.psyexp -o D:\Dokumenty\PsychoPy\arty2\1\learningNW.js -v 2020.1.3