Pavlovia - intialising experiment problems

URL of experiment: https://pavlovia.org/run/Lea/prijemny-hlas/html/

Description of the problem:

Dear all,

I have been having problems running my experiment online by connecting PsychoPy(2020.2.5v) experiment to Pavlovia.

It keeps telling me there is an error in Java script (see below in the picture).

Could you please help me out?

Many thanks in advance.

I would be really grateful for your help.

Best wishes,
Lea

Hello Lea,

you have a syntax error in your JavaScript which prevents the experiment from initialising

  blankClock = new util.Clock();
  text_3 = new visual.TextStim({
    win: psychoJS.window,
    name: 'text_3',
    text: /*  */
    font: 'Arial',
    units: undefined, 
    pos: [0, 0], height: 0.1,  wrapWidth: undefined, ori: 0,
    color: new util.Color('white'),  opacity: 1,
    depth: 0.0 
  });

You initialise a string with nothing
text_3 = ""
which throws an error in psychopy 2020.2.5. when running online. Initliase your string with a space or some dummy text

text_3 = "."

or
text_3 = "dummy"
or
text_3 = " "
or upgarde to the current version 2020.2.8. This error has been fixed in the meantime.

Best wishes Jens