Psychopy wont open after deleting data file content

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): Win10
PsychoPy version (e.g. 2024.2.4 Py 3.8): 2023.2.3
Standard Standalone Installation? (y/n) Y
Do you want it to also run online? (y/n) N
What are you trying to achieve?: Opening my psychopy file on desktop

Hi everyone,

I’ve got psychopy on my lab computer which is not connected to the internet. On Wednesday I saved my experiment to a USB stick so that I could get it on another machine and sync it so that I had a version in git should I ever have an issue with the computer.

I thought I was doing a sensible thing by deleting all the data files as these are not needed and had been generated by all my testing. Now I’ve come into the lab and I cannot open any psychopy experiment I have on the machine.

I’ve uninstalled and reinstalled the software which went smoothly. Psychopy tries to open but then fails mid way through opening. I’ve moved the deleted data files back into the data folder from the recycling bin. They’re not needed but I haven’t made any other changes.

Any ideas what might be going on here?

Thank you

I often delete my local data folder so I don’t think this is the issue.

If PsychoPy won’t open try deleting appData.cfg.

1 Like

Thanks, Wakefield. I’ve tried to find the appData.cfg but I can’t see it in any folder as I thought this might be the issue from another thread. I’ve also done a search across all files but I can’t see it. Would it be a hidden file by chance? I’ve also tried to find any hidden files but can’t see any.

ignore my last. Just found it! Will give it a go.

That has worked. Thank you. Would you mind sharing a little bit of info about what that file does? I’m still very much learning the ropes with PsychoPy

appData.cfg stores information about your current session of PsychoPy so it will look similar next time.

One issue I have noticed is that sometimes in the “frames” section (which stores information about all of the experiments you use) it will have the same experiment mentioned twice, which breaks PsychoPy when you try to open it.

Thats clear. Many thanks!