Can't play movie on psychopy

Hello. Complete noob when it comes to this program. I downloaded an MP4 file and I’m trying to play it in psychopy. Whenever I run the experiment, the screen crashes and I see this error in the code below: (to clarify I am using the builder not the coder).

TypeError: float() argument must be a string or a number, not ‘NoneType’
Exception ignored in: <bound method MovieStim3.del of <psychopy.visual.movie3.MovieStim3 object at 0x12e273f28>>
Traceback (most recent call last):
File “/Applications/”, line 499, in del
File “/Applications/”, line 476, in _unload
File “/Applications/”, line 1141, in clearTextures
GL.glDeleteTextures(1, self._texID)
AttributeError: ‘MovieStim3’ object has no attribute ‘_texID’

Hi There,

Please could you share a copy of your .psyexp file here so we can take a look?


I think I know the problem - when we updated to use better methods for handling colour, it opened up the possibility of handling opacity as None (allowing e.g. different opacities for the fill and outline of a shape), but I missed a call in MovieStim to opacity which doesn’t like None. If you change opacity for your movie stim to be 1 it should fix this error! I’ll also put in a bug fix for the next release to handle None properly.