Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login no longer works #1

Open
sk- opened this issue May 11, 2014 · 4 comments
Open

Login no longer works #1

sk- opened this issue May 11, 2014 · 4 comments

Comments

@sk-
Copy link

sk- commented May 11, 2014

It seems that Garmin changed the login endpoint and now the uploader fails to login.

@drorcohen
Copy link

I am suffering from this issue as well...

@aspiers
Copy link

aspiers commented Aug 25, 2015

Works for me so I don't think this applies any longer?

@WillForan
Copy link

previously worked for me, now:

Traceback (most recent call last):
  File "gupload.py", line 218, in <module>
    if not g.login(username, password):
  File "/home/foranw/src/NIH/GarminConnectUploader/UploadGarmin.py", line 121, in login
    if self._get_cookies(username=username, password=password):
  File "/home/foranw/src/NIH/GarminConnectUploader/UploadGarmin.py", line 196, in _get_cookies
    data["lt"] = re.search("name=\"lt\"\s+value=\"([^\"]+)\"", preResp.text).groups(1)[0]
AttributeError: 'NoneType' object has no attribute 'groups'

@terxw
Copy link

terxw commented Jul 3, 2017

Same for me, I tried to uplad activities and got this error:


Traceback (most recent call last):
  File "/usr/local/bin/gupload.py", line 401, in <module>
    g.gupload()
  File "/usr/local/bin/gupload.py", line 238, in gupload
    if not g.login(self.username, self.password):
  File "/usr/local/lib/python2.7/dist-packages/UploadGarmin.py", line 138, in login
    if self._get_cookies(username=username, password=password):
  File "/usr/local/lib/python2.7/dist-packages/UploadGarmin.py", line 213, in _get_cookies
    data["lt"] = re.search("name=\"lt\"\s+value=\"([^\"]+)\"", preResp.text).groups(1)[0]
AttributeError: 'NoneType' object has no attribute 'groups'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants