URL of experiment: (unlikely to be useful - this is just the demo experiment that I attempted (unsucessfully) to sync to check whether it was specific to my own task or a more general problem)
Description of the problem:
Although I can successfully sync experiments from builder (v3.1.2) on my home PC (Windows 8) to Pavlovia, they will not sync from my work PC (Windows 10, same version of PsychoPy). There is some communication as it will create new projects, but when you try to sync, the box just gets stuck at the ‘synchronising…’ message and the repository remains empty. The error message in the output tab is pasted below. I have seen posts about similar problems but have not identified others with this error.
Does this seem likely to be caused by a firewall/network issue, or could it be something as simple as spaces in the filepath (I unfortunately can’t test until someone from IT with administrator rights can come and change the filename of Program Files!)? I have checked, and there is a git.exe file in that directory, so I am unsure what the problem is. The same error is created regardless of what study I attempt to synchronise.
Traceback (most recent call last):
File “C:\Program Files (x86)\PsychoPy3\lib\site-packages\psychopy\app\coder\coder.py”, line 2806, in onPavloviaSync
pavlovia_ui.syncProject(parent=self, project=self.project)
File “C:\Program Files (x86)\PsychoPy3\lib\site-packages\psychopy\app\pavlovia_ui\project.py”, line 482, in syncProject
if project.getRepo(forceRefresh=True) is None:
File “C:\Program Files (x86)\PsychoPy3\lib\site-packages\psychopy\projects\pavlovia.py”, line 748, in getRepo
self.newRepo(infoStream=infoStream)
File “C:\Program Files (x86)\PsychoPy3\lib\site-packages\psychopy\projects\pavlovia.py”, line 805, in newRepo
self.repo = git.Repo.init(self.localRoot)
File “C:\Program Files (x86)\PsychoPy3\lib\site-packages\git\repo\base.py”, line 906, in init
git.init(**kwargs)
File “C:\Program Files (x86)\PsychoPy3\lib\site-packages\git\cmd.py”, line 548, in
return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
File “C:\Program Files (x86)\PsychoPy3\lib\site-packages\git\cmd.py”, line 1014, in _call_process
return self.execute(call, **exec_kwargs)
File “C:\Program Files (x86)\PsychoPy3\lib\site-packages\git\cmd.py”, line 825, in execute
raise GitCommandError(command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd(‘C:\Program Files (x86)\PsychoPy3\MinGit\cmd\git.exe’) failed due to: exit code(128)
cmdline: C:\Program Files (x86)\PsychoPy3\MinGit\cmd\git.exe init
stderr: ‘fatal: unable to get current working directory: No such file or directory’
Any assistance or work-arounds greatly appreciated (I am very much a beginner when it comes to all things git).
Thanks,
Jenny