OS: Win 10 PsychoPy version : 2024.2.4 What are you trying to achieve?: I try to sync my project to Pavlovia in PsychoPy Builder, but it showed an error with below information:
Traceback (most recent call last):
File “E:\PsychoPy\lib\site-packages\psychopy\app\coder\coder.py”, line 2871, in onPavloviaSync
pavlovia_ui.syncProject(parent=self, file=self.currentDoc.filename, project=self.project)
File “E:\PsychoPy\lib\site-packages\psychopy\app\pavlovia_ui\project.py”, line 854, in syncProject
project.sync()
File “E:\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 912, in sync
self.firstPush(infoStream=infoStream)
File “E:\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 1149, in firstPush
info = self.commit(
File “E:\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py”, line 1315, in commit
info = self.repo.git.commit(‘-m’, message)
File “E:\PsychoPy\lib\site-packages\git\cmd.py”, line 986, in
return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
File “E:\PsychoPy\lib\site-packages\git\cmd.py”, line 1598, in _call_process
return self.execute(call, **exec_kwargs)
File “E:\PsychoPy\lib\site-packages\git\cmd.py”, line 1388, in execute
raise GitCommandError(redacted_command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd(‘E:\PsychoPy\MinGit\cmd\git.exe’) failed due to: exit code(1)
cmdline: E:\PsychoPy\MinGit\cmd\git.exe commit -m Push initial project files
stdout: ‘On branch master
nothing to commit, working tree clean’
What did you try to make it work?: I have tried to uninstall PsychoPy and reintall it again, and re-sign in my account, but these didn’t work. I can run the script o my laptop, but can’t do that in the browser and sync it to Pavlovia.
Could someone give me some suggestions related to this issue please? Thank you!
Now I created a new folder deleting the files I won’t be using and created a new experiment from scratch, (because in the previous one there were routines I wont be using and thought these may be issues too.) Then, I can create a new project when i click to the icon next to my name but when i click sync this is what i get:"Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/pavlovia_ui/project.py”, line 587, in sync
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/app/pavlovia_ui/project.py”, line 854, in syncProject
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 873, in sync
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 1109, in firstPush
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/psychopy/projects/pavlovia.py”, line 1251, in stageFiles
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/git/cmd.py”, line 542, in
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/git/cmd.py”, line 1005, in _call_process
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.8/git/cmd.py”, line 721, in execute
File “subprocess.pyc”, line 858, in init
File “subprocess.pyc”, line 1704, in _execute_child
OSError: [Errno 7] Argument list too long: ‘/Applications/PsychoPy.app/Contents/Resources/git-core/git’
What is that mean? I couldn’t find a similar entry in the forum could you please assist? Thanks so much!