Experiment code not loading

Failed to load C:\Users\Public\Desktop\WebSurfRevised2016\MRI_WebSurf_Behavioral2016_UpdatedJune2016.psyexp. Please send the following to the PsychoPy user list Traceback (most recent call last): File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy-1.84.1-py2.7.egg\psychopy\app\builder\builder.py”, line 1473, in fileOpen self.exp.loadFromXML(filename) File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy-1.84.1-py2.7.egg\psychopy\app\builder\experiment.py”, line 447, in loadFromXML self._doc.parse(filename) File “C:\Program Files (x86)\PsychoPy2\lib\xml\etree\ElementTree.py”, line 647, in parse source = open(source, “rb”) IOError: [Errno 13] Permission denied: u’C:\Users\Public\Desktop\WebSurfRevised2016\MRI_WebSurf_Behavioral2016_UpdatedJune2016.psyexp’ Traceback (most recent call last): File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy-1.84.1-py2.7.egg\psychopy\app\builder\builder.py”, line 1907, in runFile f = codecs.open(fullPath, ‘w’, ‘utf-8’) File “C:\Program Files (x86)\PsychoPy2\lib\codecs.py”, line 896, in open file = builtin.open(filename, mode, buffering) IOError: [Errno 13] Permission denied: u’C:\Users\Public\Desktop\WebSurfRevised2016\MRI_WebSurf_Behavioral2016_UpdatedJune2016_lastrun.py’

The error given is a permissions error, meaning that you’re not allowed to write to that folder (do some googling for more general info about file permissions).

It looks like your experiment is in a public folder. Can you run it in a folder belonging to you (anywhere under C:\Users\yourusername)?