Troubleshooting
Solutions to common issues.
Installation Issues
TaskWarrior Not Found
Error: TaskWarrior not detectedCheck installation:
bash
task --versionIf not installed, follow the Installation Guide.
Check PATH:
bash
which task
# Should output /usr/bin/task or similarIf installed but not found, add to PATH:
bash
export PATH=$PATH:/usr/local/binTaskWarrior Version Too Low
Error: TaskWarrior version too low (2.x.x)
GDT requires TaskWarrior 3.0 or higherUpgrade TaskWarrior:
bash
brew upgrade taskbash
sudo add-apt-repository ppa:taskwarrior/taskwarrior
sudo apt update && sudo apt install taskwarriorAPI Key Not Configured
Error: Please set ANTHROPIC_API_KEY environment variableGet API key: console.anthropic.com
Set environment variable:
bashexport ANTHROPIC_API_KEY=sk-ant-your-keyOr create
.envfile:bashecho "ANTHROPIC_API_KEY=sk-ant-your-key" > .env
Permission Error
Error: Cannot access ~/.gdt/ directoryFix permissions:
bash
chmod 755 ~/.gdt/
chmod 644 ~/.gdt/*.jsonRecreate directory structure:
bash
mkdir -p ~/.gdt/sessions ~/.gdt/task-context ~/.gdt/usageAPI Errors
Network Connection Failed
Error: Cannot connect to API serverCheck connectivity:
bash
curl https://api.anthropic.comIf using proxy:
bash
export HTTPS_PROXY=http://your-proxy:portRate Limit Exceeded
Error: Too many API requests (429)Wait the indicated time and retry. Consider upgrading your API plan if this happens frequently.
Invalid API Key
Error: API Key invalid or expired- Verify key format (should start with
sk-ant-) - Check status at console.anthropic.com
- Create a new key if expired
Response Timeout
Error: API response timeout- Check network stability
- Try a simpler request
- Wait and retry
TaskWarrior Errors
Database Locked
Error: TaskWarrior database is lockedFind other processes:
bash
ps aux | grep taskForce unlock (use caution):
bash
pkill -f "task "
rm ~/.task/task.lockUDA Configuration Conflict
Error: UDA 'gdt.complexity' configuration conflict- Check
~/.taskrcfor conflicting definitions - Remove conflicting lines
- Re-run GDT to auto-configure
Data Corruption
Error: TaskWarrior data file corruptedRun diagnostics:
bash
task diagnosticsAttempt repair:
bash
task rc.confirmation=off repairRestore from backup:
bash
cp ~/.task.backup/* ~/.task/Session Issues
Session Won't Load
Error: Cannot load session dataStart fresh:
bash
gdt --newOr delete corrupted session:
bash
rm ~/.gdt/sessions/current.jsonConversation History Lost
Possible causes:
- History disabled in privacy settings
- Session files deleted
- Used
--newflag
Check settings:
/privacy statusRe-enable if needed:
/privacy enable historyPerformance Issues
Slow Startup
Check task count:
bash
task countArchive old tasks:
bash
task completed end.before:1month deleteSlow Responses
- Simplify your requests
- Check network latency
- Try during off-peak hours
Debugging
Enable debug logging:
bash
DEBUG=gdt:* gdtDebug specific modules:
bash
DEBUG=gdt:llm gdt # AI calls
DEBUG=gdt:taskwarrior gdt # Task operations
DEBUG=gdt:session gdt # Session managementExport diagnostics:
bash
gdt --diagnostics > diagnostics.txtGetting Help
If these solutions don't work:
- Check documentation: getdone.today
- Run diagnostics:
gdt --diagnostics - Describe the issue with error messages and steps to reproduce