10 KiB
EU-Utility Troubleshooting Guide
This guide helps you diagnose and fix common issues with EU-Utility.
Table of Contents
- Installation Issues
- Startup Issues
- Hotkey Issues
- Plugin Issues
- UI Issues
- Performance Issues
- OCR Issues
- Network Issues
- Getting Help
Installation Issues
"ModuleNotFoundError: No module named 'PyQt6'"
Problem: PyQt6 is not installed.
Solution:
pip install PyQt6
"ImportError: cannot import name 'Qt' from 'PyQt6.QtCore'"
Problem: PyQt6 installation is incomplete or corrupted.
Solution:
pip uninstall PyQt6 PyQt6-Qt6 PyQt6-sip
pip install PyQt6
Permission denied during pip install
Problem: Insufficient permissions.
Solution (Windows):
# Run Command Prompt as Administrator, then:
pip install -r requirements.txt
Solution (Linux/Mac):
pip install --user -r requirements.txt
SSL certificate verification failed
Problem: SSL certificate issues.
Solution:
# Windows
pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org -r requirements.txt
# Or update certificates
pip install --upgrade certifi
Startup Issues
EU-Utility doesn't start / crashes immediately
Checklist:
-
Verify Python version:
python --version # Should be 3.11 or higher -
Check dependencies:
pip list | grep -i pyqt pip list | grep -i requests -
Run with debug logging:
python -m core.main --debug -
Check log files:
cat logs/eu_utility.log
"No module named 'core'"
Problem: Running from wrong directory.
Solution:
# Navigate to EU-Utility root directory
cd /path/to/EU-Utility
python -m core.main
"QApplication: invalid style override passed"
Problem: Qt style conflict.
Solution:
# Set default style
export QT_STYLE_OVERRIDE=fusion # Linux/Mac
set QT_STYLE_OVERRIDE=fusion # Windows
Tray icon not appearing
Problem: System tray access issue.
Solutions:
- Check if system tray is enabled in OS settings
- Restart EU-Utility
- Check taskbar settings (Windows) or panel settings (Linux)
Hotkey Issues
Hotkeys don't work in-game
Common causes and solutions:
-
Game has exclusive input:
- Run EU-Utility as administrator (Windows)
- Try different hotkey combinations
-
Conflicting hotkeys:
- Check other running applications
- Change hotkeys in Settings → Hotkeys
-
Hotkey registration failed:
# Check logs for registration errors grep -i "hotkey" logs/eu_utility.log
"Failed to register hotkey" error
Solutions:
- Restart EU-Utility
- Check if hotkey is used by another app
- Try different key combination
- Run as administrator
Hotkeys work intermittently
Possible causes:
- Focus issues
- Game anti-cheat interfering
- System under heavy load
Solutions:
- Ensure EU-Utility has focus before game
- Disable game overlays that might conflict
- Close unnecessary applications
Plugin Issues
Plugin doesn't load
Diagnosis:
-
Check if plugin is enabled:
cat config/plugins.json -
Check logs for errors:
grep -i "plugin" logs/eu_utility.log -
Verify plugin file exists:
ls plugins/<plugin_name>/plugin.py
Plugin crashes on startup
Solutions:
- Disable the plugin temporarily
- Check for missing dependencies:
# Look for ImportError in logs grep -i "import" logs/eu_utility.log | grep -i error - Update the plugin
Plugin settings not saving
Solutions:
- Check file permissions:
ls -la config/ - Verify disk space
- Check for JSON syntax errors:
python -m json.tool config/plugins.json
"Plugin dependency not satisfied"
Solution:
# Install missing dependencies
pip install <package_name>
# Or let EU-Utility handle it:
# Settings → Plugins → Install Dependencies
UI Issues
Overlay not visible / behind game window
Solutions:
-
Toggle overlay:
- Press
Ctrl+Shift+Utwice - Or click tray icon
- Press
-
Check "Always on top":
- Settings → Appearance → Always on top
-
Run as administrator (Windows):
- Right-click → "Run as administrator"
-
Window manager conflict (Linux):
# Try different window managers # Or use --force-x11 flag if available
Overlay is transparent / invisible
Solutions:
-
Check opacity setting:
- Settings → Appearance → Opacity
- Set to 1.0 (fully opaque)
-
Update graphics drivers
-
Disable hardware acceleration:
export QT_QUICK_BACKEND=software python -m core.main
UI elements overlapping
Solutions:
- Resize overlay window
- Adjust DPI settings:
# Windows set QT_AUTO_SCREEN_SCALE_FACTOR=1 # Linux/Mac export QT_AUTO_SCREEN_SCALE_FACTOR=1 - Update EU-Utility
Text is too small / large
Solution:
# Set custom DPI scaling
export QT_SCALE_FACTOR=1.5 # 150% scaling
python -m core.main
Performance Issues
High CPU usage
Diagnosis:
# Check which process is using CPU
top # Linux/Mac
tasklist # Windows
# Check EU-Utility logs for errors
tail -f logs/eu_utility.log
Solutions:
- Disable unused plugins
- Reduce polling frequency in tracker plugins
- Check for infinite loops in custom plugins
- Update to latest version
High memory usage
Solutions:
-
Clear cache:
rm -rf data/cache/* -
Disable memory-heavy plugins:
- Chat Logger (if logging all channels)
- Screenshot plugins
-
Limit log history:
- Settings → Advanced → Max log lines
Slow startup
Solutions:
-
Reduce plugin count:
- Disable unused plugins
-
Pre-compile Python:
python -m compileall . -
Use SSD for installation
Laggy UI
Solutions:
-
Disable animations:
- Settings → Appearance → Disable animations
-
Reduce widget count on dashboard
-
Update graphics drivers
OCR Issues
"OCR not available" message
Solutions:
-
Install OCR backend:
# Recommended pip install easyocr # Or Tesseract pip install pytesseract # Download Tesseract from: # https://github.com/UB-Mannheim/tesseract/wiki -
Verify installation:
python -c "import easyocr; print('OK')"
OCR results are inaccurate
Solutions:
-
Adjust screen region:
- Make region smaller and focused
- Avoid areas with lots of visual noise
-
Improve lighting in game:
- Increase brightness
- Use high contrast themes
-
Try different OCR backend:
- EasyOCR: Best for general text
- Tesseract: Best for numbers
- PaddleOCR: Best for complex layouts
-
Update OCR models:
# EasyOCR downloads models automatically # Just restart EU-Utility
OCR is slow
Solutions:
- Use smaller screen regions
- Reduce image resolution:
# In plugin settings "ocr_scale": 0.5 # 50% resolution - Use GPU acceleration (EasyOCR):
pip install torch torchvision # For CUDA support
Network Issues
"Failed to connect to Nexus API"
Diagnosis:
# Test connectivity
curl https://api.entropianexus.com
ping api.entropianexus.com
Solutions:
- Check internet connection
- Verify API status: https://status.entropianexus.com
- Check firewall settings
- Try different DNS server
"SSL certificate verify failed"
Solution:
# Update certificates
pip install --upgrade certifi
# Or disable verification (not recommended)
# Settings → Advanced → Verify SSL: Off
Slow API responses
Solutions:
-
Enable caching:
- Settings → Nexus API → Enable caching
-
Increase cache duration:
{ "nexus": { "cache_duration": 3600 } } -
Check network connection
Getting Help
Before asking for help:
- Check this troubleshooting guide
- Search existing issues: https://github.com/ImpulsiveFPS/EU-Utility/issues
- Check FAQ: docs/FAQ.md
- Collect information:
# System info python --version pip list # EU-Utility logs cat logs/eu_utility.log | tail -100 # Config cat config/settings.json cat config/plugins.json
How to report an issue:
Create a GitHub issue with:
- Description: What happened?
- Steps to reproduce: How can we recreate the issue?
- Expected behavior: What should have happened?
- Actual behavior: What actually happened?
- Environment:
- OS version
- Python version
- EU-Utility version
- Logs: Relevant log entries
- Screenshots: If UI-related
Debug mode
Enable debug logging:
python -m core.main --debug
# Or
export EU_DEBUG=1
python -m core.main
Reset to defaults
Reset all settings:
# Backup first
cp -r config config.backup
# Reset
rm -rf config/*
Reset specific plugin:
# Remove plugin settings
python -c "
import json
with open('config/plugins.json') as f:
config = json.load(f)
config['settings']['plugin.name'] = {}
with open('config/plugins.json', 'w') as f:
json.dump(config, f, indent=2)
"
Quick Fixes
Nuclear option (complete reset)
# Backup your data first!
cp -r data data.backup
cp -r config config.backup
# Reset everything
rm -rf data/* config/*
# Restart EU-Utility
python -m core.main
Common one-liners
# Fix permissions (Linux/Mac)
chmod -R u+rw config data logs
# Clear cache
rm -rf data/cache/*
# Reset window position
rm config/window_position.json
# Update all packages
pip install --upgrade -r requirements.txt
Still having issues? Open an issue on GitHub with your logs and system information.