| Reference | Downloads | Github

Error with running online experiment

URL of experiment:

Description of the problem:
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?


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