Closed ray66 closed 1 month ago
This error happens when metadata["calories"]
and/or metadata["steps"]
never get assigned a value. When I set both to 0 by default in core/activity_parsers.py::read_activity
the summary page displays well.
I think I what the issue is, I've set up a fix for 0.24.2.
The same problem also appears while generating the sharepics on the activity pages. https://github.com/martin-ueding/geo-activity-playground/blob/f893407be0fb33f5d006471f6c6ad750e5d13474/geo_activity_playground/webui/activity/controller.py#L457 This line is where it fails for me with a key error. Summary page works fine for me after the release of 0.24.2.
Oh yes, I see the issue. I've fixed it and will upload it with the next release.
After migration to 0.24.1everything seem working except
http://localhost:5000/summary/
which shows a blank page and the following message in the terminal:I suspect this due to the fact that I have calories nowhere in ma activities.