Skip to content

Instantly share code, notes, and snippets.

@revi

revi/log.txt Secret

Created August 10, 2016 14:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save revi/86feefedcc46a99c71d561d8c0c8f421 to your computer and use it in GitHub Desktop.
Save revi/86feefedcc46a99c71d561d8c0c8f421 to your computer and use it in GitHub Desktop.
Pywikibot duh
tools.revibot@tools-bastion-03:~/core$ python pwb.py login
Traceback (most recent call last):
File "pwb.py", line 257, in <module>
if not main():
File "pwb.py", line 251, in main
run_python_file(filename, [filename] + args, argvu, file_package)
File "pwb.py", line 121, in run_python_file
main_mod.__dict__)
File "./scripts/login.py", line 193, in <module>
main()
File "./scripts/login.py", line 176, in main
site.login(sysop)
File "/data/project/revibot/core/pywikibot/site.py", line 2057, in login
if loginMan.login(retry=True):
File "/data/project/revibot/core/pywikibot/login.py", line 264, in login
self.check_user_exists()
File "/data/project/revibot/core/pywikibot/login.py", line 139, in check_user_exists
% (self.username, self.site))
pywikibot.exceptions.NoUsername: Username 'Revibot@Pywikibot' does not exist on wikipedia:ko
<class 'pywikibot.exceptions.NoUsername'>
CRITICAL: Closing network session.
tools.revibot@tools-bastion-03:~/core$ git log
commit b6e02407d8d1afde3c9df831f9bacb4a5a9f0e6e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment