Skip to content
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

Unique line file #14

Open
darrepac opened this issue Jan 11, 2022 · 3 comments
Open

Unique line file #14

darrepac opened this issue Jan 11, 2022 · 3 comments

Comments

@darrepac
Copy link

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:

@remisalmon
Copy link
Owner

@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.

@darrepac
Copy link
Author

darrepac commented Feb 7, 2022

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

@bousqi
Copy link

bousqi commented Mar 22, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants