Data Saving Error Online

Just noting the same problem:

Unfortunately we encountered the following error:

  • when flushing participant’s logs for experiment: […]
  • when uploading participant’s logs for experiment: […]
  • when saving logs from a previously opened session on the server
  • unable to push logs file: […].log to GitLab repository: Cmd(‘git’) failed due to: exit code(128) cmdline: git add […].log.gz stderr: ‘fatal: Unable to create ‘[…]/.git/index.lock’: File exists. Another git process seems to be running in this repository, e.g. an editor opened by ‘git commit’. Please make sure all processes are terminated then try again. If it still fails, a git process may have crashed in this repository earlier: remove the file manually to continue.’

Try to run the experiment again. If the error persists, contact the experiment designer.

About 140 participants completed the experiment, and only 1 reported this error, which suggests an unusual (but not impossible) race condition. Although in this case (like the OP) the data file was saved successfully (only the log failed to save), there are other postings that suggests data may be lost this way: 1 2

Perhaps git should wait a second or so for the lock to free before giving up?