psychopy.org | Reference | Downloads | Github

Keyboard bug when using eyetracker

Hi

I am encountering a bug when using the keyboard as an input to force end routine, while also using an eyetracker (Eye Link 1000).
When eyetracker is connected, calibrated and used with the experiment, psychopy will accept a key ONLY the first time it is pressed during the experiment to correctly end a trial in a loop. As long as a new key is used to force end trial during each trial, then everything works as expected. However the second time a given key is used, two presses of that key is required to force end the routine.
I have checked the log files, and both the first and second key press is registered there, however there is only a response after the second key press.

Has anybody encountered anything similar or can think of a possible fix?
When ‘calibration’, ‘validation’, ‘etRecord’ and ‘roi’ is disabled for testing, everything works as normally expected.

OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): 2021.2.3
Standard Standalone? (y/n) yes

Yes, this is related to your other post. Using eyetracker causes experiment slowdown/unresponsiveness - #2 by sol

Until this issue is fixed you need to start / stop recording when it is unlikely that a key press / release event that is needed will occur. For example by start recording right after calibration and ending recording at the end the block of trials instead of doing so at the start / end of each trial.

again, sorry for any inconvience.

Hi sol

Thanks again for the quick reply!