If this template helps then use it. If not then just delete and start from scratch.
OS (e.g. Win10): 10
PsychoPy version (e.g. 1.84.x): 2022.2.5
Standard Standalone? (y/n) If not then what?: Y
joetest_2.psyexp (21.8 KB)
What are you trying to achieve?:
Hello, I am trying to display two images in a sequence and pause the sequence playing a video whenever the letter ‘p’ is pressed. Then when the experimenter presses ‘spacebar’ the video/pause should stop and the sequence should continue again.
If the ‘p’ key is not pressed the sequence should continue, however it stops after 2 trials.
What specifically went wrong when you tried that?:
The experiment stops after 2 trials if the condition is not met (= if not ‘p’ is pressed) or if the video runs for multiple loops.
** full error message**
Running: C:\Users\ebroggin\Desktop\Silvia\EEG Body\stroop\joetest_2_lastrun.py
19348.7356 INFO Loaded monitor calibration from [‘2022_06_20 15:13’]
pygame 2.1.0 (SDL 2.0.16, Python 3.8.10)
2.5421 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).
Traceback (most recent call last):
File “C:\Users\ebroggin\Desktop\Silvia\EEG Body\stroop\joetest_2_lastrun.py”, line 400, in
movie.stop()
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\movie3.py”, line 310, in stop
self._unload()
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\movie3.py”, line 551, in _unload
self.clearTextures()
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\basevisual.py”, line 1238, in clearTextures
GL.glDeleteTextures(1, self._texID)
OSError: exception: access violation reading 0x0000000000000000
Exception ignored in: <function MovieStim3.del at 0x0000016FB167D310>
8.5723 WARNING User requested fullscreen with size [1920 1080], but screen is actually [2560, 1440]. Using actual size
15.1992 WARNING 1.0360017000930384: Video catchup needed, advancing self._nextFrameT from 0.0 to 0.04
15.1993 WARNING 1.036052200011909: Video catchup needed, advancing self._nextFrameT from 0.04 to 0.08
15.1993 WARNING 1.036067200009711: Video catchup needed, advancing self._nextFrameT from 0.08 to 0.12
15.1993 WARNING 1.0360958999954164: Video catchup needed, advancing self._nextFrameT from 0.12 to 0.16
15.1993 WARNING 1.0361095000989735: Video catchup needed, advancing self._nextFrameT from 0.16 to 0.2
15.1993 WARNING 1.036122600082308: Video catchup needed, advancing self._nextFrameT from 0.2 to 0.24000000000000002
15.1994 WARNING 1.036135800066404: Video catchup needed, advancing self._nextFrameT from 0.24000000000000002 to 0.28
15.1994 WARNING 1.0361626000376418: Video catchup needed, advancing self._nextFrameT from 0.28 to 0.32
15.1994 WARNING 1.0361755000194535: Video catchup needed, advancing self._nextFrameT from 0.32 to 0.36
15.1994 WARNING 1.036192600033246: Video catchup needed, advancing self._nextFrameT from 0.36 to 0.39999999999999997
15.1994 WARNING Max reportNDroppedFrames reached, will not log any more dropped frames
1.5808 WARNING Monitor specification not found. Creating a temporary one…
Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\movie3.py”, line 574, in del
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\movie3.py”, line 551, in _unload
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\visual\basevisual.py”, line 1238, in clearTextures
OSError: exception: access violation reading 0x0000000000000000
################ Experiment ended with exit code 1 [pid:17852] #################
19372.8089 INFO Loaded monitor calibration from [‘2022_06_20 15:13’]