NathanBaulch / rainbow-roads

Animate your exercise maps!
MIT License
244 stars 10 forks source link

Unclear instructions in README #12

Open florianvazelle opened 2 months ago

florianvazelle commented 2 months ago

Hi :wave:

In the "beginner" section of the README, the links for requesting activity data, for Garmin and Strava, are the same and redirect to Strava support. So I think the link for Garmin might be this one: https://support.garmin.com/en-US/?faq=W1TvTPW8JZ6LfJSfK512Q8&productID=73207&searchQuery=export%20data&tab=topics

But after requesting my Garmin data, the project doesn't work and no FIT, TCX, GPX files are present in the exports.

Am I doing it right?

NathanBaulch commented 2 months ago

You're right, fixed that incorrect link! Can you share the command you're using that passes in the downloaded Garmin ZIP file?

florianvazelle commented 2 months ago

@NathanBaulch Thank you for your reply !

I retry and it's works but not when the zip file is in a directory, or when I use an absolute path to the zip file

$ go/bin/rainbow-roads export.zip 
files:         5,059
activities:    99
records:       101,170
...
$ go/bin/rainbow-roads ~/export.zip 
Error: open /home/phlowrient/export.zip: invalid argument
$ mkdir tmp
$ cp export.zip tmp/
$ ls tmp/
export.zip
$ go/bin/rainbow-roads tmp/export.zip 
Error: open tmp/export.zip: no such file or directory
$ go/bin/rainbow-roads ~/tmp/export.zip 
Error: open /home/phlowrient/tmp/export.zip: invalid argument

I'm on Manjaro, with go 1.22.0 installed