Skip to content

Some activities fail to download #254

@nnachname90

Description

@nnachname90

Describe the bug
When downloading my garmin data, there are a lot of errors and a few activities fail to download.

(builtins.LookupError) '<UnknownEnumValue.UnknownEnumValue_0: 0>' is not among the defined enum values. Enum name: heartratezonesmethod. Possible values: max_heart_rate, heart_rate_reserve, lactate_threshold.
Can't operate on closed transaction inside context manager. Please complete the context manager before emitting further commands.
total_distance([invalid] (Distance(invalid))) total_cycles([invalid] cycles (4294967295))

To Reproduce
garmindb_cli.py --activities --download --import --analyze

Logs
garmindb-log-24-12-07-v1.txt

Additional context
I use a garmin chest strap for heart rate monitoring.
Some of the missing activities are indoor climbing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions