OpenSesame crashes on Ubuntu 16.04
I'm trying OpenSesame for the first time but unfortunately I'm running into problems with the eye-tracking template which consistently crashes on my Ubuntu install.
I did the following:
- Install OpenSesame through the PPA on Ubuntu 16.04 (current LTS release).
- Start OpenSesame in a terminal.
- Choose backend PsychoPy.
- Start experiment by clicking the play button.
- Enter subject ID.
- Select file name.
The screen turns black for ~500ms and then I'm back in the OpenSesame GUI where I see the following error message:
Stopped The experiment did not finish normally for the following reason: Unexpected error Details item-stack: experiment[run].pygaze_init[run] exception message: 'float' object cannot be interpreted as an index time: Mon Jun 12 12:12:57 2017 exception type: TypeError Traceback (also in debug window) File "/usr/lib/python2.7/dist-packages/libqtopensesame/misc/process.py", line 140, in run exp.run() File "/usr/lib/python2.7/dist-packages/libopensesame/experiment.py", line 413, in run self.items.execute(self.var.start) File "/usr/lib/python2.7/dist-packages/libopensesame/item_store.py", line 91, in execute self.run(name) File "/usr/lib/python2.7/dist-packages/libopensesame/item_store.py", line 106, in run self[name].run() File "/usr/lib/python2.7/dist-packages/libopensesame/sequence.py", line 51, in run self.experiment.items.run(_item) File "/usr/lib/python2.7/dist-packages/libopensesame/item_store.py", line 106, in run self[name].run() File "/usr/share/opensesame_plugins/pygaze_init/pygaze_init.py", line 207, in run self.beep = synth(self.experiment) File "/usr/lib/python2.7/dist-packages/openexp/synth.py", line 62, in synth _envelope = envelope(length, attack, decay, rate) File "/usr/lib/python2.7/dist-packages/openexp/synth.py", line 159, in envelope e = np.ones(length*rate) File "/usr/local/lib/python2.7/dist-packages/numpy/core/numeric.py", line 192, in ones a = empty(shape, dtype, order) TypeError: 'float' object cannot be interpreted as an index
At first, I thought that the template can perhaps not be run without changes but it does run on my colleagues Windows machine. Any advice on how to fix this issue?