Textbox error: unknown colorspace: named in Psychopy 2022.2.5

Hi,

When creating a very simple experiment with just one routine containing just a textbox component, the following error is thrown. I have tried various settings for the textbox, tried adding a keyboard component as well, and tried different versions of psychopy (using the settings method to change versions), but the error persists. I saw a similar post from 2020 but it did not seem to show a solution. I can’t see how textboxes work for others. Do textboxes work yet or should I stick to the manually coded text entry method?

Generating PsychoPy script…

Hello from the pygame community. https://www.pygame.org/contribute.html
47.3271 WARNING User requested fullscreen with size [1536 864], but screen is actually [1920, 1080]. Using actual size
50.1182 WARNING t of last frame was 8.85ms (=1/112)
50.1302 WARNING t of last frame was 11.97ms (=1/83)
50.4691 ERROR Unknown colorSpace: named
Traceback (most recent call last):
File path, line 99, in
autoLog=True,
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\textbox2\textbox2.py”, line 211, in init
self.text = text if text is not None else “”
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\tools\attributetools.py”, line 32, in set
newValue = self.func(obj, value)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\textbox2\textbox2.py”, line 293, in text
self._layout()
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\textbox2\textbox2.py”, line 469, in _layout
self.glFont.upload()
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\textbox2\fontmanager.py”, line 504, in upload
self.atlas.upload()
File “C:\Program Files\PsychoPy3\lib\site-packages\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

Experiment ended.