Description of the problem:
When I tried to sync the builder with my remote pavlovia project I get a pop up screen that says that psychopy has encountered an unhandled Internal error, as well as the following report:
Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/app/pavlovia_ui/project.py”, line 364, in onSyncButton
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/projects/pavlovia.py”, line 662, in sync
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/projects/pavlovia.py”, line 730, in push
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/projects/pavlovia.py”, line 721, in push
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/git/cmd.py”, line 548, in <lambda>
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/git/cmd.py”, line 1014, in _call_process
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/git/cmd.py”, line 825, in execute
git.exc.GitCommandError: Cmd(‘/Applications/PsychoPy.app/Contents/Resources/git-core/git’) failed due to: exit code(1)
cmdline: /Applications/PsychoPy.app/Contents/Resources/git-core/git push https://oauth2:aad12de4b22e17a545ac2512c5e5dd885c7fd6f0a5f3668e5a27a0ebe378e0d3@gitlab.pavlovia.org/arielm123/beat_fit_str.git master
stderr: ‘To https://gitlab.pavlovia.org/arielm123/beat_fit_str.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to ‘https://oauth2:aad12de4b22e17a545ac2512c5e5dd885c7fd6f0a5f3668e5a27a0ebe378e0d3@gitlab.pavlovia.org/arielm123/beat_fit_str.git’
hint: Updates were rejected because a pushed branch tip is behind its remote
hint: counterpart. Check out this branch and integrate the remote changes
hint: (e.g. ‘git pull …’) before pushing again.
hint: See the ‘Note about fast-forwards’ in ‘git push —help’ for details.’
I’ve tried pulling from GitLab before trying to sync the experiment again but it said that everything was up to date.
I’m not quite sure why this is happening, and I am a pretty new psychopy user so any advice will help.
Thanks