Hi,
I am creating an experiment in Psychopy/Pavlova. I have previously done this before and had no trouble syncing from any folder, but now when I try to do it it says it won’t sync because I need to put the experiment folder in my home directory rather than in a subfolder, i.e. C://
Of course this is possible, and it has worked when I did this, but I would ideally like to be able to save my experiments in a more organised place in subfolders, as I have before. Does anyone know what might have changed? Could it be to do with the fact that I now have other folders linking to different git repositories coming from my home directory, which I didn’t before? Even though the experiment was not in any of these folders?
Many thanks
You absolutely should not need to put your experiment folder in the root.
My experiments are in C:\Users\p0071480\Documents\Pavlovia
You should avoid the desktop or cloud drives.
I guess it could be due to you having some coded link between Git and your root directory, but I wouldn’t know how to undo that.
ok thank you for your help !
I think what’s happening is that your experiment file (the one ending with .psyexp
) is in a different folder to your “project root”, aka where Pavlovia is told to look for your experiment and all its associated files (e.g. stimuli and tables). In the next version we’re reworking the pavlovia interface in Builder to give more explicit control over things like the project root, but in the meantime you can do this manually like so:
Navigate to the folder where your user settings are stored. An easy way to do this is to go View → Themes → Open Themes Folder and then just move up one folder, as themes are stored in a folder next to your settings. Once there, look for the folder “pavlovia” and within that the file “projects.json” - open this file in a text editor (e.g. notepad). Look for your project and find the file path next to "localRoot: ", change it to the path of the folder your experiment file is in and then try again.
This is a little hacky, but it’s essentially what the interface will do for you in the next version, so you could also just wait as it’ll be out early next year
Hello
I have a similar issue,
At first I wanted to create a new exp folder I transferred lastrun.py, psyexp files data folder index html browser.js, js, readmemd legacybrowsers, js with it. And i received errors synicng to pavlovia. When i read this i saw the projects.json and i am seeing 31 id, is number local eoot remotehtps and remotessh .
I also now iust created a new folder just with the exp file and spreadhseet images i will use without other files i mentioned. I still see the same thing.
Should i delete all of these? Do you think thats the problem?
Thanks so much in advance!!
This should be fine unless you have previously synced to Pavlovia from a folder that contains this folder.