Hello,
I’m new to using the Builder and tried creating an experiment that could be run online.
OS : macOS High Sierra version 10.13.6
PsychoPy version : v3.0.2
Standard Standalone? yes
What are you trying to achieve?:
Upload my experiment to Pavlovia for it to show up in my Experiments tab.
What did you try to make it work?:
I created the experiment using the Builder and managed to upload it to Pavlovia’s GitHub, where all the files are showing up correctly. However, when I log into Pavlovia and go to my Experiments tab, this is empty.
What specifically went wrong when you tried that?:
Include pasted full error message if possible. “That didn’t work” is not enough information.
I tried syncing it again from within the Builder with the coder view open in the background and received the following error (the error message seems to cut off at the end):
Welcome to PsychoPy3!
v3.0.2
Traceback (most recent call last):
File “/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/psychopy/app/builder/builder.py”, line 2265, in onPavloviaSync
self.fileExport(htmlPath=self._getHtmlPath(self.filename))
File “/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/psychopy/app/builder/builder.py”, line 1682, in fileExport
target=“PsychoJS”)
File “/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/psychopy/app/builder/builder.py”, line 2241, in generateScript
psyexpCompile.compileScript(infile=self.exp, version=None, outfile=experimentPath)
File “/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/psychopy/scripts/psyexpCompile.py”, line 51, in compileScript
script = thisExp.writeScript(outfile, target=targetOutput, modular=True)
File “/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/psychopy/experiment/_experiment.py”, line 238, in writeScript
self._currentRoutine.writeEachFrameCodeJS(script)
File “/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/psychopy/experiment/routine.py”, line 279, in writeEachFrameCodeJS
comp.writeFrameCodeJS(buff)
File “/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/psychopy/experiment/components/keyboard/init.py”, line 297, in writeFrameCodeJS
“Variables for allowKeys aren’t supported for JS yet”)
psychopy.experiment.utils.CodeGenerationException: Variables for allowKeys aren’t supported for JS yet:
Any ideas would be great, thank you!