MarkEvents EyeLink Component won't work

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): Win11
PsychoPy version (e.g. 2024.2.4 Py 3.8): 2024.2.4
Standard Standalone Installation? (y/n) If not then what?: Y
Do you want it to also run online? (y/n) N
What are you trying to achieve?:
I am having a new issue with PsychoPy that I cannot seem to resolve.

I have integrated my fully operational and working task with EyeLink components, as I want to use my PsychoPy experiment in an eyetracker.

However, now I have integrated the EyeLink components, I keep being met with this error that doesn’t allow me to run the experiment:

"Generating PsychoPy script…

Running: C:\Users\s1725659\OneDrive - University of Edinburgh\PhD\fMRI\Behavioural Pilot\EYELINK_PSYCHOPY\Tasks\Bisection_EyeLink_lastrun.py

89.8747 INFO Loaded monitor calibration from [‘2025_04_07 12:35’] 89.9074 INFO Loaded monitor calibration from [‘2025_04_07 12:35’] EyeLink Plugin For PsychoPy Version = 2.1.1179.post1 EDF data filename: Test Failed to load audio: setSound: could not find a sound file named type.wav Traceback (most recent call last): Using the EyeLinkCoreGraphicsPsychoPy library, version 2024.1.3, last updated on 9/19/2024 WARNING: Stimulus component type <class ‘psychopy.event.Mouse’> not supported for EyeLink event marking Event timing messages and/or Data Viewer drawing messages will not be marked for this component Consider marking the component via code component 10.2358 WARNING User requested fullscreen with size [1280 720], but screen is actually [1920, 1080]. Using actual size 3.5267 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same. File “C:\Users\s1725659\OneDrive - University of Edinburgh\PhD\fMRI\Behavioural Pilot\EYELINK_PSYCHOPY\Tasks\Bisection_EyeLink_lastrun.py”, line 2344, in run( File “C:\Users\s1725659\OneDrive - University of Edinburgh\PhD\fMRI\Behavioural Pilot\EYELINK_PSYCHOPY\Tasks\Bisection_EyeLink_lastrun.py”, line 1596, in run componentsForEyeLinkInterestAreaMessages.remove(thisComponent) NameError: name ‘componentsForEyeLinkInterestAreaMessages’ is not defined. Did you mean: ‘componentsForEyeLinkRespEventMessages’? 3.5313 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same. 3.5314 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same. 3.5314 WARNING Stopping key buffers but this could be dangerous ifother keyboards rely on the same. displayAPI: init_net() start use_tcp_only=0 displayAPI: Connecting ################ Experiment ended with exit code 1 [pid:10772] #################"

I have highlighted the most important error that is causing it to not run. I am using the EyeLink builder components, so I am not too sure how to go about fixing this error, and none of the AI/online forum suggestions have worked. It has something to do with the MarkEvents component:

Here is the code from the generated python script too:

Is anyone able to help me solve this issue?

**What did you try to make it work?:**AI/online forums, directly editing the generated python code etc. It worked when i disable the MarkEvents for testing, so it is definitely that component