{"id":"a477802c3ee9cc2c","repo":"BurntSushi/ripgrep","slug":"missingcommands-missing-names","errorCode":null,"errorMessage":"MissingCommands({missing_names})","messagePattern":"MissingCommands\\((.+?)\\)","errorType":"exception","errorClass":"MissingCommands","httpStatus":null,"severity":"error","filePath":"benchsuite/benchsuite","lineNumber":806,"sourceCode":"        self.disabled_cmds = set(disabled_cmds or [])\n        self.order = order\n\n    def raise_if_missing(self):\n        '''\n        Raises a MissingCommands exception if applicable.\n\n        A MissingCommands exception is raised when the following\n        criteria are met: 1) allow_missing_commands is False, and 2) at\n        least one command in this benchmark could not be found on this\n        system.\n        '''\n        missing_commands = []\n        for c in self.commands:\n            if c.binary_name in self.disabled_cmds or c.exists():\n                continue\n            missing_commands.append(c.binary_name)\n        if not self.allow_missing_commands and len(missing_commands) > 0:\n            raise MissingCommands(missing_commands)\n\n    def run(self):\n        '''\n        Runs this benchmark and returns the results.\n\n        :rtype: Result\n        :raises:\n            MissingCommands if any command doesn't exist.\n            (Unless allow_missing_commands is enabled.)\n        '''\n        self.raise_if_missing()\n        result = Result(self)\n        for cmd in self.commands:\n            if cmd.binary_name in self.disabled_cmds:\n                continue\n            if self.allow_missing_commands and not cmd.exists():\n                # Skip this command if we're OK with it.\n                continue","sourceCodeStart":788,"sourceCodeEnd":824,"githubUrl":"https://github.com/BurntSushi/ripgrep/blob/3fce3b5bb0236da2df6d99672afb8a719642eca7/benchsuite/benchsuite#L788-L824","documentation":"Error \"MissingCommands({missing_names})\" thrown in BurntSushi/ripgrep.","triggerScenarios":"Thrown at benchsuite/benchsuite:806 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","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)"],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"analyzedSha":"3fce3b5bb0236da2df6d99672afb8a719642eca7","analyzedAt":"2026-08-06T01:39:05.073Z","schemaVersion":2}