Test cannot be run (AttributeError: 'NoneType' object has no attribute 'filename')

Hello!

I have designed an experiment with the builder in the last few days and it was run successfully.

When I try to start it again today, the test window itself never shows up. The test worked fine in the last few days and I haven’t done any change nor update the version in between.

When i try to run the test in the coder view, I get the following message in the output field:

File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/psychopy/app/coder/coder.py”, line 2530, in runFile
fullPath = self.currentDoc.filename
AttributeError: ‘NoneType’ object has no attribute ‘filename’

Can someone give me some tips to fix the problem.

I run PsychoPy v1.84.2 on a MacOS Sierra system.

Thanks in advance for any helpful hints.
Woo

Hi,

What directory are you running the experiment from?

Can you upload your experiment so I can test it?

1 Like