-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
Install Ollama from ollama.ai, or just add --no-ollama (CLI) / leave "Ollama en secours" unchecked (GUI) to skip AI entirely — the pipeline works fully without it.
Only affects the optional Ollama fallback path. Re-run with --no-ollama for the deterministic keyword-only path, or increase OLLAMA_TIMEOUT_FAST/OLLAMA_TIMEOUT_DEEP in Bad_USB_Classifier/classify_badusb.py.
Check file permissions on the source folder and ensure you have write access to the output directory.
You're running from source without installing dependencies. From the repo root:
pip install -r requirements.txt # core (requests)
pip install -e ".[gui]" # + Flask, for the GUI
pip install -e ".[dev]" # + test/lint toolingInstall git — git-scm.com/downloads — then retry. The installers, source-corpus refresh, and the GUI's clone-by-URL features all shell out to a real git binary.
The enrichment agent validates the format server-side (https://discord.com/api/webhooks/<id>/<token>) before writing anything. If you're not sure how to get a real one, click "Pas encore de webhook ? Guide" in the form for step-by-step instructions from a brand-new Discord account.
PowerShell's execution policy is blocking the irm | iex one-liner. Either run PowerShell as your normal user and use:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
irm https://raw.githubusercontent.com/TFD-42/Bad_Usb_Forge/main/scripts/install.ps1 | iexor download scripts/install.ps1 and inspect it before running, if you'd rather not change the execution policy at all.
- Open an issue
- Check FAQ and Usage — CLI / Usage — GUI