Cannot push to Pavlovia


If someone could please help me, I’m having a continuous error when I try to push my experiment to Pavlovia. This is the error:

Traceback (most recent call last):
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\builder\”, line 1350, in onPavloviaSync
retVal = pavlovia_ui.syncProject(parent=self, project=self.project)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\pavlovia_ui\”, line 538, in syncProject
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\pavlovia_ui\”, line 96, in showCommitDialog
changeDict, changeList = project.getChanges()
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\”, line 906, in getChanges
for this in self.repo.index.diff(None):
File “C:\Program Files\PsychoPy\lib\site-packages\git\index\”, line 76, in check_default_index
return func(self, *args, **kwargs)
File “C:\Program Files\PsychoPy\lib\site-packages\git\index\”, line 1239, in diff
return super(IndexFile, self).diff(other, paths, create_patch, **kwargs)
File “C:\Program Files\PsychoPy\lib\site-packages\git\”, line 152, in diff
index = diff_method(self.repo, proc)
File “C:\Program Files\PsychoPy\lib\site-packages\git\”, line 515, in _index_from_raw_format
handle_process_output(proc, handle_diff_line, None, finalize_process, decode_streams=False)
File “C:\Program Files\PsychoPy\lib\site-packages\git\”, line 120, in handle_process_output
return finalizer(process)
File “C:\Program Files\PsychoPy\lib\site-packages\git\”, line 333, in finalize_process
File “C:\Program Files\PsychoPy\lib\site-packages\git\”, line 415, in wait
raise GitCommandError(self.args, status, errstr)
git.exc.GitCommandError: Cmd(‘C:\Program Files\PsychoPy\MinGit\cmd\git.exe’) failed due to: exit code(128)
cmdline: C:\Program Files\PsychoPy\MinGit\cmd\git.exe diff --abbrev=40 --full-index -M --raw --no-color

Thank you!

Hi Stefani - please can you share your experiment file here? it might be something in the file itself stopping the push.


Hi Becca,

Here is my experiment file. Do you need just the PsychoPy file? Or any others too? MMP.psyexp (318.9 KB)

Hi Stefani,

Please may you confirm when you get the error. Is it as soon as you press sync or is it after you select to create a project? (Asking as I am given the option to make a project, without error, when I click sync).

Please could you also confirm your operating system and psychopy version.


Hi Becca,

I already had a project created, and when I tried to sync updates I got an error. I did eventually try to create a new project, just to see if it would work, and it did not. So, I get an error for both.

Also, I’m using psychopy v2021.2.3 currently.

Hi All!

Happy to say that the issue has been fixed! There was an issue in my excel file. I recently bought a new computer, and had to transfer all the docs to my new one, and I guess something weird happened during that process. Once I resaved the original excel file the error seemed to go away.

Thank you all for your help!

Pleased to see you managed to resolve!