-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
Common issues and solutions for Adastrea Director.
Problem: "Python 3.9 or higher required"
Solution:
# Check your Python version
python --version
# Install Python 3.12 (recommended)
# Visit https://www.python.org/downloads/Problem: pip install fails
Solution:
# Upgrade pip first
pip install --upgrade pip
# Use the smart installer
python install_dependencies.py
# Or try with verbose output
pip install -r requirements.txt -vProblem: "No module named 'tkinter'"
Solution:
Ubuntu/Debian:
sudo apt-get update
sudo apt-get install python3-tkmacOS:
brew install python-tkWindows: Reinstall Python with tkinter option checked
Problem: "API key not found" or "Invalid API key"
Solution:
# Set API key via CLI
python main.py --set-api-key gemini
# Or via environment variable
export GEMINI_KEY="your-key-here"
# Or via .env file
cp .env.example .env
# Edit .env and add your keyProblem: Queries take too long
Solution:
- First query is always slow (5-10s) - this is normal
- Check internet connection for cloud LLMs
- Consider using local Ollama for faster responses
- Use GPU if available
Problem: "I don't have enough information" or poor answers
Solution:
# Ensure documents are ingested
python ingest.py --docs-dir /path/to/docs
# Check ingestion was successful
# Use GUI Ingest List tab to verify
# Try rephrasing your question
# Be more specificProblem: "ModuleNotFoundError"
Solution:
# Ensure virtual environment is activated
source venv/bin/activate # Linux/Mac
venv\Scripts\activate # Windows
# Reinstall dependencies
pip install -r requirements.txtProblem: "ChromaDB error" or database corruption
Solution:
# Backup existing database
mv chroma_db chroma_db.backup
# Re-ingest documents
python ingest.py --docs-dir /path/to/docsProblem: GUI application fails to start
Solution:
- Check tkinter:
python -m tkinter - Try CLI mode:
python main.py - Check error logs
- Reinstall dependencies
Enable verbose logging for troubleshooting:
# Set debug mode
export DEBUG=1
# Run with verbose output
python main.py --verboseIf your issue isn't listed here:
- Search Issues: GitHub Issues
- Ask Community: Discussions
- Report Bug: New Issue
Include in your report:
- OS and version
- Python version
- Error messages
- Steps to reproduce
Adastrea Director | GitHub | Issues | Discussions
Building tomorrow's game development tools, today.