# Pavlovia - intialising experiment problems

**URL:** <https://discourse.psychopy.org/t/pavlovia-intialising-experiment-problems/18495>\
**Category:** Online experiments\
**Tags:** pavlovia\
**Created:** [November 29, 2020, 10:45am UTC](https://discourse.psychopy.org/t/pavlovia-intialising-experiment-problems/18495 "2020-11-29T10:45:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LeaT](https://avatars.discourse-cdn.com/v4/letter/l/c6cbf5/32.png) [@LeaT](https://discourse.psychopy.org/u/LeaT)\
**Post date:** [November 29, 2020, 10:45am UTC](https://discourse.psychopy.org/t/pavlovia-intialising-experiment-problems/18495/1 "2020-11-29T10:45:06Z")

</div>

URL of experiment: [https://pavlovia.org/run/Lea/prijemny-hlas/html/](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

 ![image](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/5/0/5089080f883be12a68146fa9e1f0af7aa9bb5759.png)

---

<div class="post-metadata">

**Author:** ![JensBoelte](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jensboelte/32/9060_2.png) [@JensBoelte](https://discourse.psychopy.org/u/JensBoelte)\
**Post date:** [November 29, 2020, 11:44am UTC](https://discourse.psychopy.org/t/pavlovia-intialising-experiment-problems/18495/2 "2020-11-29T11:44:54Z")

</div>

Hello Lea,

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

```auto
  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

```auto
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
