NousResearch/hermes-agent · error · anyhow::Error

cancelled by user

Error message

cancelled by user

What it means

Error "cancelled by user" thrown in NousResearch/hermes-agent.

Source

Thrown at apps/bootstrap-installer/src-tauri/src/bootstrap.rs:700

        if stage_result.killed {
            emit_event(
                &app,
                BootstrapEvent::Stage {
                    name: stage.name.clone(),
                    state: StageState::Failed,
                    duration_ms: Some(duration_ms),
                    result: None,
                    error: Some("cancelled by user".into()),
                },
            );
            emit_event(
                &app,
                BootstrapEvent::Failed {
                    stage: Some(stage.name.clone()),
                    error: "cancelled by user".into(),
                },
            );
            return Err(anyhow!("cancelled by user"));
        }

        match result_frame {
            None => {
                let err = format!(
                    "install.ps1 -Stage {} produced no JSON result frame (exit={:?})",
                    stage.name, stage_result.exit_code
                );
                emit_event(
                    &app,
                    BootstrapEvent::Stage {
                        name: stage.name.clone(),
                        state: StageState::Failed,
                        duration_ms: Some(duration_ms),
                        result: None,
                        error: Some(err.clone()),
                    },
                );

View on GitHub (pinned to c896c09c42)

Solutions

  1. Re-run the operation and confirm instead of cancelling.

When it happens

Trigger: Thrown at apps/bootstrap-installer/src-tauri/src/bootstrap.rs:700 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of NousResearch/hermes-agent@c896c09c42 (2026-08-14). Data as JSON: /api/errors/7b24338904942656. Report an issue: GitHub.