psychopy.org | Reference | Downloads | Github

Cannot push to Pavlovia

Hello,

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\builder.py”, 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\project.py”, line 538, in syncProject
infoStream=syncFrame)
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\pavlovia_ui\functions.py”, line 96, in showCommitDialog
changeDict, changeList = project.getChanges()
File “C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 906, in getChanges
for this in self.repo.index.diff(None):
File “C:\Program Files\PsychoPy\lib\site-packages\git\index\util.py”, line 76, in check_default_index
return func(self, *args, **kwargs)
File “C:\Program Files\PsychoPy\lib\site-packages\git\index\base.py”, line 1239, in diff
return super(IndexFile, self).diff(other, paths, create_patch, **kwargs)
File “C:\Program Files\PsychoPy\lib\site-packages\git\diff.py”, line 152, in diff
index = diff_method(self.repo, proc)
File “C:\Program Files\PsychoPy\lib\site-packages\git\diff.py”, 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\cmd.py”, line 120, in handle_process_output
return finalizer(process)
File “C:\Program Files\PsychoPy\lib\site-packages\git\util.py”, line 333, in finalize_process
proc.wait(**kwargs)
File “C:\Program Files\PsychoPy\lib\site-packages\git\cmd.py”, 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.

Thanks,
Becca

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.

Thanks!
Becca

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!