kjkjava / garmin-connect-export

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

TypeError: cannot concatenate 'str' and 'int' objects #26

Closed jaybe1966 closed 7 years ago

jaybe1966 commented 7 years ago

When downloading Workouts, the program reports an Exception:

        Downloading file...
Traceback (most recent call last):
  File "garmin-connect-export_moderation/gcexport.py", line 357, in <module>
    data = http_req(download_url)
  File "garmin-connect-export_moderation/gcexport.py", line 86, in http_req
    raise Exception('Bad return code (' + response.getcode() + ') for: ' + url)
TypeError: cannot concatenate 'str' and 'int' objects
moderation commented 7 years ago

You reported the issue here but I think you are using my fork. This error should be fixed with this commit https://github.com/moderation/garmin-connect-export/commit/64c0ff1e4d0589423548569c64485f88f5c51840

jaybe1966 commented 7 years ago

Yes, the TypeError is now fixed.

jaybe1966 commented 7 years ago

I'm using your fork https://github.com/moderation/garmin-connect-export and get another error now, but can't create an issue on the site of your fork.

moderation commented 7 years ago

I've enabled issues on the repo now - https://github.com/moderation/garmin-connect-export/issues