Unhandled internal error when trying to add mouse stimuli during pupil labs calibration routine

Win 10
PsychoPy version: 2020.2.10
Standard Standalone? (y/n) yes
What are you trying to achieve?:

I’m running an experiment with the pupil labs eye tracker. I added two calibration routines throughout the experiment (where the eye tracker will be calibrated). I added a mouse component so that when the calibration is done, the experimenter can end the routine with a mouse click. Everything was running fine until I added the mouse component: now the calibration ends, Psychopy gets stuck and nothing happens anymore. When I shut down Pyschopy, I get this error message:

Traceback (most recent call last):
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\runner\runner.py”, line 277, in onClose
self.onQuit()
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\runner\runner.py”, line 285, in onQuit
self.panel.stopTask()
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\runner\runner.py”, line 545, in stopTask
self.stopFile(event)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\runner\scriptProcess.py”, line 109, in stopFile
self.onProcessEnded()
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\runner\runner.py”, line 514, in onProcessEnded
ScriptProcess.onProcessEnded(self)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\runner\scriptProcess.py”, line 140, in onProcessEnded
self.app.runner.stdOut.write(buff)
AttributeError: ‘NoneType’ object has no attribute ‘stdOut’

What did you try to make it work?:
I have not yet attempted to fix this (I also would not know how). I will try to find another way to end the routine unless someone here has a tip for me :slight_smile: