{"record":{"id":"0c986f93b9e0e61c","repo":"astral-sh/uv","slug":"no-author-information-found","errorCode":null,"errorMessage":"No author information found","messagePattern":"No author information found","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/uv/src/commands/project/init.rs","lineNumber":1324,"sourceCode":"\n    let output = git\n        .build_command()\n        .arg(\"config\")\n        .arg(\"--get\")\n        .arg(\"user.email\")\n        .current_dir(path)\n        .stdout(Stdio::piped())\n        .stderr(Stdio::null())\n        .output()?;\n    if output.status.success() {\n        email = Some(String::from_utf8_lossy(&output.stdout).trim().to_string());\n    }\n\n    let author = match (name, email) {\n        (Some(name), Some(email)) => Author::NameEmail { name, email },\n        (Some(name), None) => Author::Name(name),\n        (None, Some(email)) => Author::Email(email),\n        (None, None) => anyhow::bail!(\"No author information found\"),\n    };\n\n    Ok(author)\n}\n\n#[cfg(test)]\nmod tests {\n    use super::*;\n\n    #[test]\n    fn author_to_toml_string_handles_inline_quotes() {\n        let author = Author::NameEmail {\n            name: \"Tony \\\"Iron Man\\\" Stark\".to_string(),\n            email: \"ironman@example.com\".to_string(),\n        };\n\n        assert_eq!(\n            author.to_toml_string(),","sourceCodeStart":1306,"sourceCodeEnd":1342,"githubUrl":"https://github.com/astral-sh/uv/blob/f1a42680ff5272232d65748acf338b19778dde24/crates/uv/src/commands/project/init.rs#L1306-L1342","documentation":"Error \"No author information found\" thrown in astral-sh/uv.","triggerScenarios":"Thrown at crates/uv/src/commands/project/init.rs:1324 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"}