Troubleshooting
Ollama Not Detected
Section titled “Ollama Not Detected”Symptom: Wilson reports it cannot connect to Ollama, or local model responses fail.
Solutions:
- Verify Ollama is running:
Terminal window ollama list - If not installed, install from ollama.com.
- Pull the default model:
Terminal window ollama pull llama3.2 - Ensure Ollama is serving on the default port (
http://localhost:11434). If you changed the port, set theOLLAMA_HOSTenv var.
API Key Errors
Section titled “API Key Errors”Symptom: Invalid API key or 401 Unauthorized when using a cloud provider.
Solutions:
- Check that your key is set in the environment:
Terminal window echo $OPENAI_API_KEY # OpenAIecho $ANTHROPIC_API_KEY # Anthropic - Verify the key is valid and has not expired.
- Use the provider prefix when selecting a model:
Terminal window wilson --model claude-sonnet-4-20250514 - If using
.env, ensure it is in your home directory (~/.openaccountant/.env) or project root.
Import Parsing Failures
Section titled “Import Parsing Failures”Symptom: Failed to parse CSV or transactions are missing after import.
Solutions:
- Check the CSV format. Wilson supports Chase, Amex, Bank of America, and generic CSV. The file must have a header row.
- Verify encoding. CSVs must be UTF-8. Re-export from your bank if you see garbled characters.
- Date column issues. Ensure dates are in
MM/DD/YYYYorYYYY-MM-DDformat. - Try generic mode. If auto-detection fails:
Terminal window wilson import --format generic transactions.csv - OFX/QIF files. Wilson supports OFX (v1.x SGML and v2.x XML) and QIF. Ensure the file extension is correct (
.ofx,.qfx, or.qif).
Duplicate Transactions
Section titled “Duplicate Transactions”Symptom: The same transactions appear multiple times after re-importing.
Explanation: Wilson deduplicates using two mechanisms:
- File hash — the
importstable tracks SHA-256 hashes of imported files. - Transaction external_id — each transaction gets a unique ID based on date, amount, and description.
If you see duplicates:
- You may have imported overlapping date ranges from different files. Wilson handles this — duplicates are skipped.
- If duplicates still appear, check for slight differences in the CSV (extra whitespace, different date formats).
Database Issues
Section titled “Database Issues”Symptom: SQLITE_CORRUPT or database is locked errors.
Solutions:
- Locked database. Close any other Wilson instances or SQLite clients accessing
~/.openaccountant/data.db. - Corruption. Back up and rebuild:
Terminal window cp ~/.openaccountant/data.db ~/.openaccountant/data.db.bakwilson --run "re-import my transactions" - Check disk space. SQLite fails silently on full disks.
LLM Provider Timeouts
Section titled “LLM Provider Timeouts”Symptom: Requests hang or time out when using cloud LLM providers.
Solutions:
- Check your internet connection.
- Verify the provider status page (e.g., status.openai.com).
- Switch to a local model temporarily:
Terminal window wilson --model ollama:llama3.2 - For slow Ollama responses, ensure your machine meets the model’s memory requirements. Smaller models like
llama3.2need less RAM.
License Key Issues
Section titled “License Key Issues”Symptom: Paid skills fail with Invalid license key or License required.
Solutions:
- Verify your key is set:
Terminal window echo $OPENACCOUNTANT_LICENSE_KEY - Check that your subscription is active at polar.sh.
- Re-validate:
Terminal window wilson --run "validate my license"
Wilson Not Found After Install
Section titled “Wilson Not Found After Install”Symptom: command not found: wilson after running the install script.
Solutions:
- The installer places Wilson at
$HOME/.local/bin/wilson. Ensure this is in yourPATH:Terminal window export PATH="$HOME/.local/bin:$PATH" - Add the line above to your
~/.zshrcor~/.bashrcand restart your shell. - Verify the binary exists:
Terminal window ls -la ~/.local/bin/wilson
Getting Help
Section titled “Getting Help”If your issue is not listed here:
- Search GitHub Issues.
- Open a new issue with your Wilson version (
wilson --version), OS, and the full error message. - Join the discussion on GitHub Discussions.