OS: macOS Catalina 10.15.7
PsychoPy version: 2020 v2.8
Hi
I’ve been trying to use the textbox component but the experiment crashed when I run it.
Privacy settings are checked to collect input responses. Sharing the complete error message below…Please help me out!
2365.6867 INFO Loaded monitor calibration from [‘2020_01_28 21:12’]
0.3688 WARNING We strongly recommend you activate the PTB sound engine in PsychoPy prefs as the preferred audio engine. Its timing is vastly superior. Your prefs are currently set to use [‘sounddevice’, ‘PTB’, ‘pyo’, ‘pygame’] (in that order).
4.8475 WARNING User requested fullscreen with size [1024 768], but screen is actually [1440, 900]. Using actual size
7.0300 ERROR Unknown colorSpace: named
2020-11-24 03:07:04.124 python[2252:83312] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to (null)
Traceback (most recent call last):
File “/Users/sruzan/Desktop/Exp 1 Interruptions/E1Source_lastrun.py”, line 176, in
autoLog=True,
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