mitodl / edx-platform

The Open edX platform, the software that powers edX!
http://open.edx.org/
GNU Affero General Public License v3.0
6 stars 1 forks source link

CalledProcessError: Command '['git', 'commit', '-a', '-m', 'Export from Studio at 2022-11-14 12:45:42.693903+00:00']'... #303

Open sentry-io[bot] opened 1 year ago

sentry-io[bot] commented 1 year ago

This is more a warning than an error. Can we handle it differently?

Sentry Issue: OPENEDX-RESIDENTIAL-3T4

CalledProcessError: Command '['git', 'commit', '-a', '-m', 'Export from Studio at 2022-11-14 12:45:42.693903+00:00']' returned non-zero exit status 1.
  File "cms/djangoapps/contentstore/git_export_utils.py", line 174, in export_to_git
    cmd_log(['git', 'commit', '-a', '-m', commit_msg], cwd)
  File "cms/djangoapps/contentstore/git_export_utils.py", line 62, in cmd_log
    output = subprocess.check_output(cmd, cwd=cwd, stderr=subprocess.STDOUT)
  File "subprocess.py", line 415, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,

Unable to commit changes: "On branch master\nYour branch is up to date with 'origin/master'.\n\nnothing to commit, working tree clean\n"
pdpinch commented 1 year ago

Also https://sentry.io/organizations/mit-office-of-digital-learning/issues/2812912806/