garmin-connect-export icon indicating copy to clipboard operation
garmin-connect-export copied to clipboard

Script crashes on non-gpx workouts when not using -f argument

Open Marcski opened this issue 8 years ago • 1 comments

Garmin Connect activity: [1892029351] Other Wed, 2 Aug 2017 18:12, 00:33:18, 0.00 Miles https://connect.garmin.com/modern/proxy/download-service/export/gpx/activity/1892029351?full=true Downloading file... Traceback (most recent call last): File "gcexport.py", line 357, in data = http_req(download_url) File "gcexport.py", line 86, in http_req raise Exception('Bad return code (' + str(response.getcode()) + ') for: ' + url) Exception: Bad return code (204) for: https://connect.garmin.com/modern/proxy/download-service/export/gpx/activity/1892029351?full=true

Marcski avatar Aug 03 '17 13:08 Marcski

HI @Marcski ,

This repository is no longer being maintained. I ran into a similar issue, and have a fork that includes a "-n" option which avoids this problem by skipping validation.

There's some discussion in this thread, and @moderation has another updated fork that should be working if mine isn't.

joetimmerman avatar Mar 12 '18 15:03 joetimmerman