Page MenuHomePhabricator

KeyError: 'lgtoken'
Closed, InvalidPublic

Description

Hello,

When i login with compat Scripts i get Error:
Traceback (most recent call last):

File "login.py", line 480, in <module>
  main()
File "login.py", line 475, in main
  loginMan.login()
File "login.py", line 349, in login
  cookiedata = self.getCookie(api)
File "login.py", line 263, in getCookie
  self.site._token[index] = data['login']['lgtoken'] + "+\\"

KeyError: 'lgtoken'

is there any Solution?

Event Timeline

Hi @Jar. This does not sound like something is wrong in the code base (a so-called "software bug"), but instead like a support request (how to change settings, questions how to do something, etc.).
As Wikimedia Phabricator/Maniphest is for bug reports and enhancement requests, I am going to close this task as invalid.
Please ask on the mailing list or IRC channel instead. Thanks for your understanding!