Menu

Fit file problem

2014-06-06
2014-06-06
  • Tom Skelley

    Tom Skelley - 2014-06-06

    Hi.
    First off, awesome project. I'm trying to use this with my new Mio 505 to upload bike rides to Garmin Connect (I'm a triathlete so everything else goes there). It seems to log .bin, .fit and .gpx files to it's local memory.

    GPX files load with no drama whatsover, but .fit files all fail with this:

    gupload.py -v 1 -l <username> <password> Farnborough_20140605_113124.fit
    DEBUG:root:Using credentials from command line.
    DEBUG:root:Username: <redacted>
    DEBUG:root:Password: <redacted>
    DEBUG:root:Filename: Farnborough_20140605_113124.fit
    DEBUG:root:File exists.
    DEBUG:root:File Extension: .fit
    DEBUG:root:File 'Farnborough_20140605_113124.fit' extension '.fit' is valid.
    INFO:root:Rate limited for 0.000000
    INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): connect.garmin.com
    DEBUG:requests.packages.urllib3.connectionpool:"GET / HTTP/1.1" 302 0
    INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): sso.garmin.com
    DEBUG:requests.packages.urllib3.connectionpool:"GET /sso/login?consumeServiceTicket=false&service=http%3A%2F%2Fconnect.garmin.com%2Fpost-auth%2Flogin&clientId=GarminConnect HTTP/1.1" 200 7247
    INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): sso.garmin.com
    DEBUG:requests.packages.urllib3.connectionpool:"POST /sso/login?consumeServiceTicket=false&service=http%3A%2F%2Fconnect.garmin.com%2Fpost-auth%2Flogin&clientId=GarminConnect HTTP/1.1" 200 1938
    INFO:root:Rate limited for 0.000000
    INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): connect.garmin.com
    DEBUG:requests.packages.urllib3.connectionpool:"GET /post-auth/login?ticket=ST-0240118-vIvdbb2qbKnfEOuAie1g-cas HTTP/1.1" 302 0
    INFO:root:Rate limited for 0.765470
    INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): connect.garmin.com
    DEBUG:requests.packages.urllib3.connectionpool:"GET /post-auth/login HTTP/1.1" 302 0
    INFO:root:Login Successful.
    INFO:root:Rate limited for 0.350277
    INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): connect.garmin.com
    DEBUG:requests.packages.urllib3.connectionpool:"POST /proxy/upload-service-1.1/json/upload/.fit HTTP/1.1" 200 345
    File: Farnborough_20140605_113124.fit ID: [{u'content': u'An unexpected error occurred while processing the file..', u'code': 500}] Status: FAIL

    Is this Garmin chucking a wobbly or gcpupload? Any ideas?

    Regards...

    Tom

     
  • Dave Lotton

    Dave Lotton - 2014-06-06

    Hi Tom,

    I'm currently on vacation and cannot look into the problem. I'll try to take a look when I get back and settled.

    It looks like the login is working okay, but it doesn't like something about the fit file.

    Have you tried manually uploading that file through the GC web site to see if the file is somehow corrupted?

     
  • Tom Skelley

    Tom Skelley - 2014-06-06

    Hmm interesting. A manual upload chokes too. That's a bit rubbish.

    I'll go whinge at the Mio guys!

    Thanks!

    Tom

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.