This is a new computer running Ubuntu 17.10 with a standalone installation of PsychoPy v1.83.04
I cannot use loops in any way. I even tried creating a new experiment in the Builder [with the default routine that does nothing] and create a loop around it, for the default 5 time. But after the first run of the routine it crashes with the following output:
################### Running: /home/ilya/untitled_lastrun.py ####################
Traceback (most recent call last):
File "/home/ilya/untitled_lastrun.py", line 80, in <module>
for thisTrial in trials:
File "/usr/lib/python2.7/dist-packages/psychopy/data.py", line 951, in next
self.data.add('ran',1)
File "/usr/lib/python2.7/dist-packages/psychopy/data.py", line 3618, in add
self[thisType][position[0],position[1]]=value
File "/home/ilya/.local/lib/python2.7/site-packages/numpy/ma/core.py", line 3353, in __setitem__
_data[indx] = dval
IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices
I was using PsychoPy on many machines for couple of years and this is the 1st time I have this kind of error.