{"record":{"id":"eb7a92b66dc1d730","repo":"astral-sh/uv","slug":"the-executable-directory-is-not-in-path-but-th-eb7a92","errorCode":null,"errorMessage":"The executable directory {} is not in PATH, but the {shell} configuration files are already up-to-date","messagePattern":"The executable directory (.+?) is not in PATH, but the (.+?) configuration files are already up-to-date","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"crates/uv/src/commands/update_shell.rs","lineNumber":154,"sourceCode":"\n                writeln!(\n                    printer.stderr(),\n                    \"Created configuration file: {}\",\n                    file.simplified_display().cyan()\n                )?;\n                updated = true;\n            }\n            Err(err) => {\n                return Err(err.into());\n            }\n        }\n    }\n\n    if updated {\n        writeln!(printer.stderr(), \"Restart your shell to apply changes\")?;\n        Ok(ExitStatus::Success)\n    } else {\n        Err(anyhow::anyhow!(\n            \"The executable directory {} is not in PATH, but the {shell} configuration files are already up-to-date\",\n            executable_directory.simplified_display().cyan()\n        ))\n    }\n}\n","sourceCodeStart":136,"sourceCodeEnd":160,"githubUrl":"https://github.com/astral-sh/uv/blob/f1a42680ff5272232d65748acf338b19778dde24/crates/uv/src/commands/update_shell.rs#L136-L160","documentation":"Error \"The executable directory {} is not in PATH, but the {shell} configuration files are already up-to-date\" thrown in astral-sh/uv.","triggerScenarios":"Thrown at crates/uv/src/commands/update_shell.rs:154 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"f1a42680ff5272232d65748acf338b19778dde24","analyzedAt":"2026-08-16T04:51:47.599Z","schemaVersion":2},"datasetVersion":"2026-08-16T08:17:34.114Z"}