"Attribute error": 'NoneType' object has no attibute 'stdOut;

Hi,

I’ve been working on the newest version of Psychopy and am having trouble with the mouse click component. I created a button with a normal text component and a corresponding mouse component. The first time I tested it, it worked. But when I renamed the text component, the experiment would cut out as soon as I clicked the button. When I renamed it, I also made sure to change the name of the ‘clickable stimuli’ in the mouse component accordingly, so I’m not sure what is going wrong.

I got the following error message:

Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\runner\scriptProcess.py”, line 123, in whileRunningFile
self.onProcessEnded()
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\runner\runner.py”, line 644, in onProcessEnded
ScriptProcess.onProcessEnded(self)
File “C:\Program Files\PsychoPy\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’

Any help would be appreciated, thank you!

Does this help?

I ended up undoing what I did and it seems to be working fine now, but I will keep that in mind - thank you!