thomaschampagne / elevate

A sport app to "Elevate" your training experience and goals! Track your fitness and progressions over time. Analyse deeper your activities. And more...
https://thomaschampagne.github.io/elevate-docs/
Mozilla Public License 2.0
1.28k stars 175 forks source link

Activity cannot by synced because of overlapping activity #1089

Open ejpho opened 2 years ago

ejpho commented 2 years ago

The strava activity 1751997805 on 5th august 2018 cannot be synced becasue of an overlapping activity. Indeed something is overlapping, but the web extension doesn't have this issue. So you know how to fix this too ;-) Synced more than a 1000 activities. Only 2 obvious bugs as far as I see now. Very good job. Keep it up.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

ejpho commented 2 years ago

.

bestis commented 2 years ago

Yes. Clearly something wrong with overlapping detection. One easy example, my cycling overlaps the transition and running?

Cannot handle activity <IM 70.3 Lahti 2019 / Pyöräily from June 29, 2019 7:52 PM to June 29, 2019 10:56 PM> because of existing overlapping activities: <IM 70.3 Lahti 2019 / T2 from June 29, 2019 7:57 PM to June 29, 2019 8:01 PM> & <IM 70.3 Lahti 2019 / Juoksu from June 29, 2019 10:54 PM to June 29, 2019 11:14 PM> |   | - | MULTIPLE_ACTIVITIES_FOUND | -
-- | -- | -- | -- | --

I have this moment 10 warnings about overlapping. Some of them are really weird.. like this:

Cannot handle activity <19.12.2011 from December 19, 2011 7:19 PM to February 7, 2013 8:38 PM> because of existing overlapping activities: ...<huge list>...

How I can have activity that has taken from 2011 to 2013 :O

chrisfosterelli commented 1 year ago

Having the same issue here trying to switch from the web extension. In my case I think elevate is actually correct, the files do seem to overlap (at least in strava).

image

But this is either a bug in strava or the forerunner 920xt I used. They didn't overlap in real life. It looks like it generated the bike and swim events so that the start time was actually the end time. But the activities themselves are valid, so I am not sure why elevate should block import if I want it to. It only appears on really old races from 2017 and 2018 but I would like these to be able to be imported (at least to get rid of the warning).

mvanrompuy commented 6 months ago

Same issue for me, no overlap in real-life but for me it might be due to a manual entry.

I found an example where I was running and my watch crashed at 12:40. It only rebooted a couple of minutes later. To account for the untracked distance, I added a manual activity in Strava starting when the previous activity ended. These manual entries can however only be entered with a resolution of a minute: image

So the last recorded point of the watch is at 12:40:15, while the manual activity is seen as 12:40:00. I can't really resolve this, as Strava doesn't allow me to edit the start time of this activity.

Maybe the check for overlaps can be made a bit more lenient (e.g. max one minute of overlap) to account for the fact that Strava does not always use a time resolution down to seconds?

rj2Skipper commented 2 months ago

I actually do have overlapping actvities, which can't be imported. They were recorded on different devices AND are of different kind of sport. Elevate shows me the time and duration of the first activity, but the sport-type of the second.

it does not matter, that both activities have the same name

racetrack.zip