tinyhumansai/openhuman · error
{cmd} not available ({preview})
Error message
{cmd} not available ({preview}) What it means
Doctor environment check: an external command probe (git, etc.) launched with its version flag exited non-zero or could not run, so `check_command_available` reports the command as unavailable and shows the first stderr line as a preview. It does not necessarily mean the binary is absent — a present-but-broken binary (wrong arch, missing runtime libs, permission bits) lands in this same arm.
Source
Thrown at src/openhuman/platform/doctor/core.rs:769
use std::os::windows::process::CommandExt;
child_cmd.creation_flags(0x0800_0000); // CREATE_NO_WINDOW
}
match child_cmd.output() {
Ok(output) if output.status.success() => {
let version = String::from_utf8_lossy(&output.stdout)
.lines()
.next()
.unwrap_or("(unknown)")
.to_string();
items.push(DiagnosticItem::ok(cat, format!("{cmd}: {version}")));
}
Ok(output) => {
let preview = String::from_utf8_lossy(&output.stderr)
.lines()
.next()
.unwrap_or("(failed)")
.to_string();
items.push(DiagnosticItem::warn(
cat,
format!("{cmd} not available ({preview})"),
));
}
Err(err) => {
items.push(DiagnosticItem::warn(
cat,
format!("{cmd} not available ({err})"),
));
}
}
}
// ── Memory-tree DB health ────────────────────────────────────────
/// Probe the memory-tree SQLite database and push a [`DiagnosticItem`].
///
/// - If the DB directory / file does not exist yet: `Warn` (not yet created).View on GitHub (pinned to 7491200858)
Solutions
- Run the shown command manually (e.g. `git --version`) and read the stderr preview
- Reinstall the tool or fix PATH so the correct binary resolves
- On macOS verify the binary matches the CPU arch (file $(which <cmd>))
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at src/openhuman/platform/doctor/core.rs:769 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of tinyhumansai/openhuman@7491200858 (2026-08-17).
Data as JSON: /api/errors/cd7fd2bdaf42c7a5.
Report an issue: GitHub.