Closed gustav-b closed 3 months ago
Thanks @gustav-b for reporting this and also finding the reason. I've slightly modified your proposal to assume "no correction" if the field is absent from actvty: https://github.com/pe-st/garmin-connect-export/tree/feature/fix-112
Does that work for you?
It works perfectly – thanks!
Fix integrated in main branch, released in v4.4.0
I noticed the problem also in some of my old activities that were exported still without issues a couple of months ago. No idea if something changed on Garmin Connect....
Version used: 4.3.0 Python version: 3.8.19
I'm trying to export some old Garmin Connect running activities uploaded from a Garmin Forerunner 410 but I encounter the following error:
I guess the reason is that the activities lack elevation correction and that the code assumes this to be present.
Here's a quick patch that allows these activities to be processed – not sure if it's correct though: