Troubleshooting Guide¶
This guide helps you resolve common issues when using SuperQode.
Table of Contents¶
- Installation Issues
- Agent Connection Problems
- QE Analysis Failures
- Performance Issues
- Configuration Problems
- Common Error Messages
Installation Issues¶
"ModuleNotFoundError" when running SuperQode¶
Problem:
Solutions:
-
Install in development mode:
-
Check Python path:
-
Reinstall:
OpenCode Installation Issues¶
Problem:
Solutions:
-
Install OpenCode globally:
-
Verify Node.js and npm:
-
Check npm permissions (macOS/Linux):
-
Manual installation:
Agent Connection Problems¶
"Agent not found" or "Agent unavailable"¶
Problem:
Solutions:
-
Check OpenCode installation:
-
Verify agent configuration in YAML:
-
Restart SuperQode:
"ACP connection failed"¶
Problem:
Solutions:
-
Install OpenCode:
-
Check OpenCode status:
-
Verify ACP adapter:
QE Analysis Failures¶
"No tests detected" when tests exist¶
Problem:
Solutions:
- Check test file patterns:
- Default patterns:
**/*test* **/*spec* **/test_* - Python:
test_*.py,*test*.py -
JavaScript:
*.test.js,*.spec.js -
Run with verbose logging:
-
Check file permissions:
"Failed to parse jest JSON output"¶
Problem:
Solutions:
- This is usually harmless - it's just Jest output parsing issues
- To suppress warnings, ensure proper Jest configuration
- Use different test runners if needed
Deep QE not showing agent activity¶
Problem:
Solutions:
-
Use verbose flag:
-
Check OpenCode installation:
-
Verify agent roles are enabled:
Performance Issues¶
Slow startup time¶
Problem: SuperQode takes too long to start
Solutions:
- Use lazy loading (already implemented)
-
Check system resources:
-
Close other memory-intensive applications
High memory usage during QE¶
Problem: QE analysis uses too much memory
Solutions:
- Memory limits are already implemented (50MB per process)
-
Run smaller analysis scopes:
-
Use worktree isolation:
Agent timeouts¶
Problem:
Solutions:
-
Increase timeout:
-
Use specific roles instead of all:
Configuration Problems¶
YAML configuration not loading¶
Problem:
Solutions:
-
Validate YAML syntax:
-
Check indentation (YAML is space-sensitive)
- Use online YAML validators
Roles not appearing¶
Problem: Expected roles don't show up in TUI
Solutions:
-
Check YAML structure:
-
Restart SuperQode after config changes
- Use
superqe initto reset configuration
Common Error Messages¶
"Another QE session is already running"¶
Problem: Multiple QE sessions conflict
Solution:
"Permission denied" errors¶
Problem: File system access issues
Solutions:
# Check permissions
ls -la /path/to/project
# Fix permissions
chmod -R u+rwx /path/to/project
# Or run with sudo (not recommended)
sudo superqe run .
"Connection refused" for MCP servers¶
Problem: MCP servers not accessible
Solutions:
- Check MCP server configuration in YAML
-
Verify MCP server processes are running:
-
Restart MCP servers:
"Import error" for custom modules¶
Problem: Python path issues in QE analysis
Solutions:
-
Check Python environment:
-
Use virtual environment:
Getting Help¶
If these solutions don't resolve your issue:
-
Check the logs:
-
Run with debug output:
-
Report issues on GitHub:
- GitHub Issues
-
Include full error messages and environment details
-
Email Support:
-
Reach out to us at info@super-agentic.ai
-
Community support:
- Check GitHub Discussions
- Join the SuperQode community
Health Check¶
Run this health check command to diagnose common issues:
python -c "
import sys
import subprocess
import shutil
print('๐ SuperQode Health Check')
print('=' * 40)
# Check Python version
print(f'Python: {sys.version}')
# Check required packages
try:
import textual
print('โ
Textual available')
except ImportError:
print('โ Textual missing')
try:
import rich
print('โ
Rich available')
except ImportError:
print('โ Rich missing')
# Check OpenCode
if shutil.which('opencode'):
print('โ
OpenCode available')
try:
result = subprocess.run(['opencode', '--version'], capture_output=True, text=True, timeout=5)
if result.returncode == 0:
print(f' Version: {result.stdout.strip()}')
else:
print('โ OpenCode not working')
except:
print('โ OpenCode check failed')
else:
print('โ OpenCode not found')
# Check Node.js
if shutil.which('node'):
try:
result = subprocess.run(['node', '--version'], capture_output=True, text=True, timeout=5)
print(f'โ
Node.js: {result.stdout.strip()}')
except:
print('โ Node.js check failed')
else:
print('โ Node.js not found')
print('\\n๐ก Run \"superqe run .\" to test QE functionality')
"