Hi all

this solved my problem as well. I didnt think that this was the
problem since according to this bugreport the server should respond
with "WrongToken" and not with "NeedToken" if the cookies and/or
lgtoken were not submitted. see here

   * If the session cookie was not submitted correctly, or if the server-side
session expired, the server may respond with {"login": {"result":
"WrongToken"}}. You can report this as an error to the user, or retry after a
few seconds.

I wonder why that is? Maybe "may respond with" means that it can
respond with anything it likes?


Anyways, thanks for looking into this problem. I want also say that
all you guys do a great job in keeping all the bots running and as
Morten said, the interface is very nice and makes working with the bot
very easy.

Thanks,

Hannes


On 10 April 2010 17:32, Morten Wang <[email protected]> wrote:
> Updated my copy and r8071 works for me. Thanks for the fix.
>
> And while I'm at it, big thanks to you and everyone else who've
> contributed to Pywikipedia! So far I'm only using it for some simple
> small things, but all along the library has provided everything I've
> needed and been quite easy to figure out how to work with. Great
> experience!
>
>
> Cheers,
> Morten
>
> On Fri, Apr 9, 2010 at 11:59 AM,  <[email protected]> wrote:
>> Right, the cookie was missing! I tried to fix it in r8071. It worked for me 
>> but sorry for this hack.
>> I have not remaining time yet to make it cleaner.
>
> _______________________________________________
> Pywikipedia-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>

_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to