Tfrancart created this task.
Tfrancart added a project: Wikidata.
Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION
When sending updates to Wikidata through Wikidata toolkit, I get tons of
these Exceptions below.
All these exceptions seem to happen in a row, then processing resumes back to
normal, which indicates it is not caused by the nature of the updates being
requested, but by the server being too busy or blocking the requests.
The calls are made sequentially, not in parallel. Should I pause a little
between each API call ?
17:22:04.667 ERROR o.i.i.IssnBot - [failed-save] The save has failed.
org.wikidata.wdtk.wikibaseapi.apierrors.MediaWikiApiErrorException:
[failed-save] The save has failed.
at
org.wikidata.wdtk.wikibaseapi.apierrors.MediaWikiApiErrorHandler.throwMediaWikiApiErrorException(MediaWikiApiErrorHandler.java:68)
at
org.wikidata.wdtk.wikibaseapi.ApiConnection.checkErrors(ApiConnection.java:524)
at
org.wikidata.wdtk.wikibaseapi.ApiConnection.sendJsonRequest(ApiConnection.java:464)
at
org.wikidata.wdtk.wikibaseapi.WbEditingAction.performAPIAction(WbEditingAction.java:747)
at
org.wikidata.wdtk.wikibaseapi.WbEditingAction.wbEditEntity(WbEditingAction.java:308)
at
org.wikidata.wdtk.wikibaseapi.StatementUpdate.performEdit(StatementUpdate.java:254)
at
org.wikidata.wdtk.wikibaseapi.TermStatementUpdate.performEdit(TermStatementUpdate.java:385)
at
org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor.updateTermsStatements(WikibaseDataEditor.java:738)
at
org.wikidata.wdtk.wikibaseapi.WikibaseDataEditor.updateTermsStatements(WikibaseDataEditor.java:578)
at org.issn.issnbot.IssnBot.processSerial(IssnBot.java:265)
at org.issn.issnbot.IssnBot.processBatch(IssnBot.java:173)
at org.issn.issnbot.IssnBot.process(IssnBot.java:150)
at org.issn.issnbot.IssnBot.processFolder(IssnBot.java:114)
at org.issn.issnbot.app.load_issn.LoadIssn.execute(LoadIssn.java:48)
at org.issn.issnbot.app.Main.run(Main.java:100)
at org.issn.issnbot.app.Main.main(Main.java:107)
TASK DETAIL
https://phabricator.wikimedia.org/T256386
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Tfrancart
Cc: Aklapper, Tfrancart, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic,
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude,
Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs