Please post your traceback.

YiFei Zhu

On Tue, Aug 27, 2019 at 5:49 AM Alex Brollo <> wrote:
I'm driving a flagged bot into Commons, but some time ago I migrated from Windows to Linux  so I'd to reinstall pywikibot ad reconfiguring it.

It seems that something is going wrong with the statement:
usernames['commons']['commons'] = u'BrolloBot'

When running login -all, I successfully login into other bot accounts, but login in to commons fails, and I get a message: 

RuntimeError: dictionary changed size during iteration
CRITICAL: Exiting due to uncaught exception <type 'exceptions.RuntimeError'>

What is happening please? 

Alex brollo
pywikibot mailing list