Error "unable to pull project from GitLab repository"

URL of experiment: Pavlovia

Description of the problem:
Hi,
The experiment was working fine offline but when I try to pilot or run online, it comes back with error message:

unable to pull project from GitLab repository: Remote ‘origin’ has no refspec set. You can set it as follows: ‘git config --add “remote.origin.fetch +refs/heads/:refs/heads/”’.

Full description:

{
  "origin": "http://pavlovia.org/api/v2/experiments/UrszulaMatthews/posner_tutorial",
  "context": "when updating the attribute(s) of an experiment",
  "pathWithNamespace": "UrszulaMatthews/posner_tutorial",
  "user": {
    "id": 19818,
    "username": "UrszulaMatthews",
    "name": "Urszula Matthews",
    "email": "urszula.matthews@nottingham.ac.uk"
  },
  "experiment": {
    "gitlabId": 142172,
    "avatarUrl": "",
    "creationDate": "2021-06-08 12:46:01.340",
    "creatorId": 19818,
    "description": "Tutorial experiment",
    "gitlabUrl": "https://gitlab.pavlovia.org/UrszulaMatthews/posner_tutorial.git",
    "license": {
      "licenseId": "6c9a2b5e-02fd-11eb-8c6b-d05099d383f7",
      "approvals": {},
      "institutionName": "University of Nottingham",
      "expirationDate": "2021-09-30",
      "managerId": 6,
      "managerName": "Jonathan Peirce",
      "managerEmail": "jon@peirce.org.uk",
      "institutionLogo": "https://pavlovia.org/assets/licensee_logos/nottingham.png"
    },
    "name": "Posner_tutorial",
    "nbForks": 0,
    "nbStars": 0,
    "pathWithNamespace": "UrszulaMatthews/posner_tutorial",
    "pavloviaScore": 0,
    "pavloviaUrl": "https://run.pavlovia.org/UrszulaMatthews/posner_tutorial",
    "platform": "UNKNOWN",
    "recruitment": {
      "policy": {
        "type": "URL",
        "url": "https://run.pavlovia.org/UrszulaMatthews/posner_tutorial",
        "singleRun": false
      }
    },
    "runMode": "LICENSE",
    "saveFormat": "CSV",
    "saveIncompleteResults": true,
    "status": "INACTIVE",
    "status2": "PILOTING",
    "updateDate": "2021-06-15 09:40:31",
    "userIds": [
      19818
    ],
    "version": "0",
    "visibility": "private"
  },
  "error": "unable to pull project from GitLab repository: Remote 'origin' has no refspec set.\nYou can set it as follows: 'git config --add \"remote.origin.fetch +refs/heads/*:refs/heads/*\"'.",
  "errorCode": null,
  "httpStatusCode": 500
}

I have only just created pavlovia and GitLab accounts and this is my first psychopy experiment that I created following the posner tutorials. I would greately appreciate any help with this.

Thanks!

Hi, I no longer need to solve this as my next project works fine online. Thanks

1 Like