Problems exporting to Pavlovia

Hi - I’m having difficulty exporting my task to Pavlovia. I had previously managed to get it to export, but the ‘software platform’ on Pavlovia was showing as Unknown, and the task didn’t run. So I deleted it from Pavlovia to try uploading again. Now, it doesn’t export from PsychoPy and I get this error:

Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/gitlab/exceptions.py”, line 304, in wrapped_f
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/gitlab/mixins.py”, line 112, in get
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/gitlab/client.py”, line 662, in http_get
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/gitlab/client.py”, line 628, in http_request
gitlab.exceptions.GitlabHttpError: 404: 404 Project Not Found

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 663, in project
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/gitlab/v4/objects/projects.py”, line 782, in get
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/gitlab/exceptions.py”, line 306, in wrapped_f
gitlab.exceptions.GitlabGetError: 404: 404 Project Not Found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/pavlovia_ui/menu.py”, line 114, in onSync
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/pavlovia_ui/project.py”, line 743, in syncProject
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 746, in localRoot
File “/Applications/PsychoPy.app/Contents/Resources/lib/pyt

I expect it’s something really straightforward to resolve, but I’m not sure what I need to do - any help very gratefully received!! :slight_smile: Thanks

Hi! I am not an expert but as I had a similar problem before, maybe checking those things might help you, too:

  1. Is your experiment located in its own folder and locally on your device (not synchronized with a cloud e. g. One Drive)?
  2. How does the folder with the experiment inside look like? There should be just your “resources” folder, your .psyexp file and any necessary files as your excel tables. Everything else, you can delete :slight_smile:
  3. When pushing to Pavlovia for the first time, there should appear some files (e. g. two .js files and a index.html file). In some cases people had problems because those files appeared in a automatically created folder “index.html” - if that happens to you, there should be a better solution, but my workaround is to manually cut the files, paste them to my experiment folder, delete the “index.html” folder and synchronize again with Pavlovia.
  4. Make sure you don’t use names as “image”, “list”, …

Also, this here by Wakefield Morys-Carter might help you: https://docs.google.com/document/d/183xmwDgSbnJZHMGf3yWpieV9Bx8y7fOCm3QKkMOOXFQ/edit#heading=h.fbo8f8y1ynwk

Thank you for your reply.
I tried the things you suggested, but unfortunately it’s still not working.
Thanks for your help though :slight_smile: