When I try to synchronize the experiment to Pavlovia, Psychopy creates a gitignore file on my desktop instead of in the experiment folder, and the sync fails. How should I fix this problem?
That’s weird. The experiment file (psyexp is definitely saved properly inside a folder though?). I don’t know how that could happen. What platform are you on?
psyexp is definitely saved properly inside the folder. I think it’s because when creating a new project on Pavlovia, the default local folder is my desktop. But when I change the local folder to the experiment folder, the “committing changes” window doesn’t pop up, and the sync window says “synchronizing” forever…
It’s also weird that this doesn’t happen with another experiment that I’ve built. However, when I make changes to that experiment and sync it, there’s no update of the change on Pavlovia. Only when I uninstall then reinstall Psychopy does it update. But even then the rating scales(slider) doesn’t show up on Pavlovia.
I wonder if the issue is that you’ve previously created a project for an experiment on the desktop itself. Project folders can’t be nested I’m afraid, so if you create a project on the Desktop, then create a folder on the desktop and try to sync that, it will use the outer project that you’d originally created. Does that make sense?
We will need to find ways to detect and alert people to this issue better but in the latest releases (3.0.5+) there is a button that allows you to view the project for the current open file (if there is one) and that will allow you to see the “local root” of the current experiment, which in your case might well be the Desktop folder if my guess is right.