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(a)lists.wikimedia.org
Reporter: jayvdb(a)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.
--
You are receiving this mail because:
You are the assignee for the bug.