[Pywikipedia-bugs] [Bug 56321] Locked database makes bot crash with "pywikibot.data.api.APIError"