Hi there,
I’m experiencing great difficulty getting a task synchronized with Pavlovia. I had developed a little test task a while back that seemed to work. I’m completely stuck… Any help would be much appreciated! Included to totally delete Pavlovia / Gitlab account, PsychoPy (and every file linked to it) to try fresh install, if needed.
Thanks in advance for advice/help.
Fab.
OS: Windows 10
PsychoPy version : v2021.1.4
Standard Standalone? (y/n) y
**What are you trying to achieve?: sync files to Pavlovia
**What did you try to make it work?: Tried creating a new task from scratch, tried with a new Pavlovia account, tried uninstall and reinstalling (but my old Pavlovia username keeps showing up in the Pavlovia menu within PsychoPy Builder).
When I try to create a new experiment on Pavlovia from PsychoPy Builder, I get this:
Traceback (most recent call last):
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\pavlovia_ui\project.py”, line 161, in submitChanges
self.parent.project = self.project
AttributeError: ‘NoneType’ object has no attribute ‘project’
When trying to sync the files, I get this:
When I try to create a new experiment on Pavlovia from PsychoPy Builder, I get this:
Traceback (most recent call last):
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\pavlovia_ui\project.py”, line 161, in submitChanges
self.parent.project = self.project
AttributeError: ‘NoneType’ object has no attribute ‘project’
When trying to sync the files, I get this:
Traceback (most recent call last):
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\pavlovia_ui\menu.py”, line 129, in onNew
retVal = syncProject(parent=self.parent, project=projEditor.project)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\pavlovia_ui\project.py”, line 508, in syncProject
infoStream=syncFrame)
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\pavlovia_ui\functions.py”, line 96, in showCommitDialog
changeDict, changeList = project.getChanges()
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\projects\pavlovia.py”, line 902, in getChanges
changeDict[‘untracked’] = self.repo.untracked_files
File “C:\Program Files\PsychoPy3\lib\site-packages\git\repo\base.py”, line 662, in untracked_files
return self._get_untracked_files()
File “C:\Program Files\PsychoPy3\lib\site-packages\git\repo\base.py”, line 688, in _get_untracked_files
finalize_process(proc)
File “C:\Program Files\PsychoPy3\lib\site-packages\git\util.py”, line 333, in finalize_process
proc.wait(**kwargs)
File “C:\Program Files\PsychoPy3\lib\site-packages\git\cmd.py”, line 415, in wait
raise GitCommandError(self.args, status, errstr)
git.exc.GitCommandError: Cmd(‘C:\Program Files\PsychoPy3\MinGit\cmd\git.exe’) failed due to: exit code(128)
cmdline: C:\Program Files\PsychoPy3\MinGit\cmd\git.exe status --porcelain --untracked-files
stderr: 'error: bad signature
fatal: index file corrupt
’