Troubleshooting
This guide helps resolve common issues with PhyloForester.
Installation Issues
Application Won’t Start
Windows:
Error: “VCRUNTIME140.dll is missing”
Solution: Install Visual C++ Redistributable from Microsoft
Error: “Application failed to start”
Solution: Run as Administrator, check antivirus isn’t blocking
macOS:
Error: “App is damaged and can’t be opened”
Solution: Run
xattr -cr /path/to/PhyloForester.appError: “Cannot verify developer”
Solution: Right-click → Open (bypass Gatekeeper)
Linux:
Error: “error while loading shared libraries: libQt5Core.so.5”
Solution: Install Qt5 libraries (see Installation)
Python Source Installation Fails
Error: “No module named ‘PyQt5’”
Solution:
pip install PyQt5Error: “Microsoft Visual C++ 14.0 is required” (Windows)
Solution: Install Visual Studio Build Tools
Data Management Issues
Can’t Open Database
Symptoms: “Failed to open database” error
Solutions:
Check file permissions (read/write access)
Verify database file isn’t corrupted: - Try opening in SQLite browser - Restore from backup
Check disk space (database needs room to grow)
Database Corruption
Symptoms: Application crashes, data missing, errors on save
Recovery:
Close PhyloForester
Locate database file: - Windows:
C:\\Users\\<name>\\PaleoBytes\\PhyloForester\\PhyloForester.db- macOS/Linux:~/PaleoBytes/PhyloForester/PhyloForester.dbTry SQLite recovery:
sqlite3 PhyloForester.db "PRAGMA integrity_check;"
If corrupted, restore from backup
Prevention:
Regular backups (copy .db file)
Don’t force-quit during saves
Ensure sufficient disk space
Import/Export Problems
File Won’t Import
Common causes:
Unsupported format
Check file extension (.nex, .phy, .tnt)
Malformed file
Validate format with text editor
Encoding issues
Try UTF-8 or ASCII encoding
Solutions:
Check log messages for specific errors
Try opening file in text editor
Convert to Nexus format (most robust)
Export Fails
Solutions:
Check write permissions in destination folder
Verify disk space available
Try different export format
Use simpler filename (no special characters)
Analysis Issues
External Software Not Found
Symptoms: “TNT not found” or similar error
Solutions:
Set software path: - Edit → Preferences - Browse to executable location - Click OK
Verify executable: - Run software from command line - Check file permissions (execute bit on Linux/macOS)
Check spelling: - Windows:
tnt.exe- Linux/macOS:tnt(no extension)
Analysis Fails to Start
Check:
Datamatrix has data (not empty)
External software path correct
No special characters in project/datamatrix names
Sufficient disk space for output files
Look in Log tab for error messages
Analysis Runs but No Results
Possible causes:
No trees found (parsimony) - Data may be too homogeneous - Try more replicates
Analysis stopped prematurely - Check if you clicked Stop - Check system resources
Output parsing failed - Check Log tab for raw output - May need software update
Analysis Takes Too Long
For Parsimony:
Should complete in seconds-minutes
If stuck, reduce Hold parameter
For Maximum Likelihood:
Can take minutes-hours
Reduce bootstrap replicates for testing
Use “Fast” algorithm option
For Bayesian:
Expected to take hours-days
Check convergence periodically
Can stop and resume (in MrBayes directly)
Solutions:
Reduce dataset size for testing
Use faster computer
Run overnight
Consider cloud computing for large datasets
UI and Display Issues
Window Layout Broken
Reset window geometry:
Close PhyloForester
Delete settings file: - Windows:
C:\\Users\\<name>\\AppData\\Roaming\\PaleoBytes\\PhyloForester- macOS:~/Library/Preferences/com.paleobytes.PhyloForester.plist- Linux:~/.config/PaleoBytes/PhyloForester.confRestart PhyloForester
Trees Not Displaying
Solutions:
Check if tree data exists (look in Log)
Try different tree from list
Export tree as Newick, verify it’s valid
Restart application
Text Too Small/Large
Adjust with system DPI settings:
- Windows:
Settings → Display → Scale
- macOS:
System Preferences → Displays → Resolution
- Linux:
Desktop environment settings
Keyboard Shortcuts Not Working
Check:
Focus is in correct window/widget
No conflicting OS shortcuts
NumLock state (if using numpad)
- macOS:
Ctrl shortcuts may need Cmd instead
Datamatrix Editor Issues
Can’t Edit Cells
Check:
Datamatrix is open in edit mode (not view-only)
Cell is selected (click once to select)
No dialog box hidden behind
Undo/Redo Not Working
Limitations:
Only works within a single editing session
Closing editor clears undo history
Max undo stack size: 50 operations
If broken:
Save and reopen editor
Restart application
Copy/Paste Not Working
Check:
Cells are selected (should be highlighted)
Clipboard has data (paste elsewhere to verify)
Format is compatible (tab-delimited for cross-app)
Workaround:
Use Export/Import for large data transfers
Copy through external text editor
Performance Issues
Application Slow
Causes and solutions:
Large database - Archive old projects - Split into multiple databases
Many trees in analysis - Limit trees saved (Hold parameter) - Delete old analyses
Insufficient RAM - Close other applications - Upgrade hardware
Slow disk - Move database to SSD - Defragment disk (Windows)
Tree Rendering Slow
For large trees (>100 taxa):
Disable character mapping temporarily
Export as Newick, view in specialized viewer
Use summary trees (consensus) instead of all trees
Error Messages
“Permission Denied”
Cause: Insufficient file system permissions
Solutions:
Run PhyloForester with elevated permissions
Move database to folder with write access
Check file isn’t open in another program
“Out of Memory”
Cause: Not enough RAM for operation
Solutions:
Close other applications
Reduce dataset size
Increase virtual memory/swap
Use 64-bit version (if available)
“Database Locked”
Cause: Another process accessing database
Solutions:
Close all PhyloForester instances
Kill zombie processes
Restart computer
Copy database to new location
“Invalid Datamatrix”
Cause: Data format issue
Solutions:
Check for: - Inconsistent row lengths - Invalid characters - Missing taxa/character names
Re-import from original file
Recreate datamatrix manually
Reporting Bugs
If you encounter a persistent issue:
Check if issue is already reported: https://github.com/jikhanjung/PhyloForester/issues
Create new issue with: - PhyloForester version (Help → About) - Operating system and version - Steps to reproduce - Error messages (exact text) - Log files (if available) - Screenshots
Logs location:
Windows:
C:\\Users\\<name>\\AppData\\Local\\PaleoBytes\\PhyloForester\\LogsmacOS/Linux:
~/.local/share/PaleoBytes/PhyloForester/Logs
Getting Help
Documentation: https://jikhanjung.github.io/PhyloForester/
Email: (if provided by maintainers)
When asking for help, include:
What you were trying to do
What you expected to happen
What actually happened
Error messages
PhyloForester version
Operating system
Next Steps
Return to User Guide for general usage
See Analysis Guide for analysis-specific help
See Developer Guide for advanced troubleshooting