Oh, here’s the message:
Generating PsychoPy script…
########### Running: C:\Users\ASUS\Desktop\Psycho\Python_lastrun.py ############
1752.5398 EXP Imported …\Users\ASUS\Desktop\Psycho\target.xlsx as conditions, 5 conditions, 1 params
1752.7238 INFO Loaded monitor calibration from [‘2021_03_18 13:05’]
1752.8487 EXP Imported …\Users\ASUS\Desktop\Psycho\target.xlsx as conditions, 5 conditions, 1 params
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
13.5872 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).
52.4818 WARNING User requested fullscreen with size [1024 768], but screen is actually [1366, 768]. Using actual size
Traceback (most recent call last):
File “C:\Users\ASUS\Desktop\Psycho\Python_lastrun.py”, line 111, in
Wlc_text.setText('Welcome to the experiment.\n\nPress SPACE to continue. ')
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\text.py”, line 374, in setText
setAttribute(self, ‘text’, text, log)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\tools\attributetools.py”, line 141, in setAttribute
setattr(self, attrib, value)
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\text.py”, line 365, in text
self._setTextShaders(text)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\text.py”, line 389, in _setTextShaders
multiline=True, width=self.wrapWidthPix) # width of the frame
File "C:\Program Files\PsychoPy3\lib\site-packages\pyglet\text_init.py", line 462, in init
‘align’: align,
File “C:\Program Files\PsychoPy3\lib\site-packages\pyglet\text\document.py”, line 604, in set_style
0, len(self.text), attributes)
File “C:\Program Files\PsychoPy3\lib\site-packages\pyglet\text\document.py”, line 512, in set_style
self.dispatch_event(‘on_style_text’, start, end, attributes)
File “C:\Program Files\PsychoPy3\lib\site-packages\pyglet\event.py”, line 418, in dispatch_event
if handler(*args):
File “C:\Program Files\PsychoPy3\lib\site-packages\pyglet\text\layout.py”, line 1073, in on_style_text
self._init_document()
File “C:\Program Files\PsychoPy3\lib\site-packages\pyglet\text\layout.py”, line 1043, in _init_document
self._update()
File “C:\Program Files\PsychoPy3\lib\site-packages\pyglet\text\layout.py”, line 966, in _update
lines = self._get_lines()
File “C:\Program Files\PsychoPy3\lib\site-packages\pyglet\text\layout.py”, line 942, in _get_lines
glyphs = self._get_glyphs()
File “C:\Program Files\PsychoPy3\lib\site-packages\pyglet\text\layout.py”, line 1085, in _get_glyphs
glyphs.extend(font.get_glyphs(text[start:end]))
File “C:\Program Files\PsychoPy3\lib\site-packages\pyglet\font\base.py”, line 394, in get_glyphs
self.glyphs[c] = glyph_renderer.render(c)
File “C:\Program Files\PsychoPy3\lib\site-packages\pyglet\font\win32.py”, line 444, in render
gdiplus.GdipGraphicsClear(self._graphics, 0x00000000)
OSError: exception: access violation writing 0x000002EAC9677A40
Experiment ended.