Error when run study online

URL of experiment: Pavlovia (not sure that this links works because I can’t change my experiment to “Pilot”).


I developed an experiment with PsychoPy Builder (version 2022 1.3) and I would like to run it online using pavlovia. I did it before and it worked but I did some modifications (on PsychoPy Builder) and try to synchronize again to pavlovia and now I have an internal error (see message above). I try to delete my old experiment on Pavlovia and recreate a new project but I can’t (same message).

Do you have any idea to solve this problem?

Thank you a lot for your help :pray:


Internal error:

Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\site-packages\gitlab\”, line 304, in wrapped_f
return f(*args, **kwargs)
File “C:\Program Files\PsychoPy\lib\site-packages\gitlab\”, line 112, in get
server_data = self.gitlab.http_get(path, **kwargs)
File “C:\Program Files\PsychoPy\lib\site-packages\gitlab\”, line 662, in http_get
result = self.http_request(
File “C:\Program Files\PsychoPy\lib\site-packages\gitlab\”, 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:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\”, line 633, in project
self._project = self.session.gitlab.projects.get(
File “C:\Program Files\PsychoPy\lib\site-packages\gitlab\v4\objects\”, line 782, in get
return cast(Project, super().get(id=id, lazy=lazy, **kwargs))
File “C:\Program Files\PsychoPy\lib\site-packages\gitlab\”, 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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\builder\”, line 1381, in onPavloviaSync
pavlovia_ui.syncProject(parent=self, file=self.filename, project=self.project)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\pavlovia_ui\”, line 720, in syncProject
if not project.localRoot:
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\”, line 716, in localRoot
if self.project.path_with_namespace in knownProjects:
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\”, line 636, in project
raise KeyError(f"Could not find GitLab project with id {}.")
KeyError: ‘Could not find GitLab project with id 235203.’

This is most likely an authentication error, which should now be fixed in the latest version (2022.2.0), so it’s worth updating and trying this again

1 Like