Github error: can't sync experiment from PsychoPy onto pavlovia

Hello everyone,

I am trying to sync an experimental file from PsychoPy onto Pavlovia.

I keep getting this error message:

Traceback (most recent call last):
  File “/Volumes/PsychoPy-2021.1.4/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/app/builder/builder.py”, line 1326, in onPavloviaSync
  File “/Volumes/PsychoPy-2021.1.4/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/app/builder/builder.py”, line 1417, in project
  File “/Volumes/PsychoPy-2021.1.4/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/projects/pavlovia.py”, line 1079, in getProject
  File “/Volumes/PsychoPy-2021.1.4/PsychoPy.app/Contents/Resources/lib/python3.6/git/repo/base.py”, line 161, in __init__
git.exc.InvalidGitRepositoryError: /Users/emreyavuz/Desktop/Work/Self-Harm Project/incentivedelay_v4_104

Could anyone give me a helping hand?

I would be so grateful!

:wave: Welcome!

Disclaimer: I don’t know anything about PsychoPy or Pavlovia.

But - that error message would have me first checking if I need to escape the space in the Self-Harm Project folder.

Unless it breaks something else, my personal preference would always be to rename the folder because spaces in paths have caused me so much grief I’m practically allergic to them now :slight_smile:

If you can’t rename the folder, then you might want to try escaping that space.