Last modified: 2014-09-14 14:19:16 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 T72754, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70754 - MW Exception causes infinite loop
MW Exception causes infinite loop
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
network (Other open bugs)
core-(2.0)
All All
: Unprioritized blocker
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-12 04:28 UTC by John Mark Vandenberg
Modified: 2014-09-14 14:19 UTC (History)
0 users

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


Attachments

Description John Mark Vandenberg 2014-09-12 04:28:19 UTC
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.
Comment 1 Gerrit Notification Bot 2014-09-12 04:47:05 UTC
Change 159968 had a related patch set uploaded by John Vandenberg:
Raise exception on unknown MediaWiki exception

https://gerrit.wikimedia.org/r/159968
Comment 2 Gerrit Notification Bot 2014-09-13 23:31:41 UTC
Change 159968 merged by jenkins-bot:
Raise exception on unknown MediaWiki exception

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

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


Navigation
Links