Skip to content

'Undocumented value 2156' assigned to field garmin_product #14

@Abasz

Description

@Abasz

Hi, I am trying to alter a fit file activity recorded with an FR630. I would like to add an event (recovery_hr). Currently I tried to read the data and immediately (without updating) write back to a new file but I receive the following error.

Thanks

Unknown value 'Undocumented value 2156' assigned to field garmin_product
Traceback (most recent call last):
4: from test.rb:57:in <main>' 3: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/fit4ruby-3.3.0/lib/fit4ruby.rb:22:in write'
2: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/fit4ruby-3.3.0/lib/fit4ruby/FitFile.rb:102:in write' 1: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/fit4ruby-3.3.0/lib/fit4ruby/Activity.rb:296:in write'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/fit4ruby-3.3.0/lib/fit4ruby/Activity.rb:296:in `sort': comparison of Fit4Ruby::PhysiologicalMetrics with Fit4Ruby::Lap failed (ArgumentError)

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