I’m trying to run this eyetracking demo script from the Psychopy github repo, but it gives a perplexing error.
Here’s the error I get:
##### Running: C:\PATH_TO_FILE\simple.py ##### Traceback (most recent call last): File "C:\PATH_TO_FILE\simple.py", line 40, in <module> r = tracker.runSetupProcedure() File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\iohub\client\__init__.py", line 63, in __call__ r = r[1:] TypeError: 'NoneType' object has no attribute '__getitem__'
It looks like this error arises in
psychopy.iohub.client.__init__.py during the
DeviceRPC class definition, but I’m not sure where that class is being instantiated.
Another strange thing about this error: The error appears on the Psychopy output window before the Eyelink config screen appears. However, nothing in the script executes after
r = tracker.runSetupProcedure().
Any suggestions would be greatly appreciated!
System details: Eyelink 1000, Psychopy 1.90.2, Windows 10