Big Five Inventory (BFI) demo is not working

OS (e.g. Win10): macOS Big Sur

PsychoPy version (e.g. 1.84.x): 2020.2.8

Standard Standalone? (y/n) If not then what?:Y

What are you trying to achieve?:
The demo can not be working.

What did you try to make it work?:
I have checked the demo in Window 10 and it is working in Windows 10.

What specifically went wrong when you tried that?:
The demo is not working and is ended.

Include pasted full error message if possible. “That didn’t work” is not enough information.
Traceback (most recent call last):
File “/Users/thomaschen/Documents/PsychoPy3 Demos/BigFiveInventory/Form_lastrun.py”, line 93, in
itemPadding=0.06,)
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/visual/form.py”, line 144, in init
self._createItemCtrls()
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/visual/form.py”, line 670, in _createItemCtrls
self._setQuestion(item)
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/visual/form.py”, line 375, in _setQuestion
font=‘Arial’)
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/visual/textbox2/textbox2.py”, line 211, in init
self.text = text if text is not None else “”
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/tools/attributetools.py”, line 32, in set
newValue = self.func(obj, value)
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/visual/textbox2/textbox2.py”, line 293, in text
self._layout()
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/visual/textbox2/textbox2.py”, line 469, in _layout
self.glFont.upload()
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/visual/textbox2/fontmanager.py”, line 504, in upload
self.atlas.upload()
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/visual/textbox2/fontmanager.py”, line 301, in upload
gl.GL_ALPHA, gl.GL_UNSIGNED_BYTE, self.data)
ctypes.ArgumentError: argument 9: <class ‘TypeError’>: wrong type

Thank you so much.

Hi There,

Thanks for flagging this - this looks like a bug, we will look into this now. For now, open your experiment settings and in the ‘Use Version’ select 2020.2.6.

Becca

Dear Becca,

Got it.

Thanks.

Chen

Looks like it’s not liking the font, could be an issue with what fonts are available on Mac. Forms are currently hard-coded to be in Arial, so it’s possible it’s not finding Arial locally on your machine. I’ll look into this, though I’m hoping to add more customisability to Forms for the next major release!

Dear Parsons,

Thanks for your reply. Now I know what the problem is. I am looking forward to your further information and hoping to more customizability to Form too.

Regards,

Chen