tinyhumansai/openhuman · error
missing value for --node-id
Error message
missing value for --node-id
What it means
The tree-summarizer parser found `--node-id` (or `--node`) as the final argument with no value after it. The node id operand is read from the next argv slot; end-of-args means the flag lacks its operand and the option parse fails before dispatch.
Source
Thrown at src/openhuman/memory/tree/tree_runtime/cli.rs:72
match args[i].as_str() {
"--content" | "-c" => {
let val = args
.get(i + 1)
.ok_or_else(|| anyhow::anyhow!("missing value for --content"))?;
content = Some(val.clone());
i += 2;
}
"--file" | "-f" => {
let val = args
.get(i + 1)
.ok_or_else(|| anyhow::anyhow!("missing value for --file"))?;
file = Some(val.clone());
i += 2;
}
"--node-id" | "--node" => {
let val = args
.get(i + 1)
.ok_or_else(|| anyhow::anyhow!("missing value for --node-id"))?;
node_id = Some(val.clone());
i += 2;
}
"-v" | "--verbose" => {
verbose = true;
i += 1;
}
"-h" | "--help" => {
rest.push(args[i].clone());
i += 1;
}
_ => {
rest.push(args[i].clone());
i += 1;
}
}
}
View on GitHub (pinned to 7491200858)
Solutions
- Pass the node id value after --node-id
- Confirm the node id is copied correctly from the tree output
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at src/openhuman/memory/tree/tree_runtime/cli.rs:72 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/2955c484914b34db.
Report an issue: GitHub.