media_player_mpy not working; Error: name 'unicode' is not definded
in OpenSesame
Hello,
I want to show two gifs and the testperson has to decide between these two. But I cant even show one gif file. I keep getting this error:
- item-stack:
experiment[run].training_loop[run].training_blocks[run].trainig_trials[run].training_sequence[prepare].gif_stimuli[prepare] - time:
Fri May 29 12:52:23 2020 - exception type:
NameError - exception message:
name 'unicode' is not defined
I already tried to run it with python2, because I read that this is a bug from python, but it did not help.
Anyone who knows, what else I could try. Thanks!
Comments
had the same problem here.
This is a bug in the media_player_mpy plugin and needs to be fixed by the OS developers.
As a hotfix, you need to navigate to
OpenSesame\share\opensesame_plugins\media_player_mpy
and open \media_player_mpy.py
in line 139, change
to
I have reported the issue.
https://github.com/smathot/OpenSesame/issues/699