# Project unable to sync. Won't permit local path

**URL:** <https://discourse.psychopy.org/t/project-unable-to-sync-wont-permit-local-path/13678>\
**Category:** Online experiments\
**Created:** [May 25, 2020, 7:18pm UTC](https://discourse.psychopy.org/t/project-unable-to-sync-wont-permit-local-path/13678 "2020-05-25T19:18:16Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![snorwood](https://avatars.discourse-cdn.com/v4/letter/s/58f4c7/32.png) [@snorwood](https://discourse.psychopy.org/u/snorwood)\
**Post date:** [May 25, 2020, 7:18pm UTC](https://discourse.psychopy.org/t/project-unable-to-sync-wont-permit-local-path/13678/1 "2020-05-25T19:18:16Z")

</div>

URL of experiment:

Description of the problem: I have seen others who have had this error but I have not been able to fix mine as of yet. Below is the error I receive - does this mean that I have to remove all git files from my desktop? I don’t really have another directory that this can go through without using my desktop. The exact folder I am using has nothing other than this experiment in it. Thanks for any advice.

Traceback (most recent call last):  
File “/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/psychopy/app/pavlovia\_ui/project.py”, line 160, in submitChanges  
self.project.getRepo(forceRefresh=True)  
File “/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/psychopy/projects/pavlovia.py”, line 755, in getRepo  
.format(repr(self.localRoot), repr(gitRoot)))  
AttributeError: The requested local path for project  
‘/Users/temp/Desktop/PsychoPy’  
sits inside another folder, which git will not permit. You might like to set the project local folder to be  
‘/Users/temp/Desktop’  
Traceback (most recent call last):  
File “/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/psychopy/app/pavlovia\_ui/menu.py”, line 122, in onNew  
retVal = syncProject(parent=self.parent, project=projEditor.project)  
File “/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/psychopy/app/pavlovia\_ui/project.py”, line 501, in syncProject  
if project.getRepo(forceRefresh=True) is None:  
File “/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/psychopy/projects/pavlovia.py”, line 755, in getRepo  
.format(repr(self.localRoot), repr(gitRoot)))  
AttributeError: The requested local path for project  
‘/Users/temp/Desktop/PsychoPy’  
sits inside another folder, which git will not permit. You might like to set the project local folder to be  
‘/Users/temp/Desktop’  
22.6535 WARNING Project snorwood/mts\_1 has changed gitlab ID since last use (was 36483 now 36498)  
29.5622 INFO Investigating repo at /Users/temp/Desktop

---

<div class="post-metadata">

**Author:** ![dvbridges](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/dvbridges/32/1918_2.png) [@dvbridges](https://discourse.psychopy.org/u/dvbridges)\
**Post date:** [May 26, 2020, 10:09am UTC](https://discourse.psychopy.org/t/project-unable-to-sync-wont-permit-local-path/13678/2 "2020-05-26T10:09:34Z")

</div>

@snorwood, the error message suggests you are trying to create a project in a subdirectory of a current project. You may have already created a project on your desktop, which would have created a hidden .git folder. If your desktop folder is a Pavlovia project folder (which is not recommended), then try creating your project from another directory, e.g., Documents. Alternatively, you will need to inspect your desktop with hidden folders visible, and delete the .git folder on your desktop. Now, you should be able to create projects in subdirectories of the desktop.

---

<div class="post-metadata">

**Author:** ![snorwood](https://avatars.discourse-cdn.com/v4/letter/s/58f4c7/32.png) [@snorwood](https://discourse.psychopy.org/u/snorwood)\
**Post date:** [May 26, 2020, 12:02pm UTC](https://discourse.psychopy.org/t/project-unable-to-sync-wont-permit-local-path/13678/3 "2020-05-26T12:02:17Z")

</div>

@dvbridges thanks for the quick reply. That has solved that error. However, now when I try to pilot it, if I click run online from the experiment runner, it gives me a 404 error. If I try to pilot it from Pavlovia, I get a 403 error. I realise this is a different question, I do apologise.

---

<div class="post-metadata">

**Author:** ![dvbridges](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/dvbridges/32/1918_2.png) [@dvbridges](https://discourse.psychopy.org/u/dvbridges)\
**Post date:** [May 26, 2020, 12:22pm UTC](https://discourse.psychopy.org/t/project-unable-to-sync-wont-permit-local-path/13678/4 "2020-05-26T12:22:20Z")

</div>

@snorwood, difficult to know without more info. Do you get any error messages in the Runner when you sync the experiment?

---

<div class="post-metadata">

**Author:** ![snorwood](https://avatars.discourse-cdn.com/v4/letter/s/58f4c7/32.png) [@snorwood](https://discourse.psychopy.org/u/snorwood)\
**Post date:** [May 26, 2020, 12:25pm UTC](https://discourse.psychopy.org/t/project-unable-to-sync-wont-permit-local-path/13678/5 "2020-05-26T12:25:39Z")

</div>

No. And the sync says it’s successful as well.

---

<div class="post-metadata">

**Author:** ![dvbridges](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/dvbridges/32/1918_2.png) [@dvbridges](https://discourse.psychopy.org/u/dvbridges)\
**Post date:** [May 26, 2020, 12:26pm UTC](https://discourse.psychopy.org/t/project-unable-to-sync-wont-permit-local-path/13678/6 "2020-05-26T12:26:20Z")

</div>

Ok, would you mind sharing your project URL?

---

<div class="post-metadata">

**Author:** ![snorwood](https://avatars.discourse-cdn.com/v4/letter/s/58f4c7/32.png) [@snorwood](https://discourse.psychopy.org/u/snorwood)\
**Post date:** [May 26, 2020, 12:29pm UTC](https://discourse.psychopy.org/t/project-unable-to-sync-wont-permit-local-path/13678/7 "2020-05-26T12:29:59Z")

</div>

> **[Pavlovia](https://pavlovia.org/snorwood/mts_i)**
>
> The place for the wide community of researchers in the behavioural sciences to run, share, and explore experiments online

---

<div class="post-metadata">

**Author:** ![dvbridges](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/dvbridges/32/1918_2.png) [@dvbridges](https://discourse.psychopy.org/u/dvbridges)\
**Post date:** [May 26, 2020, 12:31pm UTC](https://discourse.psychopy.org/t/project-unable-to-sync-wont-permit-local-path/13678/8 "2020-05-26T12:31:32Z")

</div>

@snorwood, looks like you have not created the HTML and JS. First, check your Experiment Settings in the Builder view, and ensure that the export html setting is set to “on sync” and try again. Alternatively, go to File menu, and click “Export HTML”, then try and sync again.

---

<div class="post-metadata">

**Author:** ![snorwood](https://avatars.discourse-cdn.com/v4/letter/s/58f4c7/32.png) [@snorwood](https://discourse.psychopy.org/u/snorwood)\
**Post date:** [May 26, 2020, 12:37pm UTC](https://discourse.psychopy.org/t/project-unable-to-sync-wont-permit-local-path/13678/9 "2020-05-26T12:37:49Z")

</div>

@dvbridges, that’s worked! Thank you for your patience and help.
