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, xqt_wp@arcor.de 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.
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 nettrom@gmail.com 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, xqt_wp@arcor.de 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 Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
I've reopened this bugzilla bug for changing that behavior.
https://bugzilla.wikimedia.org/show_bug.cgi?id=23076
Regards xqt
----- Original Nachricht ---- Von: Hannes Röst hroest_nospam2333@quantentunnel.de An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 10.04.2010 19:43 Betreff: Re: [Pywikipedia-l] Eternal login loop solution
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 nettrom@gmail.com 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, xqt_wp@arcor.de 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 Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Traumziele - von Beschreibung bis Buchung jetzt kompakt auf den Reise-Seiten von Arcor.de! http://www.arcor.de/rd/footer.reise
pywikipedia-l@lists.wikimedia.org