W10, Psychopy versions 2024.2.1 and 2024.2.2 with python 3.10.
Hi,
As of the last 2 versions of PsychoPy I seem to have difficulties synching my tasks to pavlovia more than once.
The initial uploading of my projects works well and I can run my exps online just fine but if I make any changes and try to sync the project I keep getting the error below. I am afraid I am not particularly familiar with git CLI commands.
I do not want to downgrade as I will have to recreate the projects from scratch.
Any pointers or advice will be much appreciated.
Thanks
Yiannis
Traceback (most recent call last):
File "C:\Users\ia230\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\app\builder\builder.py", line 1612, in onPavloviaSync
pavlovia_ui.syncProject(parent=self, file=self.filename, project=self.project)
File "C:\Users\ia230\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\app\pavlovia_ui\project.py", line 854, in syncProject
project.sync()
File "C:\Users\ia230\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py", line 914, in sync
self.pull(infoStream)
File "C:\Users\ia230\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py", line 971, in pull
raise e
File "C:\Users\ia230\AppData\Local\Programs\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py", line 961, in pull
info = self.repo.git.pull(self.remoteWithToken, 'master')
File "C:\Users\ia230\AppData\Local\Programs\PsychoPy\lib\site-packages\git\cmd.py", line 986, in <lambda>
return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
File "C:\Users\ia230\AppData\Local\Programs\PsychoPy\lib\site-packages\git\cmd.py", line 1598, in _call_process
return self.execute(call, **exec_kwargs)
File "C:\Users\ia230\AppData\Local\Programs\PsychoPy\lib\site-packages\git\cmd.py", line 1388, in execute
raise GitCommandError(redacted_command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd('C:\Users\ia230\AppData\Local\Programs\PsychoPy\MinGit\cmd\git.exe') failed due to: exit code(128)
cmdline: C:\Users\ia230\AppData\Local\Programs\PsychoPy\MinGit\cmd\git.exe pull https://*****:*****@gitlab.pavlovia.org/Yiannis_A/stroopnew master
stderr: 'warning: redirecting to https://gitlab.pavlovia.org/Yiannis_A/stroopnew.git/
From https://gitlab.pavlovia.org/Yiannis_A/stroopnew
* branch master -> FETCH_HEAD
hint: You have divergent branches and need to specify how to reconcile them.
hint: You can do so by running one of the following commands sometime before
hint: your next pull:
hint:
hint: git config pull.rebase false # merge
hint: git config pull.rebase true # rebase
hint: git config pull.ff only # fast-forward only
hint:
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
fatal: Need to specify how to reconcile divergent branches.'