Error - Unable to deal with unit: cm

URL of experiment: FMK__Session1_pilot [PsychoPy]

Description of the problem: I am trying to launch my experiment to Pavlovia, but am getting this error. I have checked all my elements, and there are no units set to cm, so I am not sure why this error is coming up. Right now, all units are set to pix and I have made all letter heights >1.

Any help is much appreciated, thanks!

cm doesn’t work online.

Your units are set to height.

psychoJS.openWindow({
  fullscr: true,
  color: new util.Color([0,0,0]),
  units: 'height',
  waitBlanking: true
});

There will be an overflow error if you put in large sizes based on pixels.

Thank you for this! I now changed everything to height, but when I run the experiment, it goes to a full black screen with no error message. Any idea on what’s going on here?

I got that when I tried. How many screen heights are the objects on that first screen?

If you press space it should continue.

Ah okay. When I pressed space it moved forward and I received this error:

  • RangeError: Maximum call stack size exceeded

I have the letter heights set to 0.05

Do you have any routines or components named with a trailing underscore (e.g. image_ )?

Nope, nothing like that. Do you think it’s a problem with the height of my text (0.05, font- open sans)? When I press the space, it begins to run and before the error all the text is huge taking up the whole screen.