Hi!
I am trying to add a MovieStim component in a routine, and the appearance of the movie is determined by a loop’s condition file. The problem is, when the path in the condition file is empty, the following error occurs
D:\psychopy\lib\site-packages\psychopy\visual\movies\players\ffpyplayer_player.py", line 759, in start
handle = MediaPlayer(self._filename, ff_opts=self._lastPlayerOpts)
File “ffpyplayer\player\player.pyx”, line 409, in ffpyplayer.player.player.MediaPlayer.cinit
TypeError: expected bytes, NoneType found
Here is my experimental procedure
below is my condition file. I need the movie component to not appear when isinterrupt
is 0, i.e., when the videofile
is empty. However, this causes an error.
I don’t know what went wrong.There are no spaces in the table.