Skip to content

Error DB ingest.py #16

@p4mu

Description

@p4mu

What happened

Error "Unknown table: workout_routes" when importing export.zip

Steps to reproduce

  1. run leo-watch
  2. wait for leo to import new export.zip
  3. throws error

Expected behavior

import export.zip

Environment

  • OS: macOS 26.3
  • Python version: 3.13.0
  • Leo Health version: v0.1.0
  • Data source: Apple Health

Suggested fix:

line 27 ~/Leo-Health-Core/leo_health/db/ingest.py
-"routes": {"workout_start","timestamp","latitude","longitude","altitude_m"},
+"workout_routes": {"workout_start","timestamp","latitude","longitude","altitude_m"},

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions