Error while trying to save changes to experiment

OS (e.g. Win11):
PsychoPy version (e.g. 1.84.x):

Hi all,

Whenever I make any changes to my experiment (e.g., even just changing the text and trying to save this change), PsychoPy is saying there is an “unhandled internal error”. Below is the error message:

Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\builder\”, line 731, in fileSave
filename = self.exp.saveToXML(filename)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\”, line 339, in saveToXML
with, ‘wb’, encoding=‘utf-8-sig’) as f:
File “C:\Program Files\PsychoPy\lib\”, line 897, in open
file =, mode, buffering)
PermissionError: [Errno 13] Permission denied: ‘C:\Users\61449\AppData\Local\Temp\\cheerleader_exp.psyexp’

This issue is only happening for the current experiment. There are no issues in saving chances to any other experiment.
There is no given prompt or way mentioned to troubleshoot this except to “contact the developers”.

Is there a way to fix this? Any help would be much appreciated!

Many thanks,


it looks as if you were saving the experiment to a temp folder in zip-file. Try a different file name for saving the experiment.

Best wishes Jens

1 Like

Hi Jens,

Thank you so much for your reply!

Following your advice, when I saved the file to a different folder, the issue was resolved.

Many thanks,