Railfail536 added a comment.

  Oh well it worked but now throws different error:
  
    [rail@rail-pc pwb]$ python pwb.py login
    WARNING: No user is logged in on site ucpsandbox:pl
    Logging in to ucpsandbox:pl as RailBot
    WARNING: API warning (main): Unrecognized parameters: username, password.
    ERROR: Login failed (FAIL).
    Traceback (most recent call last):
      File "/home/rail/pwb/pywikibot/login.py", line 300, in login
        cookiedata = self.getCookie()
      File "/home/rail/pwb/pywikibot/tools/__init__.py", line 1875, in wrapper
        return obj(*new_args, **new_kwargs)
      File "/home/rail/pwb/pywikibot/data/api.py", line 3222, in getCookie
        raise APIError(code=status, info=info)
    pywikibot.data.api.APIError: FAIL: Podane dane nie mogą być użyte do 
kontroli poświadczeń.
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "pwb.py", line 389, in <module>
        if not main():
      File "pwb.py", line 381, in main
        run_python_file(filename,
      File "pwb.py", line 100, in run_python_file
        exec(compile(source, filename, 'exec', dont_inherit=True),
      File "./scripts/login.py", line 188, in <module>
        main()
      File "./scripts/login.py", line 170, in main
        site.login(autocreate=autocreate)
      File "/home/rail/pwb/pywikibot/tools/__init__.py", line 1790, in wrapper
        return obj(*__args, **__kw)
      File "/home/rail/pwb/pywikibot/site/__init__.py", line 2090, in login
        if login_manager.login(retry=True, autocreate=autocreate):
      File "/home/rail/pwb/pywikibot/login.py", line 309, in login
        raise NoUsername(error_msg)
    pywikibot.exceptions.NoUsername: Username "RailBot" does not have read 
permissions on ucpsandbox:pl
    .Podane dane nie mogą być użyte do kontroli poświadczeń.
    CRITICAL: Exiting due to uncaught exception <class 
'pywikibot.exceptions.NoUsername'>
  
  Probably it is due to custom Auth system Fandom is using.

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

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

To: Railfail536
Cc: Xqt, Dvorapa, Aklapper, Railfail536, pywikibot-bugs-list, 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