Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Undocumented value 2156' assigned to field garmin_product #14

Open
Abasz opened this issue Sep 4, 2019 · 0 comments
Open

'Undocumented value 2156' assigned to field garmin_product #14

Abasz opened this issue Sep 4, 2019 · 0 comments

Comments

@Abasz
Copy link

Abasz commented Sep 4, 2019

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant