Hi all,
I am using PsychoPy 3.1.5. Win 10.
HTML: https://run.pavlovia.org/Klara/baserate/html/
I was trying to run my experiment online, but it is stuck on ‘‘initialising the experiment’’. Web console says that there is ‘‘Uncaught SyntaxError: missing ) after argument list’’ at line 1187:
-------Ending Routine “pamcenje”-------
for thisComponent in pamcenjeComponents:
if hasattr(thisComponent, "setAutoDraw"):
thisComponent.setAutoDraw(False)
vjezba.addData('image_3.started', image_3.tStartRefresh)
vjezba.addData('image_3.stopped', image_3.tStopRefresh)
vjezba.addData('text_12.started', text_12.tStartRefresh)
vjezba.addData('text_12.stopped', text_12.tStopRefresh)
# check responses
if key_resp_5.keys in ['', [], None]: # No response was made
key_resp_5.keys = None
vjezba.addData('key_resp_5.keys',key_resp_5.keys)
if key_resp_5.keys != None: # we had a response
vjezba.addData('key_resp_5.rt', key_resp_5.rt )
vjezba.addData('key_resp_5.started', key_resp_5.tStartRefresh)
vjezba.addData('key_resp_5.stopped', key_resp_5.tStopRefresh)
These lines look like this, and I couldn’t see where the problem was. I’ve also tried to use JSHint to see was there any syntax error, but I don’t see any.
Thank you in advance for your help,
Klara