Page MenuHomePhabricator fails with RuntimeError(dictionary changed)
Closed, ResolvedPublic


ERROR: RuntimeError: dictionary changed size during iteration
Traceback (most recent call last):
  File ".\scripts\", line 2477, in main
  File ".\scripts\", line 2115, in run
  File ".\scripts\", line 2092, in queryStep
  File ".\scripts\", line 2087, in oneQuery
  File ".\scripts\", line 1115, in batchLoaded
    for page in self.pending:
  File "C:\pwb\GIT\core\pywikibot\tools\", line 341, in __iter__
    yield from chain.from_iterable(
RuntimeError: dictionary changed size during iterationDump cs (wikipedia) appended.

Event Timeline

Xqt triaged this task as Medium priority.May 14 2021, 12:20 PM

Change 691167 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] [IMPR] interwiki: write traceback in -verbose mode

Change 691167 merged by jenkins-bot:

[pywikibot/core@master] [bugfix] Use dict for data container instead of defaultdict