It is recommended to use Python 3.5 or above.
See T213287 for further information.
FutureWarning)
Logging in to wikisource:it as BrolloBot@BrolloBot
Logged in on wikisource:it as BrolloBot.
Logging in to wikisource:la as BrolloBot@BrolloBot
Logged in on wikisource:la as BrolloBot.
Traceback (most recent call last):
File "pwb.py", line 297, in <module>
if not main():
File "pwb.py", line 292, in main
run_python_file(filename, [filename] + args, argvu, file_package)
File "pwb.py", line 96, in run_python_file
main_mod.__dict__)
File "./scripts/login.py", line 198, in <module>
main()
File "./scripts/login.py", line 170, in main
for family_name in namedict:
RuntimeError: dictionary changed size during iteration
CRITICAL: Exiting due to uncaught exception <type 'exceptions.RuntimeError'>
Alex brollo
Please post your traceback.YiFei Zhu_______________________________________________On Tue, Aug 27, 2019 at 5:49 AM Alex Brollo <alex.brollo@gmail.com> 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 pwb.py 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
pywikibot@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot
pywikibot mailing list
pywikibot@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot