Troubleshooting - banisterious/obsidian-charted-roots GitHub Wiki
Troubleshooting
Solutions to common issues with Charted Roots.
Table of Contents
- Tree Generation
- Bidirectional Sync
- Upgrade Issues
- Import/Export
- Map View
- Family Chart View
- Excalidraw Export
- Performance Issues
- Getting More Help
Tree Generation
Tree not generating
Symptoms: Clicking "Generate tree" does nothing or shows an error.
Solutions:
- Check that the root person has a
cr_idvalue - Verify relationships use valid
cr_idreferences - Enable debug logging: Settings → Charted Roots → Logging → Enable debug mode
- Check the developer console (Ctrl/Cmd + Shift + I) for errors
Missing people in tree
Symptoms: Some family members don't appear in the generated tree.
Solutions:
- Verify their
cr_idvalues match the references in relationship fields - Check generation limits - they may be excluding distant relatives
- If spouses are missing, ensure "Include spouses" is enabled
- Verify the person has a relationship path to the root person
Layout issues
Symptoms: Nodes overlap, spacing is wrong, or the tree looks distorted.
Solutions:
- Try different spacing values in Canvas Settings
- Switch between vertical and horizontal layout
- For large trees, try the Compact algorithm
- Regenerate the canvas with latest settings
Wrong relationships displayed
Symptoms: Lines connect the wrong people, or relationships are missing.
Solutions:
- Check that
cr_idvalues are unique (no duplicates) - Verify relationship properties point to correct IDs
- Run "Validate relationships" command to find inconsistencies
- Check for circular relationships (A is parent of B, B is parent of A)
Bidirectional Sync
Relationships not syncing
Symptoms: Adding a father to one note doesn't add the child to the other.
Solutions:
- Verify bidirectional sync is enabled: Settings → Charted Roots → Data
- Check that "Sync on file modify" is also enabled
- Ensure both person notes have valid
cr_idfields - Check console for sync errors
Orphaned relationships after deletion
Symptoms: After deleting a relationship, the reciprocal link remains.
Solutions:
- This happens if sync was disabled during deletion
- Run "Validate relationships" command to find orphaned links
- Manually remove the orphaned reference
- Keep sync enabled to prevent future occurrences
Sync not working with external editors
Symptoms: Edits made in VS Code or other editors don't trigger sync.
Solutions:
- Ensure Obsidian is running when editing externally
- Wait for Obsidian to detect file changes (usually automatic)
- Check that files have valid frontmatter with
cr_id - Try editing within Obsidian to verify sync works
Upgrade Issues
New "Charted Roots" folder created after v0.19.0 upgrade
Symptoms: After upgrading from Canvas Roots to Charted Roots (v0.19.0), new people/places are created in a Charted Roots/ folder while existing files remain in Canvas Roots/.
Cause: The v0.19.0 migration updated canvas metadata and code blocks, but didn't change folder settings. If you were using the default folder paths, they reset to the new Charted Roots/... defaults while your existing files stayed in Canvas Roots/....
Solution:
- Open Settings → Charted Roots → Folders
- Update each folder path to point to your existing folders:
- People folder:
Canvas Roots/People - Places folder:
Canvas Roots/Places - (and so on for other folder settings)
- People folder:
- If you already created files in the new
Charted Roots/folder, move them to your existing folder structure first - Delete the empty
Charted Rootsfolder
Note: The migration intentionally didn't rename folders to avoid surprising users with altered folder structures. However, the settings default change wasn't communicated clearly.
Import/Export
GEDCOM import problems
Symptoms: Import fails, shows errors, or missing data.
Solutions:
- Verify the file is valid GEDCOM 5.5.1 format
- Check file encoding (should be UTF-8 or ASCII)
- Try importing a smaller subset first
- Review import log for specific errors
- Some GEDCOM exports from older software may have non-standard tags
Sharing files for bug reports:
If you need to share your GEDCOM file to help debug import issues, use the anonymization tool to protect your privacy:
- Download the anonymization script: tools/anonymize_gedcom.py
- Run it on your GEDCOM file:
python anonymize_gedcom.py your_file.ged anonymized_file.ged - The script replaces names with "Person 1", "Person 2", etc. while preserving the file structure
- Optional flags:
--keep-dates- Preserve dates (useful for date-related bugs)--keep-places- Preserve place names (useful for place-related bugs)
- Review the anonymized file before sharing to ensure you're comfortable with the content
GEDCOM export missing data
Symptoms: Exported GEDCOM has fewer people or missing relationships.
Solutions:
- Check privacy settings aren't excluding people
- Verify all people have
cr_idvalues - Export from the correct folder
- Check console for export errors
CSV import column mapping issues
Symptoms: Data imports to wrong fields or is missing.
Solutions:
- Review auto-detected column mapping before importing
- Manually adjust mappings if column names don't match
- Use standard column names: name, born, died, father, mother, spouse
- Check for extra whitespace in column headers
Map View
Places not showing on map
Symptoms: Map is empty or some places don't appear.
Solutions:
- Verify places have coordinates (
coordinates.latandcoordinates.long) - Check that places are within the visible map bounds
- Verify layer toggles haven't hidden the marker types
- For custom maps, check
universeproperty matches between places and map
Custom map not loading
Symptoms: Custom image map shows blank or errors.
Solutions:
- Verify the image path in frontmatter is correct
- Check the image file exists in your vault
- Verify bounds are defined (
bounds.north,.south,.east,.west) - Check
type: mapis set in frontmatter
Map alignment won't save
Symptoms: Dragging corners works but Save doesn't persist.
Solutions:
- Ensure you click "Save alignment" after adjusting
- Check the map note file for write permissions
- Verify the map note has valid frontmatter
- Check console for save errors
Family Chart View
Chart won't load
Symptoms: Family Chart View shows blank or loading forever.
Solutions:
- Verify the root person has valid data and
cr_id - Check that person has at least one relationship
- Try a different root person
- Check console for JavaScript errors
Edits not saving to notes
Symptoms: Changes made in edit mode disappear.
Solutions:
- Ensure you save changes before exiting edit mode
- Verify the person note file isn't locked or read-only
- Check that bidirectional sync is working
- Check console for save errors
Export produces blank file
Symptoms: PNG or SVG export creates empty or corrupted file.
Solutions:
- Ensure the chart is fully loaded before exporting
- Try zooming to fit before export
- Check available disk space
- Try the other format (SVG instead of PNG, or vice versa)
Excalidraw Export
Excalidraw file appears blank
Symptoms: Exported file opens but shows nothing.
Solutions:
- Ensure Excalidraw plugin is installed and up-to-date
- Check Charted Roots version (export fixes in v0.2.1+)
- Try re-exporting the Canvas
- Verify the Canvas has valid nodes
Nodes positioned incorrectly
Symptoms: Nodes are off-screen or overlapping strangely.
Solutions:
- Charted Roots normalizes negative coordinates automatically
- Try regenerating the Canvas first, then re-export
- In Excalidraw, use "Fit to content" to find nodes
Performance Issues
Slow tree generation
Symptoms: Generating trees takes a long time.
Solutions:
- Limit generations for large trees
- Generate ancestors or descendants separately
- Use the Preview feature first (faster than full generation)
- Close other heavy tabs/views while generating
Obsidian lag after installing plugin
Symptoms: Obsidian becomes slow with Charted Roots enabled.
Solutions:
- Disable debug logging if enabled
- Check vault size - very large vaults may need optimization
- Disable "Sync on file modify" if you don't need live sync
- Report issue with performance profile if problem persists
Getting More Help
If these solutions don't resolve your issue:
- Check existing issues: GitHub Issues
- Enable debug logging: Settings → Charted Roots → Logging
- Collect information:
- Obsidian version
- Charted Roots version
- Error messages from console
- Steps to reproduce
- Open a new issue: Report a bug