Can't upload experiment to Pavlovia

Description of the problem:
When I click the button to send my experiment to pavoliva, psychopy crashes. There’s no error message.

Hey! Probably some preference is corrupted. To clean everything out, try this:

  • Uninstall PsychoPy
  • Delete the PsychoPy preferences in %APPDATA%\psychopy3, see Troubleshooting — PsychoPy v2021.2
  • Reinstall PsychoPy
  • In your project folder, show hidden folders and delete the .git folder

Now everything is in mint condition again; please reopen your psyexp file and try syncing again.

You’re trying to run a Python script in the command line; that won’t work indeed :). Try this instead:

  1. Navigate to this folder with your File Explorer: %APPDATA%\psychopy3 ,
  2. Select the contents of that directory and delete

Hi,

I followed through all these steps but still whenever i try to launch my study on pavlovia psychopy just says not responding and closes the app.

Hi, I’ve found this useful for an issue I’ve been experiencing. In the Troubleshooting document it says “make sure you change python to the appropriate one for PsychoPy” I’m not sure which python version is the right one for Psychopy?
I’ve also installed python on my computer to use with anaconda/spyder so I’m not sure how to specify that I want to reference Psychopy in the terminal.

The PsychoPy standalone package comes bundled with the right version of Python for it, so if you use that one, it shouldn’t be something you need to worry about. Installation — PsychoPy v2021.2

Do you know why psychopy says not responding every time i try to upload my experiment? And if i open pavlovia in the web browser myself and try to pilot my study it says 403 forbidden.

Hi there - I am having this same problem, but cannot understand the troubleshooting section for deleting the preference files. I am using a mac… is there an idiot’s guide to doing this please?(!)

My post on July 29th (see earlier in this thread,) contains a number of steps, which, if you do all of them, likely fixes this problem. Have you tried that?

I did see your post - that’s what I was saying, I didn’t understand how to do it. I deleted Psychopy, but don’t understand step 2: “The exact location of those files varies by machine but… on Linux/MacOS it will be something like ~/.psychopy3. You can find it running this in the commandline (if you have multiple Python installations then make sure you change python to the appropriate one for PsychoPy:” what am I putting this command into? Python? I have 3.9. is this appropriate? (I don’t use it). if so I get this:
Traceback (most recent call last):
File “<pyshell#2>”, line 1, in
from psychopy import prefs; print(prefs.paths[‘userPrefsDir’])
ModuleNotFoundError: No module named ‘psychopy’
which is no help. Moreover in the following paragraph it suggests I was looking for a folder, not a file. Nor do I know how to delete hidden files from github. hence the request for an idiot’s guide.

Thanks for your feedback. Let me give some more pointers in relation to your two questions. First off, I use Windows, so this might be different for other operating systems, such as MacOS.

Delete prefs folder

To get to the PsychoPy prefs folder, I paste %APPDATA%\psychopy3 into the address bar of my file explorer and press the enter key on my keyboard (step 1) . It will automatically take me to the right folder on my computer. Next, I click on the folder at the left side, and press the delete key on my keyboard (step 2).

Delete .git folder

First enable showing hidden files and folders. In the folder that contains your experiment, you should see a sub-folder named .git. Select it and delete it.

Hope this helps!