| Reference | Downloads | Github

WindowsError in TextStim: access violation reading 0x00000010

Hi there,

I am trying to run an attentional blink paradigm. However, after around 190 to 200 trials I receive this error message :
Traceback (most recent call last):
File “C:\Andre\Andre Paris\LaPsyDé\projects\SNARC in AB Johana Brout\”, line 118, in
File “C:\Program Files (x86)\PsychoPy3_PY2\lib\site-packages\psychopy\visual\”, line 800, in draw
File “C:\Program Files (x86)\PsychoPy3_PY2\lib\site-packages\pyglet\font\”, line 557, in draw
File “C:\Program Files (x86)\PsychoPy3_PY2\lib\site-packages\pyglet\text\”, line 897, in draw
File "C:\Program Files (x86)\PsychoPy3_PY2\lib\site-packages\pyglet\graphics_init
.py", line 560, in draw
File "C:\Program Files (x86)\PsychoPy3_PY2\lib\site-packages\pyglet\graphics_init
.py", line 492, in
(lambda d, m: lambda: d.draw(m))(domain, mode))
File “C:\Program Files (x86)\PsychoPy3_PY2\lib\site-packages\pyglet\graphics\”, line 316, in draw
glDrawArrays(mode, starts[0], sizes[0])
WindowsError: exception: access violation reading 0x00000010

It traces back to this code snippet which presents my list of letters:

letter_stream = random.sample(available_letters, stream_length) #available_letters is just a list of letters

for letter, color in zip(letter_stream, colors):
#letter_text.setText(letter) #originally I used this deprecated way of updating my TextStim
letter_text.text= letter #now I use this one - does not change anything.
letter_text.color= color
core.wait(letter_duration) #=0.04
core.wait(interstimulus_duration) # 0.01

What could go wrong here? I am running a windows10 Pro with 32GB RAM and a AMD Radeon T R7 450. Psychopy v3.0.0b10 for python 2.7

Any help is greatly appreciated.

problem solved. driver update did the magic.