https://bugzilla.wikimedia.org/show_bug.cgi?id=70754
Bug ID: 70754 Summary: MW Exception causes infinite loop Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: blocker Priority: Unprioritized Component: network Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jayvdb@gmail.com Web browser: --- Mobile Platform: ---
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.
https://bugzilla.wikimedia.org/show_bug.cgi?id=70754
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.wikimedia. | |org/show_bug.cgi?id=66063, | |https://bugzilla.wikimedia. | |org/show_bug.cgi?id=56963
https://bugzilla.wikimedia.org/show_bug.cgi?id=70754
--- Comment #1 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 159968 had a related patch set uploaded by John Vandenberg: Raise exception on unknown MediaWiki exception
https://gerrit.wikimedia.org/r/159968
https://bugzilla.wikimedia.org/show_bug.cgi?id=70754
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |PATCH_TO_REVIEW
https://bugzilla.wikimedia.org/show_bug.cgi?id=70754
--- Comment #2 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 159968 merged by jenkins-bot: Raise exception on unknown MediaWiki exception
https://gerrit.wikimedia.org/r/159968
https://bugzilla.wikimedia.org/show_bug.cgi?id=70754
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED Resolution|--- |FIXED
pywikipedia-bugs@lists.wikimedia.org