Last modified: 2014-11-09 21:06:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T58321, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56321 - Locked database makes bot crash with "pywikibot.data.api.APIError"
Locked database makes bot crash with "pywikibot.data.api.APIError"
Status: RESOLVED DUPLICATE of bug 59227
Product: Pywikibot
Classification: Unclassified
Wikidata (Other open bugs)
core-(2.0)
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-29 16:36 UTC by Maarten Dammers
Modified: 2014-11-09 21:06 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Maarten Dammers 2013-10-29 16:36:41 UTC
"  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
Comment 1 John Mark Vandenberg 2014-11-09 21:06:08 UTC

*** This bug has been marked as a duplicate of bug 59227 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links