Bug 1657392 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Error:

```
 "Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/app/probe_scraper/runner.py", line 449, in <module>
    main(args.cache_dir,
  File "/app/probe_scraper/runner.py", line 377, in main
    load_glean_metrics(cache_dir, out_dir, repositories_file, dry_run, glean_repo)
  File "/app/probe_scraper/runner.py", line 208, in load_glean_metrics
    commit_timestamps, repos_metrics_data, emails = git_scraper.scrape(cache_dir, repositories)
  File "/app/probe_scraper/scrapers/git_scraper.py", line 139, in scrape
    ts, commits = retrieve_files(repo_info, folder)
  File "/app/probe_scraper/scrapers/git_scraper.py", line 84, in retrieve_files
    contents = get_file_at_hash(repo, _hash, rel_path)
  File "/app/probe_scraper/scrapers/git_scraper.py", line 52, in get_file_at_hash
    return repo.git.show("{hash}:{path}".format(hash=_hash, path=filename))
  File "/usr/local/lib/python3.8/site-packages/git/cmd.py", line 542, in <lambda>
    return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/git/cmd.py", line 1005, in _call_process
    return self.execute(call, **exec_kwargs)
  File "/usr/local/lib/python3.8/site-packages/git/cmd.py", line 822, in execute
    raise GitCommandError(command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
```
Error:

```
 "Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/app/probe_scraper/runner.py", line 449, in <module>
    main(args.cache_dir,
  File "/app/probe_scraper/runner.py", line 377, in main
    load_glean_metrics(cache_dir, out_dir, repositories_file, dry_run, glean_repo)
  File "/app/probe_scraper/runner.py", line 208, in load_glean_metrics
    commit_timestamps, repos_metrics_data, emails = git_scraper.scrape(cache_dir, repositories)
  File "/app/probe_scraper/scrapers/git_scraper.py", line 139, in scrape
    ts, commits = retrieve_files(repo_info, folder)
  File "/app/probe_scraper/scrapers/git_scraper.py", line 84, in retrieve_files
    contents = get_file_at_hash(repo, _hash, rel_path)
  File "/app/probe_scraper/scrapers/git_scraper.py", line 52, in get_file_at_hash
    return repo.git.show("{hash}:{path}".format(hash=_hash, path=filename))
  File "/usr/local/lib/python3.8/site-packages/git/cmd.py", line 542, in <lambda>
    return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/git/cmd.py", line 1005, in _call_process
    return self.execute(call, **exec_kwargs)
  File "/usr/local/lib/python3.8/site-packages/git/cmd.py", line 822, in execute
    raise GitCommandError(command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
```
```
stderr: 'fatal: Path 'toolkit/components/glean/pings.yaml' exists on disk, but not in '4520632fe0664572c5f70688595b7721d167e2d0'.'
```

Back to Bug 1657392 Comment 0