I am currently trying to run an EEG + Eye Tracker experiment in PsychoPy (v.2022.2.5) and Eye Link 1000 plus (v.5.09).
I obtained the EEG and ET script from a colleague from another university which had no problem with it. I have managed to make it run with my specific experiment perfectly with only EEG, but, when I include the ET a persistent error arises: when it is supposed to save the edf file and close the experiment, it crashes and an error from outside of psychopy pops up. A temporal edf file is created, but not a permanent one.
The pop up window says: “Psychopy stopped working. The program stopped working correctly due to an issue. Windows will close the program and will notify yo if there is any solution.”
The line where we obtain the error in our code is:
and the error we obtain is:
AttributeError: ‘NoneType’ object has no attribute ‘get_input_key’
Fatal Python error: (pygame parachute) Segmentation Fault
Python runtime state: initialized
We think that it has something to do with pygame and maybe the screen?
We have contacted SR Research Support Staff and they provided us with sample experiments which worked perfectly in the same computer and in the same Psychopy environment, after comparing those to ours, we dont seem to find where the problem is.
I would very much appreciate any type of insights or comments!!