My local changes are pushed to the gitlab repository, but Pavlovia does not update the current experiment, even though it detects that it was updated (The dates match under the study’s name).
In addition, I tried making the experiment inactive and then pilot again, hoping it would fetch the latest gitlab version. Then I got the error message below. The experiment only contains JS costum code.
Can someone advise me on how to proceed? At the moment it is unclear how the merge conflict was caused.
The error message:
>>>> unable to pull project from GitLab repository: Cmd(‘git’) failed due to: exit code(1) cmdline: git pull -v origin stderr: ‘error: Your local changes to the following files would be overwritten by merge: html/main-legacy-browsers.js html/main.js main.psyexp Please, commit your changes or stash them before you can merge. Aborting’
Full description:
{
"origin": "http://pavlovia.org/api/v2/experiments/lenarddome/action001",
"pathWithNamespace": "lenarddome/action001",
"errorCode": null,
"experiment": {
"gitlabId": 19933,
"pavloviaUrl": "https://pavlovia.org/run/lenarddome/action001/html/",
"nbForks": 0,
"recruitment": {
"policy": {
"url": "https://pavlovia.org/run/lenarddome/action001/html/",
"singleRun": false,
"type": "URL"
}
},
"saveFormat": "CSV",
"avatarUrl": "",
"nbStars": 0,
"pavloviaScore": 0,
"platform": "PSYCHOJS",
"status": "INACTIVE",
"description": "",
"nbSessions": 0,
"visibility": "private",
"runMode": "CREDIT",
"creationDate": "2020-03-23 17:49:26.504",
"name": "action001",
"status2": "PILOTING",
"gitlabUrl": "https://gitlab.pavlovia.org/lenarddome/action001.git",
"userIds": [
4118
],
"pathWithNamespace": "lenarddome/action001",
"lastActivationDate": "2020-03-23 18:17:42",
"updateDate": "2020-03-24 16:23:58",
"creatorId": 4118
},
"user": {
"two_factor_enabled": false,
"username": "lenarddome",
"theme_id": 1,
"can_create_project": true,
"bio": null,
"confirmed_at": "2020-03-16T16:52:47.545Z",
"twitter": "",
"private_profile": null,
"shared_runners_minutes_limit": null,
"linkedin": "",
"color_scheme_id": 1,
"last_sign_in_at": "2020-03-19T17:24:00.014Z",
"web_url": "https://gitlab.pavlovia.org/lenarddome",
"last_activity_on": "2020-03-24",
"external": false,
"skype": "",
"identities": [],
"id": 4118,
"public_email": "",
"name": "myname",
"can_create_group": true,
"projects_limit": 100000,
"current_sign_in_at": "2020-03-23T17:40:18.233Z",
"created_at": "2020-03-16T16:52:47.721Z",
"emails": [
"myemail"
],
"state": "active",
"avatar_url": "https://secure.gravatar.com/avatar/2b28ef5e2301e2590351b1b241b398a5?s=80&d=identicon",
"location": null,
"organization": null,
"email": "myemail",
"website_url": ""
},
"context": "when updating the attribute(s) of an experiment",
"error": "unable to pull project from GitLab repository: Cmd('git') failed due to: exit code(1)\n cmdline: git pull -v origin\n stderr: 'error: Your local changes to the following files would be overwritten by merge:\n\thtml/main-legacy-browsers.js\n\thtml/main.js\n\tmain.psyexp\nPlease, commit your changes or stash them before you can merge.\nAborting'",
"httpStatusCode": 500
}