OS (e.g. Win10): macOS 14.6.1
PsychoPy version (e.g. 1.84.x): 2024.2.1
Standard Standalone? (y/n) If not then what?: y
What are you trying to achieve?:
I’m trying to do an initial push of my project to Pavlovia - it’s a copy of an existing project but I regenerated the .js file and removed the hidden .git folder to upload it as a new project.
What did you try to make it work?:
I tried both clicking the sync button to create the project and clicked the “create new project” button. In both cases an empty repository with the desired name was created. Trying to push changes on an existing repository also produces the same error.
What specifically went wrong when you tried that?:
I got this error message:
Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/ribbon.py”, line 1017, in onPavloviaCreate
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/builder/builder.py”, line 1612, in onPavloviaSync
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/pavlovia_ui/project.py”, line 854, in syncProject
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/projects/pavlovia.py”, line 912, in sync
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/projects/pavlovia.py”, line 1155, in firstPush
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/git/cmd.py”, line 986, in <lambda>
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/git/cmd.py”, line 1598, in _call_process
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/git/cmd.py”, line 1388, in execute
git.exc.GitCommandError: Cmd(‘git’) failed due to: exit code(1)
cmdline: git push -u https://*****:*****@gitlab.pavlovia.org/bforys/sounds_in_context_features master
stderr: ‘warning: redirecting to https://gitlab.pavlovia.org/bforys/sounds_in_context_features.git/
error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unexpectedly
Everything up-to-date’
If I try to resync it, I get the following error message:
Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/coder/coder.py”, line 2871, in onPavloviaSync
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/pavlovia_ui/project.py”, line 854, in syncProject
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/projects/pavlovia.py”, line 912, in sync
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/projects/pavlovia.py”, line 1149, in firstPush
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/projects/pavlovia.py”, line 1308, in commit
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/git/cmd.py”, line 986, in <lambda>
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/git/cmd.py”, line 1598, in _call_process
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/git/cmd.py”, line 1388, in execute
git.exc.GitCommandError: Cmd(‘git’) failed due to: exit code(1)
cmdline: git commit -m Push initial project files
stdout: ‘On branch master
nothing to commit, working tree clean’
Any help on this would be greatly appreciated, thank you! I saw that in the past this error was related to a server-side issue.