BurntSushi/ripgrep · error · MissingCommands
MissingCommands({missing_names})
Error message
MissingCommands({missing_names}) What it means
Error "MissingCommands({missing_names})" thrown in BurntSushi/ripgrep.
Source
Thrown at benchsuite/benchsuite:806
self.disabled_cmds = set(disabled_cmds or [])
self.order = order
def raise_if_missing(self):
'''
Raises a MissingCommands exception if applicable.
A MissingCommands exception is raised when the following
criteria are met: 1) allow_missing_commands is False, and 2) at
least one command in this benchmark could not be found on this
system.
'''
missing_commands = []
for c in self.commands:
if c.binary_name in self.disabled_cmds or c.exists():
continue
missing_commands.append(c.binary_name)
if not self.allow_missing_commands and len(missing_commands) > 0:
raise MissingCommands(missing_commands)
def run(self):
'''
Runs this benchmark and returns the results.
:rtype: Result
:raises:
MissingCommands if any command doesn't exist.
(Unless allow_missing_commands is enabled.)
'''
self.raise_if_missing()
result = Result(self)
for cmd in self.commands:
if cmd.binary_name in self.disabled_cmds:
continue
if self.allow_missing_commands and not cmd.exists():
# Skip this command if we're OK with it.
continueView on GitHub (pinned to 3fce3b5bb0)
Solutions
- Install the missing commands listed in the error and ensure they are on your PATH
- If the commands are optional, install the corresponding package for your OS (e.g. via apt, brew, or choco)
When it happens
Trigger: Thrown at benchsuite/benchsuite:806 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of BurntSushi/ripgrep@3fce3b5bb0 (2026-08-06).
Data as JSON: /data/errors/a477802c3ee9cc2c.json.
Report an issue: GitHub.