Troubleshooting
Common issues and their solutions.
Engine Issues
Engine Not Found
- Error: "Engine not found" or "Could not start Stockfish"
- Symptoms: Analysis button does nothing, or error message appears.
- Fix:
- Ensure the path in Settings > Chess Engine points to the actual
stockfish.exe(Windows) orstockfish(Mac/Linux) binary, not the folder containing it. - Verify the file exists at the specified path.
- Try re-downloading Stockfish from stockfishchess.org.
- On Mac/Linux, ensure the binary has execute permissions:
chmod +x stockfish.
- Ensure the path in Settings > Chess Engine points to the actual
Analysis Stuck / Infinite Loading
- Issue: Analysis progress bar doesn't move or takes forever.
- Fix:
- Restart the application.
- Check if another process is using Stockfish (only one instance can run).
- Verify Stockfish works independently by running it from command line.
- Try clearing the analysis cache: Settings > Clear Cache.
- If issue persists, re-download the Stockfish engine.
Slow Analysis
- Issue: Analysis takes a very long time per move.
- Fix:
- This is normal for long games (50+ moves) or deep analysis.
- Ensure you're using a recent version of Stockfish (v16+).
- Close other CPU-intensive applications.
- The first analysis of a position is slowest; cached positions are instant.
API Issues
AI Summary Failed
- Error: "No summary generated" or "API error"
- Symptoms: AI Summary button shows error instead of game narrative.
- Fix:
- Verify your Internet connection.
- Check that your Gemini API Key in Settings is correct and active.
- Get a new key from Google AI Studio if needed.
- Ensure the key hasn't exceeded its free tier quota.
Chess.com Import Fails
- Error: "No games found" or "API error"
- Fix:
- Verify the username is spelled correctly (case-sensitive).
- Ensure the account is public (private accounts can't be fetched).
- Chess.com may have rate limits — wait a minute and try again.
- Try loading a specific game URL instead of username.
Lichess Import Fails
- Error: "Failed to fetch games" or empty game list
- Fix:
- Verify the username is spelled correctly.
- For better rate limits, add a Lichess API token in Settings.
- Generate a token at lichess.org/account/oauth/token with "Read games" scope.
- If loading by URL fails, try using just the 8-character game ID portion.
Lichess Token Not Working
- Error: 401 Unauthorized or token rejected
- Fix:
- Ensure the token has the correct scope ("Read games").
- Regenerate the token — they can expire.
- Copy the full token including the
lip_prefix. - Paste carefully without extra spaces.
UI Issues
Stats Not Loading
- Issue: Stats page shows "Setup Required" or no data.
- Fix:
- Configure your usernames in Settings > Player Usernames.
- Ensure you've analyzed at least one game.
- The username must match the players in your analyzed games.
- Try clicking the Refresh button on the Stats page.
Board Theme Not Applying
- Issue: Changed board theme but board looks the same.
- Fix:
- Load a new game or navigate away and back to the Analysis page.
- Board themes apply on the next board render.
- If issue persists, restart the application.
Piece Theme Not Showing
- Issue: Changed piece theme but seeing default pieces.
- Fix:
- Ensure the piece theme folder exists in
assets/pieces/. - Each theme folder needs all 12 piece SVGs (wK, wQ, wR, wB, wN, wP, bK, bQ, bR, bB, bN, bP).
- Try selecting a different theme and switching back.
- Ensure the piece theme folder exists in
Splash Screen Stuck
- Issue: Application stays on splash screen and doesn't load.
- Fix:
- Wait 30 seconds — initial startup can be slow.
- Check
chess_analyzer.logfor error messages. - Delete
config.jsonto reset settings (you'll need to reconfigure). - Ensure all required dependencies are installed.
Move List Icons Missing
- Issue: Classification icons don't appear in move list.
- Fix:
- Ensure
assets/icons/folder exists with all icon files. - Try resizing the move list panel.
- If running from source, verify assets weren't accidentally deleted.
- Ensure
Data Issues
Games Not Saving
- Issue: Analyzed games don't appear in History.
- Fix:
- Ensure the analysis completes fully (100% progress).
- Check write permissions for the application directory.
- Verify
analysis_cache.dbfile exists and isn't corrupted. - Try clearing all data and re-analyzing.
CSV Import Fails
- Issue: Importing CSV shows error or no games added.
- Fix:
- Ensure CSV was exported from this application (format must match).
- Don't modify the CSV column headers.
- Check for special characters in player names that might break parsing.
Duplicate Games
- Issue: Same game appears multiple times in History.
- Fix:
- Right-click duplicates and delete them.
- This can happen if you analyze the same game from different sources.
- The app attempts to detect duplicates by game ID, but some slip through.
Application Logs
For advanced debugging, check the log file in the application's root directory:
# File location
chess_analyzer.log
# View last 100 lines (Windows PowerShell)
Get-Content chess_analyzer.log -Tail 100
# View last 100 lines (Mac/Linux)
tail -100 chess_analyzer.log
# Search for errors (PowerShell)
Select-String -Path chess_analyzer.log -Pattern "ERROR"
# Search for errors (Mac/Linux)
grep "ERROR" chess_analyzer.log
Common Error Messages
| Error | Likely Cause | Solution |
|---|---|---|
| "No engine configured" | Engine path not set | Go to Settings > Chess Engine |
| "Invalid FEN" | Corrupted game data | Re-load the game |
| "Rate limit exceeded" | Too many API calls | Wait a few minutes |
| "Connection refused" | Network issue | Check internet connection |
| "Database locked" | Concurrent access | Close other instances |
Getting Help
If your issue isn't listed above:
- Check the GitHub Issues for known bugs.
- Review
chess_analyzer.logfor specific error messages. - Visit the Official Website for FAQs.
- Open a new issue on GitHub with:
- Your OS and Python version
- Steps to reproduce the issue
- Relevant log excerpts