Huji added a comment.

  In T229293#5419215 <https://phabricator.wikimedia.org/T229293#5419215>, 
@Dalba wrote:
  
  > I wonder why you're being prompted for typing your password again, maybe 
your `user-config.py`/`password_file` is not configured properly?
  > I have the following lines in mine:
  > user-config.py:
  >
  >   usernames['*']['*'] = 'Dalba'
  >   sysopnames['*']['*'] = 'Dalba'
  >   password_file = 'user-password.py'
  
  Mine is like this:
  
    usernames['wikipedia']['fa'] = 'HujiBot'
    sysopnames['wikipedia']['fa'] = 'HujiBot'
    password_file = "/home/huji/bot/user-password.py"
  
  
  
  > user-password.py:
  >
  >   ('wpbeta', 'Dalba', BotPassword('Dalba', '<redacted>'))
  
  Mine is like this:
  
    (HujiBot', BotPassword('HujiBot', 'REDACTED'))
  
  
  
  In T229293#5420921 <https://phabricator.wikimedia.org/T229293#5420921>, 
@Dvorapa wrote:
  
  >> I wonder why you're being prompted for typing your password again, maybe 
your `user-config.py`/`password_file` is not configured properly?
  >
  > You should delete pywikibot.lwp file or better download/clone Pywikibot 
freshly to the new folder
  
  I deleted the file (which essentially clears the cookies for pywikibot). But 
when I re-ran the bot I still run into the same issue (of it asking me to log 
in again). This is based on a fresh copy of Pywikibot as of 8b35e732403fb7 
<https://phabricator.wikimedia.org/rPWBC8b35e732403fb7b3a415f2053b0a41f690d4ca7a>

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

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

To: Huji
Cc: Dvorapa, Dalba, Framawiki, Aklapper, Huji, pywikibot-bugs-list, Viztor, 
DannyS712, 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