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
Archive GPX processing fails on activities without GPX data #9
Comments
Are you by any chance running an older version of strava-offline? A couple days ago I released https://github.com/liskin/strava-offline/releases/tag/1.0.3 which has this fix: 8c1dc65, so |
I'm still on 1.0.2, so I'll give the new version a try later today and follow-up here. I'm assuming I'll need to re-run the |
No, any command that opens the database runs migrations if necessary, so just invoking |
Upgrading to the new version resolved the issue. Thanks for your help! |
Hi!
Thanks for creating and sharing this tool. I have a suspicion it's going to save me from writing a bunch of code on my own.
I ran into an issue today when trying to process the GPX data from my Strava archives. I have some activities that do not have GPX data. For example, an indoor ride on my trainer or a weight lifting session. Here is one example. When GPX processing tries to download the GPX file for this activity, it understandably cannot find one and throws the below stack trace.
Oddly, the ride does have
has_location_data = 1
in the database, though it lacks astart_latlng
andend_latlng
(see data below).Might excluding activities that do not have a start and end latlng here fix the issue?
I'd be happy to open a PR if you have a fix in mind.
Thank you again for sharing this project!
Here's the full traceback, in case it's helpful.
The text was updated successfully, but these errors were encountered: