psychopy icon indicating copy to clipboard operation
psychopy copied to clipboard

[Bug]: No default_eyetracker.yaml in tobbi

Open junfang219 opened this issue 1 year ago • 1 comments

PsychoPy Version

2023.2.2

What OS are your PsychoPy running on?

Windows 10

Bug Description

I tried to connect Tobii Fusion with PsychoPy and got the following error message.

FileNotFoundError: [Errno 2] No such file or directory: 'C:\Program Files\PsychoPy\lib\site-packages\psychopy\iohub\devices\eyetracker\hw\tobii\default_eyetracker.yaml'

I checked the //github.com/psychopy/psychopy/tree/dev/psychopy/iohub/devices/eyetracker/hw/tobii

Couldn't locate the default_eyetracker.yaml But found the file exists in the previous version.

Expected Behaviour

Upload the default_eyetracker.yaml to https://github.com/psychopy/psychopy/tree/dev/psychopy/iohub/devices/eyetracker/hw/tobii

Steps to Reproduce

  1. download the Tobii plugin, add the Tobii eye tracker
  2. create an eye tracking calibration and validation Routine
  3. run script ...

Additional context

No response

junfang219 avatar Oct 02 '23 17:10 junfang219

Adding to this - after manually adding the missing default_eyetracker.yaml and supported_config_settings.yaml files, calibration still does not work correctly. The initial calibration screen appears briefly (with the position information on the bottom of the screen), but the calibration stimuli do not show (I confirmed the settings from an older script) with the screen flashing every few seconds. I looked through the code for the psychopy-eyetrack-tobii plugin and I don't see any settings for the calibration circles. These were previously in tobiiCalibrationGraphics.py which is missing. Downloading that file and putting it in ```iohub/devices/eyetracker/hw/tobii](https://github.com/psychopy/psychopy/tree/dev/psychopy/iohub/devices/eyetracker/hw/tobii`` like what @junfang219 did does not work either. However, I was able to get the calibration and eye tracking data recorded if I set the UseVersion to 2022.2.5.

oricon avatar Jan 08 '24 18:01 oricon