Hi,
I am trying to get the list of all users. Mostly I get the following error:
{
"servedby": "mw1196", "error": { "code": "internal_api_error_MWException", "info": "Exception Caught: Internal error in ApiQueryAllUsers::execute: Saw more duplicate rows than expected", "*": "" }
}
So I reduce the number of users the API is getting at each call to 1, and even then I get the error. For example, see: [1] https://www.mediawiki.org/wiki/API_talk:Main_page#cite_note-1
How do I deal with this error now? Any other way to get the list of all users?
1. https://en.wikipedia.org/w/api.php?action=query&list=allusers&format... https://en.wikipedia.org/w/api.php?action=query&list=allusers&format=jsonfm&aufrom=%21%21%21%20Professional%20Analism%20Account%21%20ATTAAAAAAAACK%21%21%21%21&aulimit=1&auwitheditsonly=%22%22&auexcludegroup=bot
Thanks
Srijan
I've filed bug 72560 to track this issue.[1]
[1]: https://bugzilla.wikimedia.org/show_bug.cgi?id=72560
On Sun, Oct 26, 2014 at 4:47 PM, Srijan Kumar srijan@cs.umd.edu wrote:
Hi,
I am trying to get the list of all users. Mostly I get the following error:
{
"servedby": "mw1196", "error": { "code": "internal_api_error_MWException", "info": "Exception Caught: Internal error in ApiQueryAllUsers::execute: Saw more duplicate rows than expected", "*": "" }
}
So I reduce the number of users the API is getting at each call to 1, and even then I get the error. For example, see: [1] https://www.mediawiki.org/wiki/API_talk:Main_page#cite_note-1
How do I deal with this error now? Any other way to get the list of all users?
https://en.wikipedia.org/w/api.php?action=query&list=allusers&format... https://en.wikipedia.org/w/api.php?action=query&list=allusers&format=jsonfm&aufrom=%21%21%21%20Professional%20Analism%20Account%21%20ATTAAAAAAAACK%21%21%21%21&aulimit=1&auwitheditsonly=%22%22&auexcludegroup=bot
Thanks
Srijan
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
mediawiki-api@lists.wikimedia.org