Traceback error during syncing

Hi,
I am aware that these kinds of errors happen often and that there are multiple threads. I tried solving my problem by applying the steps recommended in these threads but I have not been successful, which is why I created a new one. I hope that somebody can help me.

Lukas

OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): v2022.1.2
Standard Standalone? (y/n) If not then what?: I am not sure what this means, sorry.
What are you trying to achieve?: Synchronizing a working experiment with Pavlovia.org

What did you try to make it work?:

  • I signed out and in again at pavlovia.org (via browser) and through the PsychoPy Builder.
  • I updated to version 2022.1.2
  • I created a new project for the experiment.
  • I looked for hidden files such as a .git file but there were none.
  • I tried to upload a basic project that does not include any files, which worked.
  • A colleague updloaded the project from their computer and although there were other errors during piloting, syncing did work.

What specifically went wrong when you tried that?:
Include pasted full error message if possible. “That didn’t work” is not enough information.

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

During handling of the above exception, another exception occurred:

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

When you are looking at your list of experiments online, can you see one with that id? That number must be coded in the local .git folder (which gets created the first time you sync with Pavlovia and create a new project online).

You’ve said that you are logged into Builder with the correct username, but this is worth double-checking.