https://bugzilla.wikimedia.org/show_bug.cgi?id=56321
Web browser: --- Bug ID: 56321 Summary: Locked database makes bot crash with "pywikibot.data.api.APIError" Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: Wikidata Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: maarten@mdammers.nl Classification: Unclassified Mobile Platform: ---
" File "C:\pywikibot\core\pywikibot\page.py", line 2692, in addClaim self.repo.addClaim(self, claim, bot=bot, **kwargs) File "C:\pywikibot\core\pywikibot\site.py", line 709, in callee return fn(self, *args, **kwargs) File "C:\pywikibot\core\pywikibot\site.py", line 3581, in addClaim data = req.submit() File "C:\pywikibot\core\pywikibot\data\api.py", line 394, in submit raise APIError(code, info, **result["error"]) pywikibot.data.api.APIError: internal_api_error_ReadOnlyError: Exception Caught: The database is currently locked to new entries and other modifications, probab ly for routine database maintenance, after which it will be back to normal.
The administrator who locked it offered this explanation: The database has been automatically locked while the slave database servers catch up to the master
"
Should back off and retry
https://bugzilla.wikimedia.org/show_bug.cgi?id=56321
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |jayvdb@gmail.com Resolution|--- |DUPLICATE
--- Comment #1 from John Mark Vandenberg jayvdb@gmail.com ---
*** This bug has been marked as a duplicate of bug 59227 ***
pywikipedia-bugs@lists.wikimedia.org