Moviestim3 not working offline

OS (Win10):
PsychoPy version (2021.1.4):

What are you trying to achieve?:

Run an experiment offline with a video component.

What did you try to make it work?:

It was working yesterday. The problem extends to other experiments with video components, where the videos are not working properly (e.g., they are delayed). The experiments work properly online.

What specifically went wrong when you tried that?:

This is the error I get:

Exception ignored in: <bound method MovieStim3.del of <psychopy.visual.movie3.MovieStim3 object at 0x000001CC3053F0B8>>
Traceback (most recent call last):
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\movie3.py”, line 499, in del
self._unload()
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\movie3.py”, line 476, in _unload
self.clearTextures()
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\basevisual.py”, line 1141, in clearTextures
GL.glDeleteTextures(1, self._texID)
OSError: exception: access violation reading 0x0000000000000000

Thank you.

2 Likes

Also, when I generate the Python code, the routine containing the video component (Trials) is not initialized properly, as there is no video component code:

# Initialize components for Routine "Fixation"
FixationClock = core.Clock()
polygon = visual.ShapeStim(
    win=win, name='polygon', vertices='cross',
    size=(0.1, 0.1),
    ori=0.0, pos=(0, 0),
    lineWidth=1.0,     colorSpace='rgb',  lineColor='white', fillColor='white',
    opacity=None, depth=-1.0, interpolate=True)

# Initialize components for Routine "Trials"
TrialsClock = core.Clock()

# Initialize components for Routine "Go_NoGo"
Go_NoGoClock = core.Clock()
image = visual.ImageStim(
...

Hi @mellon I’m getting the same issue and error message. When my experiment gets to the problematic video component, the experiment crashes completely. The issue seemed to start when I added an image component into the same routine which I want to display over the video. Both the image and video components have their duration set using a variable.

Any ideas welcome! I’m using v2021.1.4 on Win10.