psychopy.org | Reference | Downloads | Github

I cannot translate the script into JS in Psychopy Builder

Hello, everyone.
I’m a Psychopy Beginner and trying to make the program for the online survey.
The task is the spot-difference task for children. In that experiment, the participants will click the different parts of the image and they will get the feedback. Fortunately, the program works in the Local. However, I clicked the following button, but the error occurs. I don’t know what to do, and even which line should I see? (Python code or something else?)

And here is the error message.


(Sorry for Japanese, it says that an unhandled error has occurred inside Psychopy.)
"
Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/app/builder/builder.py”, line 1339, in onPavloviaRun
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/app/builder/builder.py”, line 759, in fileExport
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/scripts/psyexpCompile.py”, line 73, in generateScript
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/scripts/psyexpCompile.py”, line 242, in compileScript
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/scripts/psyexpCompile.py”, line 214, in _makeTarget
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/experiment/_experiment.py”, line 266, in writeScript
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/experiment/routine.py”, line 340, in writeEachFrameCodeJS
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/experiment/components/keyboard/init.py”, line 314, in writeFrameCodeJS
psychopy.experiment.utils.CodeGenerationException: Variables for allowKeys aren’t supported for JS yet: "

The most important bit of this type of error message is usually at the bottom.

Have you used a variable in the allowed keys field of a keyboard component?

I appreciate your support. The error disappears now.

But, unfortunately, another problem occurs.
I managed to make my new project and jumped to the browser to run the program.



The followed screen appeared and so I clicked the experiment page, but “no information” message appeared. I surely made my project and Psychopy said Sucess! Do you know what would happen?

Sorry for asking different question in a row.

I think that Pavlovia gets confused with usernames that are just digits.

Thank you so much. After I enter Pavlovia with another account, the program worked well! :grinning: