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

Default file export results in corrupt data #14

Closed
bzimmer opened this issue Jun 10, 2021 · 0 comments · Fixed by #17
Closed

Default file export results in corrupt data #14

bzimmer opened this issue Jun 10, 2021 · 0 comments · Fixed by #17
Assignees

Comments

@bzimmer
Copy link
Owner

bzimmer commented Jun 10, 2021

If no file is specified on export the contents of the file and the metadata are written to stdout resulting in a corrupt data file.

As an example:

~ > gravl strava export 5391565932

<snip>

 J�E��84�@"�����;�;�J\9`ˌ{
 "name": "Thank_you_.fit",
 "format": "fit",
 "id": 5391565932
}
@bzimmer bzimmer self-assigned this Jun 10, 2021
@bzimmer bzimmer linked a pull request Jul 4, 2021 that will close 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

Successfully merging a pull request may close this issue.

1 participant