Experiment won't sync due to GitLab Project Not Found

Description of the problem: 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/builder/builder.py”, line 1374, in onPavloviaSync
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/python3.8/psychopy/projects/pavlovia.py”, line 666, in project
KeyError: ‘Could not find GitLab project with id 263017.’

I am getting this error when trying to sync my experiment to upload to Pavlovia. I have created new HTML files to try and solve the issue, but it has not helped. I do not have Git downloaded to my computer, and would like to keep the uploading process as simple as possible.

One thing that I am concerned about is that the experiment was in Gitlab (I got it there via Export HTML and creating a new project) but it was not loading onto Pavlovia, so I deleted it from Gitlab as I saw another forum recommend doing that to start over. Now when I click Export HTML and try to sync it in hopes of the ‘create a new project’ window appearing, I get this error.

Thanks so much in advance!


I managed to fix my problem by going into my experiment folder, and viewing my unhidden items (shit+command+period on a mac) and deleted my hidden .git and associated folders. This allowed me to upload my experiment to Gitlab and Pavlovia successfully.