# Deleting the experiment on pavlovia and recreating the same

**URL:** <https://discourse.psychopy.org/t/deleting-the-experiment-on-pavlovia-and-recreating-the-same/25238>\
**Category:** Online experiments\
**Created:** [October 5, 2021, 9:09pm UTC](https://discourse.psychopy.org/t/deleting-the-experiment-on-pavlovia-and-recreating-the-same/25238 "2021-10-05T21:09:55Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Irfa\_Nisar](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/irfa_nisar/32/10307_2.png) [@Irfa\_Nisar](https://discourse.psychopy.org/u/Irfa_Nisar)\
**Post date:** [October 5, 2021, 9:09pm UTC](https://discourse.psychopy.org/t/deleting-the-experiment-on-pavlovia-and-recreating-the-same/25238/1 "2021-10-05T21:09:55Z")

</div>

Hello

It seems impossible to delete the experiment from pavlovia, delete the ‘.git’ and ‘.gitignore’ from the folder on the filesystem and recreate the experiment. It simply does not create the experiment on pavlovia. The workaround i often have to do is copy paste all the routines in a new experiment.

Is it possible to do what I was originally trying to do? Is there something else that I need to delete or recreate to pain-less-ly delete and recreate?

thanks

---

<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:** [October 5, 2021, 10:07pm UTC](https://discourse.psychopy.org/t/deleting-the-experiment-on-pavlovia-and-recreating-the-same/25238/2 "2021-10-05T22:07:33Z")

</div>

Do you have the experiment open in PsychoPy when deleting the .git folder? Either that or perhaps you aren’t deleting all the git related files.

What I do when moving an experiment from my Wake namespace to my vespr namespace is fork it on Pavlovia, delete the local folder and then recreate the folder name as the destination for the new sync.

---

<div class="post-metadata">

**Author:** ![Irfa\_Nisar](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/irfa_nisar/32/10307_2.png) [@Irfa\_Nisar](https://discourse.psychopy.org/u/Irfa_Nisar)\
**Post date:** [October 6, 2021, 1:28am UTC](https://discourse.psychopy.org/t/deleting-the-experiment-on-pavlovia-and-recreating-the-same/25238/3 "2021-10-06T01:28:01Z")

</div>

No its not open anywhere.  
I did delete the .git\* files  
I also recreated a copy.  
Nothing seems to work. I am deleting the experiment from pavlovia. Am I supposed to do it from gitlab?

---

<div class="post-metadata">

**Author:** ![Irfa\_Nisar](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/irfa_nisar/32/10307_2.png) [@Irfa\_Nisar](https://discourse.psychopy.org/u/Irfa_Nisar)\
**Post date:** [October 6, 2021, 2:41pm UTC](https://discourse.psychopy.org/t/deleting-the-experiment-on-pavlovia-and-recreating-the-same/25238/4 "2021-10-06T14:41:49Z")

</div>

Is it possible to bump this question to someone managing technical merging? This eats a lot into my work time , recreating projects (since removal of .git\* doesn’t mean one can recreate again successfully). Please and thank you.

---

<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:** [October 6, 2021, 10:46pm UTC](https://discourse.psychopy.org/t/deleting-the-experiment-on-pavlovia-and-recreating-the-same/25238/5 "2021-10-06T22:46:58Z")

</div>

Are your local files on a cloud storage drive? I think that that can cause an issue.

---

<div class="post-metadata">

**Author:** ![Irfa\_Nisar](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/irfa_nisar/32/10307_2.png) [@Irfa\_Nisar](https://discourse.psychopy.org/u/Irfa_Nisar)\
**Post date:** [October 6, 2021, 10:58pm UTC](https://discourse.psychopy.org/t/deleting-the-experiment-on-pavlovia-and-recreating-the-same/25238/6 "2021-10-06T22:58:51Z")

</div>

No , they are on my local file system.

---

<div class="post-metadata">

**Author:** ![Irfa\_Nisar](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/irfa_nisar/32/10307_2.png) [@Irfa\_Nisar](https://discourse.psychopy.org/u/Irfa_Nisar)\
**Post date:** [October 7, 2021, 2:06am UTC](https://discourse.psychopy.org/t/deleting-the-experiment-on-pavlovia-and-recreating-the-same/25238/7 "2021-10-07T02:06:41Z")

</div>

This is actually a problem that occurs often (more than 2-3 times now) and eats a lot of time in fixing the issue. There must be a clean way to re-create projects w/o having to do all the re-wiring.

---

<div class="post-metadata">

**Author:** ![Irfa\_Nisar](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/irfa_nisar/32/10307_2.png) [@Irfa\_Nisar](https://discourse.psychopy.org/u/Irfa_Nisar)\
**Post date:** [October 7, 2021, 2:20am UTC](https://discourse.psychopy.org/t/deleting-the-experiment-on-pavlovia-and-recreating-the-same/25238/8 "2021-10-07T02:20:26Z")

</div>

No they are not to the best of my knowledge.

Irfa

---

<div class="post-metadata">

**Author:** ![Irfa\_Nisar](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/irfa_nisar/32/10307_2.png) [@Irfa\_Nisar](https://discourse.psychopy.org/u/Irfa_Nisar)\
**Post date:** [October 7, 2021, 7:10am UTC](https://discourse.psychopy.org/t/deleting-the-experiment-on-pavlovia-and-recreating-the-same/25238/9 "2021-10-07T07:10:01Z")

</div>

I am curious : why would bring on a cloud create a problem?

Irfa

---

<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:** [October 7, 2021, 9:35am UTC](https://discourse.psychopy.org/t/deleting-the-experiment-on-pavlovia-and-recreating-the-same/25238/10 "2021-10-07T09:35:58Z")

</div>

I think it’s related to files only being downloaded when they are actively requested, and maybe this isn’t how PsychoPy looks at the .git folder.

However, I’m no expert on this. I simply discovered that I couldn’t use my Google drive for Pavlovia and I’ve seen people have issues with OneDrive.

---

<div class="post-metadata">

**Author:** ![Irfa\_Nisar](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/irfa_nisar/32/10307_2.png) [@Irfa\_Nisar](https://discourse.psychopy.org/u/Irfa_Nisar)\
**Post date:** [October 7, 2021, 2:31pm UTC](https://discourse.psychopy.org/t/deleting-the-experiment-on-pavlovia-and-recreating-the-same/25238/11 "2021-10-07T14:31:51Z")

</div>

Sigh, ok, thanks! There is something really strange here but I cannot figure out why because these sync/create code is not really visible. Simply deleting any trace of git doesn’t really fix the problem.

---

<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:** [October 7, 2021, 2:56pm UTC](https://discourse.psychopy.org/t/deleting-the-experiment-on-pavlovia-and-recreating-the-same/25238/12 "2021-10-07T14:56:32Z")

</div>

Why are you needing to delete and recreate experiments so often?

---

<div class="post-metadata">

**Author:** ![Irfa\_Nisar](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/irfa_nisar/32/10307_2.png) [@Irfa\_Nisar](https://discourse.psychopy.org/u/Irfa_Nisar)\
**Post date:** [October 7, 2021, 3:15pm UTC](https://discourse.psychopy.org/t/deleting-the-experiment-on-pavlovia-and-recreating-the-same/25238/13 "2021-10-07T15:15:57Z")

</div>

It’s my 3rd time. So often is relative. There is this odd thing i notice with psychopy that i can’t put a finger on it. After doing experiments and running them on participants (so far so good), I sometimes run into this problem where if I change code and sync, it no longer syncs to the repo. I tracked down this bug to it somehow associating this to another defunct account that i have on pavlovia. However, in order to fix the mess and the entanglement, I need to remove all the .git and recreate. That is not working. Why it occasionally points to the defunct account is another mystery.

---

<div class="post-metadata">

**Author:** ![JensBoelte](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jensboelte/32/9060_2.png) [@JensBoelte](https://discourse.psychopy.org/u/JensBoelte)\
**Post date:** [October 7, 2021, 3:45pm UTC](https://discourse.psychopy.org/t/deleting-the-experiment-on-pavlovia-and-recreating-the-same/25238/14 "2021-10-07T15:45:09Z")

</div>

Hello,

what you could try is to use git from the command-line instead of relying on PsychoPy to do the syncing. Alas, git doesn’t have the simplest and most intuitive interface. You quickly find some introduction on youtube or text, whatever you prefer, doing an internet search.

Best wishes Jens

---

<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:** [October 7, 2021, 4:29pm UTC](https://discourse.psychopy.org/t/deleting-the-experiment-on-pavlovia-and-recreating-the-same/25238/15 "2021-10-07T16:29:06Z")

</div>

It’s getting confused with your old username?

Try reinstalling PsychoPy.

> [@Recreating project every time I sync to pavlovia](https://discourse.psychopy.org/t/recreating-project-every-time-i-sync-to-pavlovia/14884/5):
>
> I think I got everything to work again. For anyone who tries to uninstall and reinstall psychopy without traces of previous settings, windows has a hidden file called appdata in the C: user drive with a psychopy file in the roaming folder (Appdata\>Roaming\>pschopy3). Once I deleted it and reinstalled psychopy, all previously logged in usernames for pavlovia disappear. When I created a new project, exported the html and synced a second time, everything seemed to work.

---

<div class="post-metadata">

**Author:** ![Irfa\_Nisar](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/irfa_nisar/32/10307_2.png) [@Irfa\_Nisar](https://discourse.psychopy.org/u/Irfa_Nisar)\
**Post date:** [October 7, 2021, 4:33pm UTC](https://discourse.psychopy.org/t/deleting-the-experiment-on-pavlovia-and-recreating-the-same/25238/16 "2021-10-07T16:33:50Z")

</div>

I don’t think the cmdline suggestion will work properly. While i suspect that gitting cmdline will be fine, all the GUI magic syrup won’t happen. The disconnect I am seeing while recreating is probably due to the fact that the GUI does more than mere cmdline gitting on the backend.

---

<div class="post-metadata">

**Author:** ![JensBoelte](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jensboelte/32/9060_2.png) [@JensBoelte](https://discourse.psychopy.org/u/JensBoelte)\
**Post date:** [October 8, 2021, 9:59am UTC](https://discourse.psychopy.org/t/deleting-the-experiment-on-pavlovia-and-recreating-the-same/25238/17 "2021-10-08T09:59:13Z")

</div>

Hello,

your choice. I don’t know what you mean by GUI magic syrup mean? Setting or deleting the git-usernames can be done via the cmdline.

Best wishes Jens
