Clickable button fails

Hi there,

I’ve had what may be a similar issue trying to add textbox2 to my experiment. No buttons here, but anyway it looks like the OP’s error is has something to do with textbox2 as well.

EDIT: My solution was to add a space in the default text for my textbox; this got rid of the error. Also, changing the units from ‘norm’ to ‘height’ might help (see this thread)

Traceback (most recent call last):
  File "__[redacted]__lastrun.py", line 2523, in <module>
    freeRecallResp.reset()
  File "/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/visual/textbox2/textbox2.py", line 651, in reset
    self.text = self.startText
  File "/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/visual/textbox2/textbox2.py", line 358, in text
    text = text.replace('<i>', codes['ITAL_START'])
AttributeError: 'NoneType' object has no attribute 'replace'
##### Experiment ended. #####

My routine: