When I open psychopy I get this error message and I have no clue what it means

Traceback (most recent call last):
File “C:\Users\benne\AppData\Local\Programs\PsychoPy\lib\site-packages\gitlab\exceptions.py”, line 304, in wrapped_f
return f(*args, **kwargs)
File “C:\Users\benne\AppData\Local\Programs\PsychoPy\lib\site-packages\gitlab\mixins.py”, line 112, in get
server_data = self.gitlab.http_get(path, **kwargs)
File “C:\Users\benne\AppData\Local\Programs\PsychoPy\lib\site-packages\gitlab\client.py”, line 662, in http_get
result = self.http_request(
File “C:\Users\benne\AppData\Local\Programs\PsychoPy\lib\site-packages\gitlab\client.py”, line 628, in http_request
raise gitlab.exceptions.GitlabHttpError(
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 “C:\Users\benne\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\app\builder\builder.py”, line 735, in fileOpen
self.project = pavlovia.getProject(filename)
File “C:\Users\benne\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 1272, in getProject
project = session.gitlab.projects.get(name)
File “C:\Users\benne\AppData\Local\Programs\PsychoPy\lib\site-packages\gitlab\v4\objects\projects.py”, line 782, in get
return cast(Project, super().get(id=id, lazy=lazy, **kwargs))
File “C:\Users\benne\AppData\Local\Programs\PsychoPy\lib\site-packages\gitlab\exceptions.py”, line 306, in wrapped_f
raise error(e.error_message, e.response_code, e.response_body) from e
gitlab.exceptions.GitlabGetError: 404: 404 Project Not Found

1 Like

It looks like whatever file you had open last is linked to a Pavlovia project which either no longer exists or has changed, so when you open PsychoPy it opens that file and attempts to sync but errors. The best solution here is probably just to reset your user settings, which you can do by (in Windows File Explorer) going to:

%AppData%\Roaming\psychopy3

and then deleting the file appData.cfg, when you next open PsychoPy it will make a new appData file with no file history so won’t attempt to open the file which was causing the error.