Troubleshooting Guide¶
This guide helps you resolve common issues encountered while using CodeXomics v0.722.
🚨 Common Installation Issues¶
Application Won't Start¶
Symptoms: Application fails to launch or shows a white screen
Solutions:
- Check system requirements:
- Ensure you have sufficient RAM (6GB minimum)
- Verify your operating system is supported
-
Update to the latest OS version if needed
-
Clear application data:
# macOS
rm -rf ~/Library/Application\ Support/codexomics
# Windows
del /s "%APPDATA%\codexomics"
# Linux
rm -rf ~/.config/codexomics
- Reinstall the application:
- Completely uninstall the current version
- Download the latest release
- Install with administrator privileges
Permission Errors¶
Symptoms: "Permission denied" or "Access is denied" errors
Solutions:
- Run as administrator (Windows) or with
sudo(Linux/macOS) - Check file permissions for your data directory
- Disable antivirus temporarily during installation
- Add application to firewall exceptions
Electron Framework Issues¶
Symptoms: "Failed to load Electron" or framework-related errors
Solutions:
- Update Node.js to the latest LTS version
- Clear npm cache:
- Reinstall dependencies:
🔧 Runtime Issues¶
Version Management Errors¶
Symptoms: SyntaxError: Unexpected token 'export' or version-related errors
Solutions:
- Update to latest version that includes the unified version management system
- Clear module cache:
- Check for mixed module syntax in custom plugins
Memory Issues¶
Symptoms: Application becomes slow or crashes with large files
Solutions:
- Increase system memory allocation
- Close other applications to free up RAM
- Use streaming mode for files larger than 500MB
- Enable Simple Mode for better performance:
- Go to View → Simple Mode
Plugin System Issues¶
Symptoms: Plugins not loading or marketplace errors
Solutions:
- Check plugin compatibility with current version
- Clear plugin cache:
- Verify plugin marketplace server is accessible
- Check plugin dependencies are installed
🤖 AI Assistant Issues¶
AI Assistant Not Responding¶
Symptoms: Chat doesn't work or returns errors
Solutions:
- Check API key configuration:
- Go to Options → Configure LLMs
- Verify API key is correct and active
-
Test connection using "Test Connection" button
-
Verify internet connection:
- Ensure stable internet for cloud providers
-
Check firewall settings for API access
-
Try different AI provider:
- Switch between OpenAI, Anthropic, or Google
- Use local LLM (Ollama) for offline operation
Conversation Evolution Issues¶
Symptoms: Conversation history not recording or analysis errors
Solutions:
- Check conversation recording settings:
- Open developer console (F12)
- Look for conversation recording errors
-
Restart application to reset recording
-
Verify storage permissions:
- Check write permissions in user data directory
-
Clear conversation history to reset storage
-
Reset conversation system:
📁 File Loading Issues¶
Large File Performance¶
Symptoms: Application becomes unresponsive with large genomic files
Solutions:
- Use file streaming for files > 100MB
- Enable BAM file handling for sequencing data
- Reduce visible track count for large genomes
- Use indexed file formats when available
File Format Issues¶
Symptoms: Files not loading or parsing errors
Solutions:
- Verify file format is supported:
- FASTA, GenBank, GFF/GTF, BED, VCF, SAM/BAM, WIG, KGML
- Check file integrity:
- Ensure files are not corrupted
- Verify proper line endings (Unix vs Windows)
- Convert file format if needed
Path Resolution Issues¶
Symptoms: "File not found" errors with valid files
Solutions:
- Use absolute paths instead of relative paths
- Check for special characters in file names
- Verify file permissions are readable
- Move files to project directory for better management
🖥️ User Interface Issues¶
Track Rendering Problems¶
Symptoms: Tracks not displaying correctly or visual glitches
Solutions:
- Refresh track display:
- Right-click track → Refresh
-
Or reload the current view
-
Check track settings:
- Verify track height settings
- Reset track order if needed
-
Toggle track visibility
-
Clear graphics cache:
- Restart application
- Reset window positions
Menu Issues¶
Symptoms: Menu items not working or menu height errors
Solutions:
- Restart application to reset menu state
- Check for menu conflicts between windows
- Reset UI preferences:
Project Manager Issues¶
Symptoms: Project Manager not loading or view mode problems
Solutions:
- Check project file integrity:
- Verify .prj.GAI file is valid XML
-
Check for missing project files
-
Reset view mode:
- Switch between Grid/List/Details views
-
Restart Project Manager window
-
Clear project cache:
🔬 Analysis Tool Issues¶
BLAST Tool Problems¶
Symptoms: BLAST tools not working or database errors
Solutions:
- Install BLAST+ tools:
- Use Tools → Install BLAST+
-
Or install manually from NCBI
-
Check database configuration:
- Verify database paths are correct
-
Update database configurations
-
Memory map errors:
- Increase system memory limits
- Use smaller database segments
KGML Pathway Viewer Issues¶
Symptoms: Pathway viewer not loading or cytoscape errors
Solutions:
- Check internet connection for CDN resources
- Clear browser cache in developer tools
- Verify KGML file format is valid XML
- Restart pathway viewer tool
STRING Networks Problems¶
Symptoms: "cytoscape is not defined" errors
Solutions:
- Check CDN availability:
- Verify internet connection
-
Wait for library loading timeout
-
Use fallback CDN sources:
- Application automatically tries backup sources
-
Check developer console for loading status
-
Restart network visualization tool
🔧 Advanced Troubleshooting¶
Developer Console Debugging¶
Access Developer Console:
- Press F12 or Ctrl+Shift+I
- Look for error messages in Console tab
- Check Network tab for failed requests
Common Error Patterns:
- Module loading errors: Check script loading order
- API call failures: Verify network connectivity
- Memory errors: Monitor memory usage in Performance tab
Log File Analysis¶
Log Locations:
- macOS:
~/Library/Logs/codexomics/ - Windows:
%APPDATA%\codexomics\logs\ - Linux:
~/.config/codexomics/logs/
Key Log Files:
main.log: Main process errorsrenderer.log: UI and visualization errorsplugin.log: Plugin-related issues
Performance Optimization¶
For Large Datasets:
- Enable hardware acceleration in system settings
- Increase Node.js memory limit:
- Use Simple Mode for reduced UI complexity
- Close unused tracks and tools
For Slow Performance:
- Check system resource usage (CPU, Memory)
- Disable unnecessary features temporarily
- Restart application to clear caches
- Update graphics drivers
📞 Getting Additional Help¶
Before Reporting Issues¶
- Update to latest version of CodeXomics
- Check existing issues on GitHub
- Gather system information:
- Operating system and version
- Available memory and storage
- Error messages and logs
Reporting Bugs¶
Include in Bug Reports:
- Detailed steps to reproduce the issue
- Expected vs actual behavior
- System specifications
- Error messages and stack traces
- Screenshots or screen recordings
Where to Report:
- GitHub Issues: For bugs and feature requests
- Email Support: For sensitive or complex issues
- Community Forums: For general questions
Emergency Recovery¶
Complete Reset (last resort):
- Backup important projects and data
- Uninstall application completely
- Clear all application data directories
- Reinstall latest version
- Restore project data if needed
🔍 Diagnostic Commands¶
Version Validation¶
System Health Check¶
# Check Node.js version
node --version
# Check npm version
npm --version
# Check available memory
# macOS/Linux
free -h
# Windows
wmic OS get TotalVisibleMemorySize,FreePhysicalMemory /format:list
Plugin System Check¶
# Run the Vitest suite
npm test
# Check plugin marketplace connectivity
curl -I https://codexomics-marketplace.com/api/health
📋 Quick Reference¶
Common Keyboard Shortcuts¶
- F12: Open Developer Console
- Ctrl+Shift+R: Hard reload
- Ctrl+Shift+O: Open project
- Ctrl+F: Search
- Ctrl+Plus/Minus: Zoom
Emergency Actions¶
- Force quit: Ctrl+Alt+T (Task Manager)
- Safe mode: Start with
--safe-modeflag - Reset settings: Delete config directory
- Clear cache: Restart application
Still having issues? Contact our support team with detailed information about your problem, including system specifications and error messages.
This guide covers CodeXomics 0.722.0. Check for updates to both the application and this documentation.