ls
Untitled.ipynb	Untitled1.ipynb
pwb.py login
WARNING: API error mwoauth-invalid-authorization-invalid-user: The authorization headers in your request are for a user that does not exist here
Traceback (most recent call last):
  File "/srv/paws/pwb/pwb.py", line 255, in <module>
    if not main():
  File "/srv/paws/pwb/pwb.py", line 249, in main
    run_python_file(filename, [filename] + args, argvu, file_package)
  File "/srv/paws/pwb/pwb.py", line 121, in run_python_file
    main_mod.__dict__)
  File "/srv/paws/pwb/scripts/login.py", line 193, in <module>
    main()
  File "/srv/paws/pwb/scripts/login.py", line 176, in main
    site.login(sysop)
  File "/srv/paws/pwb/pywikibot/site.py", line 2042, in login
    self.getuserinfo(force=True)
  File "/srv/paws/pwb/pywikibot/site.py", line 2125, in getuserinfo
    uidata = uirequest.submit()
  File "/srv/paws/pwb/pywikibot/data/api.py", line 1895, in submit
    self._add_defaults()
  File "/srv/paws/pwb/pywikibot/data/api.py", line 1698, in _add_defaults
    MediaWikiVersion(self.site.version()) >= MediaWikiVersion('1.25wmf5')):
  File "/srv/paws/pwb/pywikibot/site.py", line 2696, in version
    version = self.siteinfo.get('generator', expiry=1).split(' ')[1]
  File "/srv/paws/pwb/pywikibot/site.py", line 1655, in get
    preloaded = self._get_general(key, expiry)
  File "/srv/paws/pwb/pywikibot/site.py", line 1601, in _get_general
    default_info = self._get_siteinfo(props, expiry)
  File "/srv/paws/pwb/pywikibot/site.py", line 1527, in _get_siteinfo
    data = request.submit()
  File "/srv/paws/pwb/pywikibot/data/api.py", line 2341, in submit
    self._data = super(CachedRequest, self).submit()
  File "/srv/paws/pwb/pywikibot/data/api.py", line 2174, in submit
    % (self.site, info))
pywikibot.exceptions.NoUsername: Failed OAuth authentication for wikipedia:test: The authorization headers in your request are for a user that does not exist here
<class 'pywikibot.exceptions.NoUsername'>
CRITICAL: Closing network session.