Skip to content

Latest commit

 

History

History
65 lines (46 loc) · 2.43 KB

File metadata and controls

65 lines (46 loc) · 2.43 KB

Troubleshooting

Use this guide to diagnose and fix common Xelo CLI issues.

Quick Diagnosis

Symptom Likely Cause Fix
error: path not found: ... Scan target path does not exist Verify path and rerun xelo scan <existing-dir> ...
error: not a directory: ... Provided path points to file, not directory Use a directory path for scan path
error: cannot write output file: ... Missing permissions / invalid output path Use writable directory and check permissions
error: I/O error writing ... Filesystem or path issue Check disk/path validity and retry
Unified mode output is shallow cyclonedx-py unavailable so fallback used Install optional dependency: pip install "xelo[cdx]"
LLM enrichment fails to start Missing litellm or provider credentials Install pip install "xelo[llm]" and set provider env vars
scan repo fails early git missing on PATH, bad URL, or bad ref Install git, verify repo URL, and verify --ref
deps: [] in output No package manifest files found anywhere in the repo Expected for repos with no requirements.txt, pyproject.toml, or package.json (e.g. walkthrough or documentation repos)
summary.frameworks: [] even though agents were detected Repository uses a framework not yet in the detection set, or framework is embedded in a non-standard pattern Run with --verbose to inspect detected FRAMEWORK nodes; open an issue if a supported framework is not recognized

Logging Levels

  • Use --verbose for scan progress and useful runtime context.
  • Use --debug for deep diagnostics and full traceback output.

Examples:

xelo --verbose scan path ./my-repo --output sbom.json
xelo --debug scan path ./my-repo --output sbom.json

Common Remediation Flows

Check command usage:

xelo --help
xelo scan --help
xelo scan --help

Retry unified scan:

xelo scan ./my-repo --format unified --output unified-bom.json

Safe Support Bundle

When reporting an issue, include:

  • Exact command run
  • Full stderr/stdout output
  • Xelo version (pip show xelo)
  • Python version (python --version)
  • OS details

Before sharing logs or .env snippets:

  • Remove XELO_LLM_API_KEY and any provider API keys
  • Remove internal URLs/tokens/secrets

Escalation