pe-st / garmin-connect-export

Download a copy of your Garmin Connect data, including stats and GPX tracks.
MIT License
376 stars 77 forks source link

Exported files wont load into GoldenCheetah #31

Open pierretamisier opened 4 years ago

pierretamisier commented 4 years ago

After running python gcexport.py -d ~/Garmin -c 10 -f original -u --username foo --password bar all the files retrieved are named like activity_542056943.gpx but wont be loaded into GoldenCheetah because of a date issue. Looking at the GC code it looks like the filename of the fit file has to contains the activity date? Am I using the CLI properly? image image

telemaxx commented 4 years ago

the name is just a id. you can use -fp option, but due a bug that won't work with-f original. see issue#29. original normally means fit format. wondering that you get gpx. did you upload gpx?

pe-st commented 4 years ago

I've never used Golden Cheetah... But if you want to try my current development version (my feature/p3 branch), the -fp option should be fixed.

bxsx commented 4 years ago

@pierretamisier as you use the exporter for Golden Cheetah you may be interested in my branch that I created a year ago exactly only for this purpose: https://github.com/bartskowron/garmin-connect-export/

You would be interested in the convert2syncer branch. Keep in mind that I don't maintain it. It just works and I don't care ;-) I added some options however all you basically need to do is just: python3 gcexport3.py --sync

pierretamisier commented 4 years ago

@bartskowron this is brilliant thank you. Ill have a look.

jamorris commented 4 years ago

@pierretamisier What GC version are you using? I'm using 3.6 Dev AppImage version installed on Ubuntu 16.04 LTS set to auto-import the exported files and it works (I leave the files as .zip). I run gcexport with the following and set GC to auto-import from the 'activities' folder created with --subdir. python gcexport.py -d ~/Garmin -c 10 -f original --desc --username foo --subdir activities