Page MenuHomePhabricator

MW Exception causes infinite loop
Closed, ResolvedPublic

Description

https://test.wikidata.org/w/api.php?action=wbgetentities&ids=Q6 = <api servedby="mw1017"><error code="internal_api_error_InvalidArgumentException" info="Exception Caught: AliasSerializer can only serialize an array of aliases" xml:space="preserve" /></api>

Due to https://gerrit.wikimedia.org/r/#/c/105152/ , which was a follow up of https://gerrit.wikimedia.org/r/#/c/105099/ , any code that matches "internal_api_error_" causes a retry, which of course will fail indefinitely, and causings our build to break: https://travis-ci.org/wikimedia/pywikibot-core/jobs/35077363

I'm told that the API exception from Wikidata is due to a bug in their deploy, which should be fixed shortly, but our code should discern whether the error is re-retryable.


Version: core-(2.0)
Severity: blocker
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=66063
https://bugzilla.wikimedia.org/show_bug.cgi?id=56963

Details

Reference
bz70754

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:55 AM
bzimport set Reference to bz70754.
bzimport added a subscriber: Unknown Object (????).

gerritadmin wrote:

Change 159968 had a related patch set uploaded by John Vandenberg:
Raise exception on unknown MediaWiki exception

https://gerrit.wikimedia.org/r/159968

gerritadmin wrote:

Change 159968 merged by jenkins-bot:
Raise exception on unknown MediaWiki exception

https://gerrit.wikimedia.org/r/159968