psychopy.org | Reference | Downloads | Github

Internal Error - Only the background screen is displayed

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

Problem::

Dear Community,

when I try to start an experiment in the runner (which was previously built in the builder), only the background is displayed - regardless of the experiment, which is why I suspect that it is not the code. After all, the window can only be closed using the Task Manager. Below the error.

Many thanks for your help!

What did you try to make it work?: I uninstalled PsychoPy and reinstalled it.

What specifically went wrong when you tried that?:

Traceback (most recent call last):
  File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\runner\runner.py", line 274, in onClose
    self.onQuit()
  File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\runner\runner.py", line 282, in onQuit
    self.panel.stopTask()
  File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\runner\runner.py", line 541, in stopTask
    self.stopFile(event)
  File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\runner\scriptProcess.py", line 107, in stopFile
    self.onProcessEnded()
  File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\runner\runner.py", line 510, in onProcessEnded
    ScriptProcess.onProcessEnded(self)
  File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\runner\scriptProcess.py", line 133, in onProcessEnded
    self.app.runner.stdOut.write(buff)
AttributeError: 'NoneType' object has no attribute 'stdOut'

In addition: Running a demo directly in the coder works. Maybe it has something to do with the Experiment Runner?

PS: The starting page of the experiment was finally displayed. But it took a few minutes and afterwards the error in the starting post of this thread was displayed.

This is a known bug - if you close Runner or if you have your preferences set up so that only the Builder or Coder window opens on launch, then the app’s internal representation of Runner is just None and so any attempt to send things to the output window causes this error. To fix, just set your preferences to open Builder, Coder and Runner on launch and try to avoid closing the Runner.

2020.2.5 will be out soon and will have this issue fixed!

1 Like