Troubleshooting Guide
Common issues and solutions for GitInspectorGUI development.
Quick Diagnostics
System Check
# Verify installations
python --version # 3.13+
node --version # 22+
rustc --version # 1.85+
# Test imports
python -c "import gigui; print('OK')"
# Check ports
lsof -i :8000
Installation Issues
Python Module Not Found
# Reinstall dependencies
uv sync
# Verify installation
python -c "import gigui; print(gigui.__file__)"
Node.js Dependencies
Rust Compilation
Runtime Issues
Server Won't Start
Symptoms: Server fails to start or port conflicts occur
Solutions:
- Kill processes on port 8000 (see Port Management)
- Use different port (see Basic Server Commands)
Frontend Connection Issues
Symptoms: Frontend cannot reach backend API
Solutions:
- Test API health (see Service Health Checks)
- Restart development server (see Quick Start Commands)
Development Issues
Hot Reload Not Working
Symptoms: Changes not reflected automatically in development
Solutions:
- Restart with reload enabled (see Backend Debugging Commands)
- Kill and restart servers (see Troubleshooting Commands)
Debugging Issues
Symptoms: Unable to debug or get detailed error information
Solutions:
- Enable debug logging (see Backend Debugging Commands)
- Verify VS Code extensions are installed
Build Failures
Symptoms: Build process fails or produces errors
Solutions:
- Clean build artifacts (see Cache Management)
- Update dependencies (see Environment Reset)
Platform Issues
macOS
# Fix permissions
sudo chown -R $(whoami) ~/.local/share/pnpm
# Install Xcode tools
xcode-select --install
# Skip code signing in development
export TAURI_SKIP_DEVTOOLS_INSTALL=true
Windows
# Allow script execution
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
# Add project to Windows Defender exclusions
# Windows Security → Exclusions → Add folder
Linux
# Ubuntu/Debian
sudo apt install build-essential libssl-dev pkg-config
# Fedora/RHEL
sudo dnf install gcc openssl-devel pkgconfig
# Arch Linux
sudo pacman -S base-devel openssl pkgconf
Error Detection and Debugging
GUI Error Display
The GUI shows errors in two places:
-
Error Display Area (below the Execute button)
- The GUI automatically detects and displays most errors here
- Look for red error messages in this area first
- Shows user-friendly messages like "Repository path does not exist"
-
Browser Console (for additional technical details)
- If the error display area doesn't show enough information
- Right-click anywhere in the GUI window
- Select "Inspect" from the context menu
- Click the "Console" tab in the developer tools panel
- Look for detailed error messages and technical information
Troubleshooting Flow:
- Check the GUI error area first
- If you need more details, use the browser console
- Copy error messages for bug reports or further investigation
Diagnostics
Logging
# Enable debug logging
python -m gigui.start_server --log-level DEBUG
# Python API logs
python -m gigui.start_server --reload
# Frontend logs: Browser DevTools → Console
API Testing
# Health check
curl -v http://127.0.0.1:8000/health
# Settings
curl -v http://127.0.0.1:8000/api/settings
# Test connectivity
telnet 127.0.0.1 8000
Performance
# Python profiling
python -m memory_profiler -m gigui.start_server
# Frontend: Browser DevTools → Performance tab
Bug Reports
Information to Include
Report Template
**Environment:** OS, Python/Node/Rust versions
**Steps:** Exact commands and actions
**Expected:** What should happen
**Actual:** What actually happens
**Logs:** Error messages and stack traces
Best Practices
- Keep dependencies updated
- Clean build artifacts regularly
- Monitor system resources
- Document custom configurations
- Regular health checks
Related
- Environment Setup - Development setup
- Development Workflow - Development workflow
- Package Management - Dependencies and tools