You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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)
The text was updated successfully, but these errors were encountered: