zeroclaw-labs/zeroclaw · error · anyhow::Error

no catalogues fetched for locale

Error message

no catalogues fetched for locale '{locale}'

What it means

Locale catalog sync: every catalogue fetch for the locale was skipped or failed (typically the locale/branch is not present upstream), so zero files were fetched and nothing is written. All-or-nothing semantics for the locales command.

Solutions

  1. Check network access and the catalog source for the locale, then retry the fetch.
  2. Verify the locale code is correct and that catalogues exist upstream for that locale.
Defensive patterns

Strategy: retry

When it happens

Trigger: Thrown at src/main.rs:3410 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of zeroclaw-labs/zeroclaw@88bb9c8533 (2026-08-23). Data as JSON: /api/errors/c8f5170f8e3cc599. Report an issue: GitHub.

Appendix: source

Thrown at src/main.rs:3410

            None => {
                eprintln!(
                    "{}",
                    ta(
                        "cli-locales-skipped",
                        &[
                            ("name", name),
                            ("path", &repo_path),
                            ("refs", &refs.join(", "))
                        ],
                        "skipped: not on upstream",
                    )
                );
            }
        }
    }

    if fetched == 0 {
        bail!("no catalogues fetched for locale '{locale}'");
    }
    println!(
        "{}",
        ta(
            "cli-locales-installed",
            &[
                ("count", &fetched.to_string()),
                ("locale", &locale),
                ("dir", &dest.display().to_string())
            ],
            "Installed catalogues",
        )
    );
    Ok(())
}

fn main() -> Result<()> {
    let command = Cli::command();

View on GitHub (pinned to 88bb9c8533)