psychopy.org | Reference | Downloads | Github

Error with running online experiment


#1

URL of experiment: https://pavlovia.org/run/riftin/wshape/html/

Description of the problem:
Error
Unfortunately we encountered an error:

  • ReferenceError: None is not defined
    Try to run the experiment again. If the error persists, contact the experimenter.

Previous cases where I have got the experiment to run, the size of the stimuli was much larger than what is presented in Psychopy Builder. Is there a way to make this consistent between builder and online?

Thanks,
Richard


#2

Hi @rtindle, looks like you have not defined the text height of your text stim, and as a result your text height is None, which is not compatible with JS. I will put in a pull request to fix this by converting any NoneTypes to undefined (the JS equivalent), but in the mean time, you can just give a text height and that should do it.

For the fix, see https://github.com/psychopy/psychopy/pull/2252