Troubleshooting Guide¶
Use this guide to diagnose installation, file loading, model configuration, and analysis issues in CodeXomics.
π¨ 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:
- Open Settings β Model Providers (β, / Ctrl+,)
- 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:
Deep Gene Research Shows No Progress¶
Symptoms: A research run was started but the ChatBox shows nothing happening
Solutions:
- Look above the input box, not in the conversation:
- The research progress dock is pinned between the transcript and the composer so it never scrolls away
- Its elapsed-time clock ticks every second while the run is alive, even when the percentage is unchanged
-
If the dock is collapsed, click its header to expand the run list
-
Confirm the run was actually queued:
- A queued run answers with a task ID; if the reply has no task ID, the research never started
-
Check that the Deep Gene Research server is connected (MCP Servers in the ChatBox action bar)
-
Check the server connection if the dock turns red:
- Polling gives up after several consecutive transport failures and the row shows the reason inline
-
Verify
DGR_MCP_URLpoints at a running DGR process and thatDGR_MCP_TOKENmatches itsACCESS_PASSWORD -
Confirm polling is running:
No ChangeSet Created After Research¶
Symptoms: Research completed, but no annotation ChangeSet appeared for review
Solutions:
- Read the reason in the completion message β creation is deliberately fail-closed and always says why:
draft_requires_evidenceβ no evidence-backed claims safe enough to proposedraft_requires_targetβ the proposal is not bound to an exact gene in the loaded genomenot neededβ the gene already carries everything the research proposed-
Archive DGR research task β¦ as a gene report firstβ the run was not target-bound -
Load the genome before researching:
- A ChangeSet needs a resolvable target; with no primary annotations loaded, nothing can be proposed
-
For FASTA + GFF, merge the GFF features into the primary annotation set first
-
Use a target-bound run for full provenance:
start_annotation_researchresolves the exact CDS target and sends its current-annotation snapshot to DGR, which is what lets the report be archived and the proposal validated-
A raw
deep-gene-researchcall cannot satisfy that chain retroactively -
Check whether it already exists:
- Re-checking a completed task returns the existing ChangeSet rather than creating a second one
- List pending proposals with the
list_annotation_changesetstool or the Review panel
π 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
Reads Track Is Empty¶
- Load the reference genome used for alignment. Compare the selected chromosome or contig with the names in the SAM/BAM header. If the track reports that the current chromosome is missing from the BAM, switch to a matching reference or load the matching assembly.
- Confirm that Reads is visible under Display β Track Control. Check the mapping-quality and secondary/supplementary alignment filters, then navigate to a region with known coverage.
- For BAM, keep the matching
.baior.csiindex in the same directory as the file. CodeXomics checks bothsample.bam.baiandsample.bai, and the corresponding.csinames.
π₯οΈ 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.