Traceback (most recent call last):
File "/home/adam/wikt/pywikibot/core/pywikibot/page.py", line 1219, in _save
watch=watch, bot=botflag, **kwargs)
File "/home/adam/wikt/pywikibot/core/pywikibot/site.py", line 1325, in callee
self.login(False)
File "/home/adam/wikt/pywikibot/core/pywikibot/site.py", line 2077, in login
'right': self._username[sysop]})
pywikibot.exceptions.NoUsername: Logged in on wiktionary:pl via OAuth as Alkamid, but expect as AlkamidBot
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "addLang.py", line 197, in <module>
main()
File "addLang.py", line 190, in main
page8.save(summary="Dodanie języka %s" % zjezyka)
File "/home/adam/wikt/pywikibot/core/pywikibot/tools/__init__.py", line 1447, in wrapper
return obj(*__args, **__kw)
File "/home/adam/wikt/pywikibot/core/pywikibot/page.py", line 1208, in save
cc=apply_cosmetic_changes, quiet=quiet, **kwargs)
File "/home/adam/wikt/pywikibot/core/pywikibot/page.py", line 1234, in _save
raise pywikibot.OtherPageSaveError(self, err)
pywikibot.exceptions.OtherPageSaveError: Edit to page [[Moduł:statystyka/dane]] failed:
Logged in on wiktionary:pl via OAuth as Alkamid, but expect as AlkamidBot
<class 'pywikibot.exceptions.OtherPageSaveError'>
CRITICAL: Closing network session.