Seppl2013 added a comment.

  What is the proper procedure to tell pywikibot the password for login via API 
? I am using
  
    python
     # needs patch as outlined in https://phabricator.wikimedia.org/T248471
                #self.site.login(password=self.getPassword())
                lm = LoginManager(password=self.getPassword(), site=self.site, 
user=self.user)
                lm.login()
  
  and i get a WARNING:
  
  WARNING: Could not check user '...' exists on wiki:lang
  
  and then i am asked for the password.
  Password for user ... on wiki:lang (no characters will be shown): Warning: 
Password input may be echoed.
  
  This still doesn't make any sense to me since the LoginManager was 
initialized with the proper password. Why does it forget about it?

TASK DETAIL
  https://phabricator.wikimedia.org/T248471

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Seppl2013
Cc: Dvorapa, Xqt, Mpaa, Aklapper, Seppl2013, pywikibot-bugs-list, JohnsonLee01, 
SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, 
JJMC89, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to