Bug 1673303 Comment 3 Edit History

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

Under Ubuntu, slightly different error message:

```
FileNotFoundError: [Errno 2] No such file or directory: '/home/yoric/.local/lib/python3.8/site-packages/mozphab/pings.yaml'
```
Under Ubuntu, slightly different error message:

```
Traceback (most recent call last):
  File "/home/yoric/.local/bin/moz-phab", line 5, in <module>
    from mozphab.mozphab import run
  File "/home/yoric/.local/lib/python3.8/site-packages/mozphab/mozphab.py", line 20, in <module>
    from .args import parse_args
  File "/home/yoric/.local/lib/python3.8/site-packages/mozphab/args.py", line 14, in <module>
    from .detect_repository import find_repo_root
  File "/home/yoric/.local/lib/python3.8/site-packages/mozphab/detect_repository.py", line 8, in <module>
    from .git import Git
  File "/home/yoric/.local/lib/python3.8/site-packages/mozphab/git.py", line 24, in <module>
    from .telemetry import telemetry
  File "/home/yoric/.local/lib/python3.8/site-packages/mozphab/telemetry.py", line 174, in <module>
    telemetry = Telemetry()
  File "/home/yoric/.local/lib/python3.8/site-packages/mozphab/telemetry.py", line 46, in __init__
    self.pings = load_pings(environment.MOZPHAB_MAIN_DIR / "pings.yaml")
  File "/home/yoric/.local/lib/python3.8/site-packages/glean/_loader.py", line 195, in load_pings
    metrics = load_metrics(filepath, config)
  File "/home/yoric/.local/lib/python3.8/site-packages/glean/_loader.py", line 149, in load_metrics
    if glean_parser.lint.glinter(filepath, config, file=glinter_warnings):
  File "/home/yoric/.local/lib/python3.8/site-packages/glean_parser/lint.py", line 387, in glinter
    if lint_yaml_files(input_filepaths, file=file):
  File "/home/yoric/.local/lib/python3.8/site-packages/glean_parser/lint.py", line 359, in lint_yaml_files
    with path.open("r", encoding="utf-8") as fd:
  File "/usr/lib/python3.8/pathlib.py", line 1218, in open
    return io.open(self, mode, buffering, encoding, errors, newline,
  File "/usr/lib/python3.8/pathlib.py", line 1074, in _opener
    return self._accessor.open(self, flags, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/home/yoric/.local/lib/python3.8/site-packages/mozphab/pings.yaml'
```

Back to Bug 1673303 Comment 3