Mac OSX 14.14
Stand alone PsychoPy2 (v1.90.3)
Stand alone PsychoPy3
I stated trying to make a Tobii eye tracker work with PsychoPy3, but that was way beyond me.
I downloaded PsychoPy2, and just tried the demo Stroop (ioHUB keyboard). It only involves a keyboard so it should work. But it didn’t. I will attach the file and the .yaml file, although its within PsychoPy. I changed the .yaml to .py so you will have to change it back. It crashes at:
io = client.ioHubConnection(io_config) It does write an empty .hdf5 file.
I know it opens the yaml file. I have tried all kinds of variations. I tried all kinds of variations with the tobii and the code in Chapter 19 of the PsychoPy book (excellent, BTW). I get the same error. I changed the screen dimensions in the yaml file to fit my screen, and other things. The yaml file is in the same folder as the program.
Jon once suggested that I use the shell to find out what is being loaded. With the Tobii eyetracker example this is the slimmest thing I could do. First, I am sure I am in the correct folder.
from psychopy.iohub import util, client
config_file = ‘tobii_std.yaml’
io_config = util.readConfig(config_file)
io = client.ioHubConnection(io_config)
Traceback (most recent call last):
File “”, line 1, in
File “/Users/williamprinzmet/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/psychopy/iohub/client/init.py”, line 290, in init
RuntimeError: Error starting ioHub server
I thought something might be wrong with my computer so I reinstalled the OS 3 times and ran every diagnostic I could think of. I get the exact same error with PsychoPy2 and PsychoPy3. Need some new ideas to try. Could I have something running that interferes with the ioHUB. Turned off virus protection, etc. In system settings>privacy>accessibility allow PsychPy to do whatever.