HKUDS/nanobot · error · ValueError

Unknown sandbox backend {sandbox!r}. Available: {list(_BACKE

Error message

Unknown sandbox backend {sandbox!r}. Available: {list(_BACKENDS)}

What it means

Error "Unknown sandbox backend {sandbox!r}. Available: {list(_BACKENDS)}" thrown in HKUDS/nanobot.

Source

Thrown at nanobot/agent/tools/sandbox.py:125

def wrap_command(
    sandbox: str,
    command: str,
    workspace: str,
    cwd: str,
    *,
    sandbox_ro_binds: Iterable[str] | None = None,
    sandbox_rw_binds: Iterable[str] | None = None,
) -> str:
    """Wrap *command* using the named sandbox backend."""
    if backend := _BACKENDS.get(sandbox):
        return backend(
            command,
            workspace,
            cwd,
            sandbox_ro_binds=sandbox_ro_binds,
            sandbox_rw_binds=sandbox_rw_binds,
        )
    raise ValueError(f"Unknown sandbox backend {sandbox!r}. Available: {list(_BACKENDS)}")

View on GitHub (pinned to 42f37dc4c0)

When it happens

Trigger: Thrown at nanobot/agent/tools/sandbox.py:125 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of HKUDS/nanobot@42f37dc4c0 (2026-08-26). Data as JSON: /api/errors/b51ba85056931fd4. Report an issue: GitHub.