https://bugzilla.wikimedia.org/show_bug.cgi?id=66619
--- Comment #4 from Maarten Dammers <maarten(a)mdammers.nl> ---
I haven't been able to reproduce this. Bot has been running for quite some
time.
My assumption would be that the
'result["error"]["messages"]["0"]["name"]'
causes the error because it's not four layers of dicts, but has a list in there
somewhere.
Anyone a clue how to trigger an error to see if the format of error messages
might have changed?
The relevant snippet that triggered tis bug:
data = {'labels':
{monument.get('lang'):
{'language': monument.get('lang'),
'value': monumentName}
}
}
identification = {}
summary = u'Creating new item with data from %s' %
(monument.get('source'),)
pywikibot.output(summary)
result = self.repo.editEntity(identification, data, summary=summary)
--
You are receiving this mail because:
You are the assignee for the bug.