Max,
 
Bot is executing several tasks in different wikis. Every tasks is executed in distinct JVW, so incorrect behaviour of single task won't broke other tasks. All tasks are listed in one .bat (.sh) file.
 
Single task execution time is differs from 30 seconds to 5-7 minutes.
 
Sergey.
On Thu, Aug 14, 2008 at 1:04 PM, Max Semenik <maxsem.wiki@gmail.com> wrote:
On 14.08.2008, 12:12 Sergey wrote:

> Hi,
>
>  
>
> I'm using api.php for a long time (with bot account), but for last
> 2-3 weeks instead of usual login response my bot has the following message:
>
> <?xml version="1.0" encoding="utf-8"?><api><error
> code="internal_api_error_MWException" info="Exception Caught:
> Internal error in ApiLogin::execute: Unhandled case value">

Login API doesn't handle throttling. I posted a patch to
https://bugzilla.wikimedia.org/show_bug.cgi?id=15162

Though it's not clear why your bot hits throttling so often.
Does it have to log in every 5 minutes?


--
Best regards,
 Max Semenik ([[User:MaxSem]])


_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api



--
Sergey Vladimirov