# Could not find GitLab project with id

**URL:** <https://discourse.psychopy.org/t/could-not-find-gitlab-project-with-id/27939>\
**Category:** Builder\
**Tags:** pavlovia-ui\
**Created:** [March 11, 2022, 6:38pm UTC](https://discourse.psychopy.org/t/could-not-find-gitlab-project-with-id/27939 "2022-03-11T18:38:51Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elise\_Whitney](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/elise_whitney/32/13319_2.png) [@Elise\_Whitney](https://discourse.psychopy.org/u/Elise_Whitney)\
**Post date:** [March 11, 2022, 6:38pm UTC](https://discourse.psychopy.org/t/could-not-find-gitlab-project-with-id/27939/1 "2022-03-11T18:38:51Z")

</div>

Hi everyone,  
I have been getting this error every time I close psychoPy and it doesn’t work. Any suggestions? Thanks!

Traceback (most recent call last):  
File “/Applications/PsychoPy.app/Contents/Resources/ **boot**.py”, line 197, in   
File “/Applications/PsychoPy.app/Contents/Resources/ **boot**.py”, line 166, in \_run  
File “/Applications/PsychoPy.app/Contents/Resources/psychopyApp.py”, line 102, in   
File “/Applications/PsychoPy.app/Contents/Resources/psychopyApp.py”, line 98, in main  
File “/Applications/PsychoPy.app/Contents/Resources/psychopyApp.py”, line 27, in start\_app  
AttributeError: ‘NoneType’ object has no attribute ‘MainLoop’

---

<div class="post-metadata">

**Author:** ![Becca](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/becca/32/34260_2.png) [@Becca](https://discourse.psychopy.org/u/Becca)\
**Post date:** [March 13, 2022, 9:11am UTC](https://discourse.psychopy.org/t/could-not-find-gitlab-project-with-id/27939/2 "2022-03-13T09:11:39Z")

</div>

Hi There,

Please can you share more info on your operating system, if you are running psychopy builder or coder, what version of psychopy you are using etc.

Thanks,  
Becca

---

<div class="post-metadata">

**Author:** ![Elise\_Whitney](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/elise_whitney/32/13319_2.png) [@Elise\_Whitney](https://discourse.psychopy.org/u/Elise_Whitney)\
**Post date:** [March 13, 2022, 6:58pm UTC](https://discourse.psychopy.org/t/could-not-find-gitlab-project-with-id/27939/3 "2022-03-13T18:58:40Z")

</div>

Hi @Becca,

Thanks for the reply! I use a MacOS Big Sur version 11.5 and my PsychoPy is version 2022.1.0, but I had version 2022.1.1 and it came up with the same error. Let me know if you can think of any fixes. Thanks!!

Elise

---

<div class="post-metadata">

**Author:** ![Becca](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/becca/32/34260_2.png) [@Becca](https://discourse.psychopy.org/u/Becca)\
**Post date:** [March 14, 2022, 11:23am UTC](https://discourse.psychopy.org/t/could-not-find-gitlab-project-with-id/27939/4 "2022-03-14T11:23:37Z")

</div>

Thanks Elise, did you have a specific task created and this error occured when you tried to run that ? or did this error happen when trying to run any of the demo tasks too?

Thanks,  
Becca

---

<div class="post-metadata">

**Author:** ![Elise\_Whitney](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/elise_whitney/32/13319_2.png) [@Elise\_Whitney](https://discourse.psychopy.org/u/Elise_Whitney)\
**Post date:** [March 14, 2022, 1:38pm UTC](https://discourse.psychopy.org/t/could-not-find-gitlab-project-with-id/27939/5 "2022-03-14T13:38:15Z")

</div>

Hi @Becca ,

I’ve had tasks created for a while and they run smoothly offline. When I try to upload them to Pavlovia, that internal error appears and it says to contact the developers. If there’s anything I can do please let me know I’m in a time crunch! Thanks!

Elise

---

<div class="post-metadata">

**Author:** ![Elise\_Whitney](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/elise_whitney/32/13319_2.png) [@Elise\_Whitney](https://discourse.psychopy.org/u/Elise_Whitney)\
**Post date:** [March 14, 2022, 1:46pm UTC](https://discourse.psychopy.org/t/could-not-find-gitlab-project-with-id/27939/6 "2022-03-14T13:46:59Z")

</div>

I’m now getting this error when attempting to upload to Pavlovia

Traceback (most recent call last):  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/pavlovia\_ui/project.py”, line 503, in sync  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/pavlovia\_ui/sync.py”, line 46, in sync  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 761, in sync  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 803, in pull  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 793, in pull  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/git/cmd.py”, line 542, in   
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/git/cmd.py”, line 1005, in \_call\_process  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/git/cmd.py”, line 822, in execute  
git.exc.GitCommandError: Cmd(‘/Applications/PsychoPy.app/Contents/Resources/git-core/git’) failed due to: exit code(1)  
cmdline: /Applications/PsychoPy.app/Contents/Resources/git-core/git pull [Sign in · GitLab](https://gitlab.pavlovia.org/eawhit/honorsthesis0314.git) master  
stderr: ‘fatal: could not read Username for ‘[https://gitlab.pavlovia.org](https://gitlab.pavlovia.org)’: Device not configured’

Along with the same message of contacting the developers 😕

---

<div class="post-metadata">

**Author:** ![Becca](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/becca/32/34260_2.png) [@Becca](https://discourse.psychopy.org/u/Becca)\
**Post date:** [March 14, 2022, 2:59pm UTC](https://discourse.psychopy.org/t/could-not-find-gitlab-project-with-id/27939/7 "2022-03-14T14:59:18Z")

</div>

Just to check - are you signed into pavlovia in psychopy ? you can check using this setting [AttributeError when creating new Pavlovia project from Builder - #5 by bastosfh](https://discourse.psychopy.org/t/attributeerror-when-creating-new-pavlovia-project-from-builder/27940/5)

---

<div class="post-metadata">

**Author:** ![Elise\_Whitney](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/elise_whitney/32/13319_2.png) [@Elise\_Whitney](https://discourse.psychopy.org/u/Elise_Whitney)\
**Post date:** [March 14, 2022, 3:55pm UTC](https://discourse.psychopy.org/t/could-not-find-gitlab-project-with-id/27939/8 "2022-03-14T15:55:05Z")

</div>

![Screen Shot 2022-03-14 at 11.54.40 AM](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/a/a/aa5c43958a476f19882bbbf57471b3f80b5d6891.jpeg)  
I believe so!

---

<div class="post-metadata">

**Author:** ![Elise\_Whitney](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/elise_whitney/32/13319_2.png) [@Elise\_Whitney](https://discourse.psychopy.org/u/Elise_Whitney)\
**Post date:** [March 14, 2022, 5:15pm UTC](https://discourse.psychopy.org/t/could-not-find-gitlab-project-with-id/27939/9 "2022-03-14T17:15:06Z")

</div>

Hi again Becca,

I am now unable to open any of my files and am getting the following (new) error.

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/app/\_psychopyApp.py”, line 653, in MacOpenFile  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/\_psychopyApp.py”, line 589, in newBuilderFrame  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/builder/builder.py”, line 208, in **init**  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/builder/builder.py”, line 735, in fileOpen  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 1253, in getProject  
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

---

<div class="post-metadata">

**Author:** ![Becca](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/becca/32/34260_2.png) [@Becca](https://discourse.psychopy.org/u/Becca)\
**Post date:** [March 15, 2022, 8:41am UTC](https://discourse.psychopy.org/t/could-not-find-gitlab-project-with-id/27939/10 "2022-03-15T08:41:44Z")

</div>

Please can you share a screenshot of your task folder location? There should be a hidden git like this if you request to show hidden files

 ![image](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/6/a/6aab27fe5613f49831de2578e5b1fc8f5e7deb5a.jpeg)

---

<div class="post-metadata">

**Author:** ![Elise\_Whitney](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/elise_whitney/32/13319_2.png) [@Elise\_Whitney](https://discourse.psychopy.org/u/Elise_Whitney)\
**Post date:** [March 15, 2022, 12:58pm UTC](https://discourse.psychopy.org/t/could-not-find-gitlab-project-with-id/27939/11 "2022-03-15T12:58:03Z")

</div>

Hi @Becca, is this what you mean? I apologize, I’m a bit of a novice if you hadn’t noticed!!

 ![Screen Shot 2022-03-15 at 8.57.03 AM](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/8/d/8d1ab2d253980f4f4c4aab8b1af197d841e82e2f.jpeg)

---

<div class="post-metadata">

**Author:** ![Becca](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/becca/32/34260_2.png) [@Becca](https://discourse.psychopy.org/u/Becca)\
**Post date:** [March 15, 2022, 1:11pm UTC](https://discourse.psychopy.org/t/could-not-find-gitlab-project-with-id/27939/12 "2022-03-15T13:11:11Z")

</div>

That’s exactly right. OK so what’s odd is that your folder contains a .git file but no .psyexp file - where is it that your builder .psyexp file is currently stored relative to that .git file?

Thanks,  
Becca

---

<div class="post-metadata">

**Author:** ![Elise\_Whitney](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/elise_whitney/32/13319_2.png) [@Elise\_Whitney](https://discourse.psychopy.org/u/Elise_Whitney)\
**Post date:** [March 15, 2022, 1:24pm UTC](https://discourse.psychopy.org/t/could-not-find-gitlab-project-with-id/27939/13 "2022-03-15T13:24:35Z")

</div>

@Becca There are .psyexp files in both “SlashFinal” and “ZFinal” folders

---

<div class="post-metadata">

**Author:** ![Becca](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/becca/32/34260_2.png) [@Becca](https://discourse.psychopy.org/u/Becca)\
**Post date:** [March 15, 2022, 3:04pm UTC](https://discourse.psychopy.org/t/could-not-find-gitlab-project-with-id/27939/14 "2022-03-15T15:04:48Z")

</div>

OK that will be the problem. You want one .git in the same folder as your .psyexp. So I would suggest deleting that .git file you show in your screenshot \> close and reopen psychopy \> try to resync a project \> you will be prompted to make a new project - it should make one .git in the same location as your psyexp

---

<div class="post-metadata">

**Author:** ![Elise\_Whitney](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/elise_whitney/32/13319_2.png) [@Elise\_Whitney](https://discourse.psychopy.org/u/Elise_Whitney)\
**Post date:** [March 15, 2022, 4:19pm UTC](https://discourse.psychopy.org/t/could-not-find-gitlab-project-with-id/27939/15 "2022-03-15T16:19:22Z")

</div>

Thanks @Becca! I’m able to open the files now! However, now I am getting one of two errors:

Traceback (most recent call last):  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/pavlovia\_ui/menu.py”, line 127, in onNew  
AttributeError: ‘NoneType’ object has no attribute ‘username’

or when sync a current program

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 633, 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/pavlovia\_ui/menu.py”, line 113, in onSync  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/pavlovia\_ui/project.py”, line 665, in syncProject  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 716, in localRoot  
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 636, in project  
KeyError: ‘Could not find GitLab project with id 212085.’
