I followed this youtube tutorial by Jon to build a stroop test (https://www.youtube.com/watch?v=VV6qhuQgsiI) but I have these errors when I run the experiment. When I run I can see the instructions page successfully but after I click on any key, the trial does not run and I see the following errors:
/usr/lib/python2.7/dist-packages/openpyxl/worksheet/worksheet.py:374: UserWarning: Call to deprecated function or class get_highest_column (Use the max_column propery.).
/usr/lib/python2.7/dist-packages/openpyxl/worksheet/worksheet.py:347: UserWarning: Call to deprecated function or class get_highest_row (Use the max_row property).
Traceback (most recent call last):
File "/home/alice/Documents/PyschoPyExperiments/stroop_lastrun.py", line 165, in
for thisTrial in trials:
File "/usr/lib/python2.7/dist-packages/psychopy/data.py", line 951, in next
File "/usr/lib/python2.7/dist-packages/psychopy/data.py", line 3618, in add
File "/usr/local/lib/python2.7/dist-packages/numpy/ma/core.py", line 3301, in setitem
_data[indx] = dval
IndexError: only integers, slices (
:), ellipsis (
...), numpy.newaxis (
None) and integer or boolean arrays are valid indices
AL lib: (EE) alc_cleanup: 1 device not closed
I followed the tasks to comment out specific lines from this forum: https://groups.google.com/forum/#!msg/psychopy-users/sxJtzJTc2Ww/tPXu062z-7QJ
and tried searching online for more solutions but there has been no success. I am also not using anything from the audio library either.
I am new to PsychoPy and do not know how to fix this. I am on Ubuntu 16.04 system.
Any help would be greatly appreciated! Thanks!