-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
Common issues and solutions.
Symptoms: Nothing happens or immediate exit.
Solutions:
-
Run with verbose output:
taskflow -vvv
-
Check terminal type:
echo $TERM # Should be xterm-256color or similar
-
Set terminal explicitly:
TERM=xterm-256color taskflow
-
Check for config errors:
taskflow --no-config
Solutions:
-
Check data directory permissions:
ls -la ~/.local/share/taskflow/ -
Create directory if missing:
mkdir -p ~/.local/share/taskflow/ -
Fix permissions:
chmod 755 ~/.local/share/taskflow/
Solutions:
-
Check TOML syntax:
cat ~/.config/taskflow/config.toml -
Look for common errors:
- Missing quotes around strings
- Incorrect indentation
- Invalid section names
-
Reset config:
rm ~/.config/taskflow/config.toml taskflow # Creates fresh config
Solutions:
-
Check color support:
echo $COLORTERM # Should be "truecolor" or "24bit"
-
Enable true color:
export COLORTERM=truecolor -
Use basic colors in theme:
[theme] header_bg = "blue" # Instead of "#1e1e2e"
-
Check terminal settings for color scheme.
Solutions:
-
Set TERM:
export TERM=xterm-256color -
Check NO_COLOR isn't set:
unset NO_COLOR -
Verify terminal supports colors:
tput colors # Should show 256 or higher
Solutions:
-
Check locale:
echo $LANG # Should be UTF-8, e.g., en_US.UTF-8
-
Set UTF-8:
export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8
-
Check terminal font supports Unicode.
Solutions:
-
Disable animations:
[ui] animation_speed = 0
-
Try different terminal emulator.
-
Update terminal to latest version.
Possible Causes:
-
Different data directory - Check
--data-diror config -
Different backend - Check
--backendor config - File permissions - Check read access
Solutions:
-
Find your data:
find ~/.local/share -name "tasks.*" 2>/dev/null find ~ -name "taskflow" -type d 2>/dev/null
-
Check which file TaskFlow is using:
taskflow -v # Shows data location -
Restore from backup if available.
Solutions:
-
Check disk space:
df -h ~/.local/share/ -
Check directory is writable:
touch ~/.local/share/taskflow/test rm ~/.local/share/taskflow/test
-
Check for filesystem errors.
Solutions:
-
Restore from backup.
-
For JSON/YAML, try to fix manually:
# Validate JSON python -m json.tool ~/.local/share/taskflow/tasks.json
-
For SQLite:
sqlite3 ~/.local/share/taskflow/tasks.db "PRAGMA integrity_check;"
-
Export what you can and start fresh.
Solutions:
-
Use SQLite for large datasets:
[storage] backend = "sqlite"
-
Archive old completed tasks.
-
Check for large time log entries.
Solutions:
-
Use SQLite backend (loads on-demand).
-
Archive old data:
taskflow --export archive.csv --filter "completed_before:2024-01-01"
Solutions:
-
Disable animations:
[ui] animation_speed = 0
-
Switch to SQLite backend.
-
Check terminal performance (try different emulator).
Solutions:
-
Check for conflicts:
- Terminal shortcuts
- tmux/screen bindings
- Desktop environment shortcuts
-
Test in raw terminal:
# Exit tmux/screen first taskflow -
Check keybindings config:
grep -A50 "\[keybindings\]" ~/.config/taskflow/config.toml
Solutions:
-
Terminal may intercept F-keys. Check terminal settings.
-
In tmux, you may need:
set -g xterm-keys on -
Try alternate bindings in config.
Solutions:
-
Check terminal sends correct sequences.
-
Some combinations reserved:
-
Ctrl+C(interrupt) -
Ctrl+Z(suspend) -
Ctrl+S(flow control)
-
-
Disable flow control:
stty -ixon
Solutions:
-
Check system time:
date
-
Check timezone:
echo $TZ
-
Edit time log to fix: Press
L, navigate, presse.
Shouldn't happen - timer persists. But if it does:
-
Check same data directory is used.
-
Check file wasn't corrupted.
-
Look for backup in data directory.
Solutions:
-
Check file format:
- CSV must be comma-separated
- Encoding must be UTF-8
-
Check required columns exist (at minimum:
title). -
Try smaller subset first.
-
Check for special characters in data.
Solutions:
-
Check filter isn't hiding all tasks.
-
Check write permissions on target directory.
-
Try different export location.
Solutions:
-
Forward locale:
ssh -o SendEnv=LANG user@host
-
Set TERM:
export TERM=xterm-256color -
Check SSH config allows UTF-8.
Solutions:
-
Enable compression:
ssh -C user@host
-
Disable animations in config.
-
Use mosh instead of ssh for better latency handling.
If these solutions don't work:
-
Run with debug logging:
taskflow -vvv --log-file /tmp/taskflow.log
-
Check the log file for errors.
-
Report issue with:
- TaskFlow version (
taskflow --version) - Operating system
- Terminal emulator
- Relevant log output
- TaskFlow version (
- FAQ - Frequently asked questions
- Configuration - Config reference
- Installation - Installation guide