# Traceback error during syncing

**URL:** <https://discourse.psychopy.org/t/traceback-error-during-syncing/28452>\
**Category:** Builder\
**Tags:** online, pavlovia\
**Created:** [April 6, 2022, 9:54am UTC](https://discourse.psychopy.org/t/traceback-error-during-syncing/28452 "2022-04-06T09:54:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lukas](https://avatars.discourse-cdn.com/v4/letter/l/e9a140/32.png) [@Lukas](https://discourse.psychopy.org/u/Lukas)\
**Post date:** [April 6, 2022, 9:54am UTC](https://discourse.psychopy.org/t/traceback-error-during-syncing/28452/1 "2022-04-06T09:54:45Z")

</div>

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](http://Pavlovia.org)

**What did you try to make it work?:**

- I signed out and in again at [pavlovia.org](http://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.’

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [April 11, 2022, 10:14am UTC](https://discourse.psychopy.org/t/traceback-error-during-syncing/28452/2 "2022-04-11T10:14:59Z")

</div>

> [@Lukas](#):
>
> 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.
