Strava-local-heatmap icon indicating copy to clipboard operation
Strava-local-heatmap copied to clipboard

Unique line file

Open darrepac opened this issue 3 years ago • 3 comments

Hi CREPS_Rimouron963.zip

If the file has one unique line, the program fail.

Problem is here: with open(gpx_file) as file: for line in file:

darrepac avatar Jan 11 '22 11:01 darrepac

@darrepac thanks for the report, did you get this GPX file from Strava? The parser in this script is very limited, and was only tested with GPX files from Strava.

remisalmon avatar Feb 06 '22 22:02 remisalmon

No, indeed this is a generic file not coming from Strava

darrepac avatar Feb 07 '22 06:02 darrepac

No, indeed this is a generic file not coming from Strava

@darrepac I just did a fix on a fork for this issue. You can find it in https://github.com/bousqi/Strava-local-heatmap A pull request is created to tackle this issue.

bousqi avatar Mar 22 '22 20:03 bousqi