Hi,
Something changed in the last couple of days that causes a bunch of API calls to fail when grabbing image dimensions.
This error is consistently generated from the URL below:
{"servedby":"mw72","error":{"code":"internal_api_error_MWException","info":"Exception Caught: Internal error in ApiResult::setElement: Attempting to add element imagerepository=shared, existing value is shared","*":""}}
http://en.wikipedia.org/w/api.php?titles=File:Convento_Cristo_Decemebr_2008-...
Requesting the data separately, i.e. http://en.wikipedia.org/w/api.php?titles=File:Convento_Cristo_Decemebr_2008-... and http://en.wikipedia.org/w/api.php?titles=File:Convento_Cristo_Decemebr_2008-...
give the correct result.
Other multi-queries like http://en.wikipedia.org/w/api.php?titles=File:Convento_Cristo_Decemebr_2008-...
also consistently work fine.
What's going on here?
Thanks, Eric
On Thu, Jan 10, 2013 at 8:15 PM, Eric Sun esun@cs.stanford.edu wrote:
Something changed in the last couple of days that causes a bunch of API calls to fail when grabbing image dimensions.
A change introduced in 1.21wmf7 causes this error. I've filed this as bug 43849,[1] more details are available there.
[1]: https://bugzilla.wikimedia.org/show_bug.cgi?id=43849
Requesting the data separately, i.e. http://en.wikipedia.org/w/api.php?titles=File:Convento_Cristo_Decemebr_2008-... and http://en.wikipedia.org/w/api.php?titles=File:Convento_Cristo_Decemebr_2008-...
give the correct result.
Actually it doesn't. Note that it returns some of the result under a key of "0", and some under "", where everything should be under "-1".
mediawiki-api@lists.wikimedia.org