Win 10, PsychoPy Builder 2025.1.1, Standalone.
I am trying to push an experiment made in Builder to Pavlovia for the first time. I read different threads, instructions but I guess I am doing sth wrong. I did not plan to run the experiment online (PI asked me to transform it into a Pavlovia exp, “quickly”), therefore it has a lot of code components and it is generally not ideal for online testing (uses sounds, mouse drag and drop, RT measurement etc.).
I rewrote all the custom code components, removed certain things (like import libraries etc.), added the resources in the Experiment settings → Online tab.
Then I signed in my Pavlovia account, exported the HTML and I tried to do the synch in the Pavlovia tab. I created a project in the pop up window, added the project folder from my PC in which I have everything (the compliled and eht builder script, index html etc. + hundreds of visual and audio stims and csv lists in subfolders). when I hit OK, I receive this message:
Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\pavlovia_ui\menu.py”, line 116, in onSync
syncProject(parent=self.parent, project=self.parent.project)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\pavlovia_ui\project.py”, line 854, in syncProject
project.sync()
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 916, in sync
self.firstPush(infoStream=infoStream)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 1155, in firstPush
info = self.commit(
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 1321, in commit
info = self.repo.git.commit(‘-m’, message)
File “C:\Program Files\PsychoPy\lib\site-packages\git\cmd.py”, line 986, in
return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
File “C:\Program Files\PsychoPy\lib\site-packages\git\cmd.py”, line 1599, in _call_process
return self.execute(call, **exec_kwargs)
File “C:\Program Files\PsychoPy\lib\site-packages\git\cmd.py”, line 1389, in execute
raise GitCommandError(redacted_command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd(‘C:\Program Files\PsychoPy\MinGit\cmd\git.exe’) failed due to: exit code(1)
cmdline: C:\Program Files\PsychoPy\MinGit\cmd\git.exe commit -m Push initial project files
stdout: ‘On branch master
nothing to commit, working tree clean’
I also tried to skip the export HTML part. To my surprise then the synchronization works, the project appears on Pavlovia (I see it and all the resources whwn i click on View code) but then the platform is set to UNKNOWN and I get a 403 forbidden error when I try to pilot/run the expeirment. So I guess something is not okay.
What shall I do, to be able to test the experiment online? (and figure out what else needs to be changed in the script)?
I would really appreciate any help.
