Can't upload revised experiment after deleting previous version

URL of experiment:

Description of the problem:
I deleted the experiment due to issues updating the file. When I attempt to upload the experiment a second time, I get this error message and I am forced to “recreate the experiment” rather than start anew. I would appreciate it if you could explain how to re-upload this experiment from scratch.

Upon clicking the URL: 403 Forbidden

Error message on uploading:
Pushing to Pavlovia for the first time…Traceback (most recent call last):
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\pavlovia_ui\”, line 497, in syncProject
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\projects\”, line 822, in firstPush
info = self.repo.git.push(’-u’, self.remoteWithToken, ‘master’)
File “C:\Program Files\PsychoPy3\lib\site-packages\git\”, line 548, in
return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
File “C:\Program Files\PsychoPy3\lib\site-packages\git\”, line 1014, in _call_process
return self.execute(call, **exec_kwargs)
File “C:\Program Files\PsychoPy3\lib\site-packages\git\”, line 825, in execute
raise GitCommandError(command, status, stderr_value, stdout_value)
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 push -u master
stderr: 'fatal: ‘master’ does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.’

Try removing the .git folder and then sync again. Does that help?

Yes, thanks, I erased all the files related to the online sync and relabeled the folder and then it works.

1 Like