<div dir="ltr">My bad, sorry for not reading the last email. :)<br><br>Alvin Delagon<br><br><div class="gmail_quote">On Sat, Aug 23, 2008 at 7:48 PM, Alvin Delagon <span dir="ltr"><<a href="mailto:adelagon@gmail.com">adelagon@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Guys,<br><br>MSNP8 has been deprecated at some point in time last July. And the MSN dispatch server's response to a CVR has been changed causing this loseConnection in the handle_VER to be called:<br>
<br>
def handle_VER(self, params):<br> versions = params[1:]<br> if versions is None or ' '.join(versions) != MSNP_VER:<br> self.transport.loseConnection() <br> self.sendCommand('CVR %s %s %s' % (self.nextTID(), MSN_CVR_STR, self.factory.userHandle))<br>
<br>twisted.words.msn has been written to close the session if the versions doesn't match. This can be easily fixed correcting MSNP_VER variable somewhere in the twisted code (remove MSNP8 the current twisted 8.1 still works with MSNP9). <br>
<br>I could submit a patch on wednesday after I go back from vacation. :)<br><br>Cheers,<br>Alvin Delagon<div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Sat, Aug 23, 2008 at 4:28 AM, Joaquin Keller <span dir="ltr"><<a href="mailto:joaquin.keller@gmail.com" target="_blank">joaquin.keller@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">done.<br>
maybe is worth moving it to a higher priority since now the whole msn<br>
code is useless while the fix seems not too hard.<br>
-- Joaquin<br>
<br>
most people ignore it but imvho twisted is the best network framework.<br>
ever. impressive. thanks.<br>
<div><div></div><div><br>
<br>
On Fri, Aug 22, 2008 at 6:42 PM, Jean-Paul Calderone <<a href="mailto:exarkun@divmod.com" target="_blank">exarkun@divmod.com</a>> wrote:<br>
> On Fri, 22 Aug 2008 18:35:08 +0200, Joaquin Keller<br>
> <<a href="mailto:joaquin.keller@gmail.com" target="_blank">joaquin.keller@gmail.com</a>> wrote:<br>
>><br>
>> Hi all,<br>
>> when running msn_example.py<br>
>> I get this:<br>
>><br>
>> 2008/08/22 17:29 +0200 [-] Log opened.<br>
>> 2008/08/22 17:29 +0200 [-] Starting factory<br>
>> <twisted.internet.protocol.ClientFactory instance at 0x83d552c><br>
>> 2008/08/22 17:29 +0200 [Dispatch,client] Error in line: VER 1 MSNP8<br>
>> (Invalid version response)<br>
>> 2008/08/22 17:29 +0200 [Dispatch,client] Stopping factory<br>
>> <twisted.internet.protocol.ClientFactory instance at 0x83d552c><br>
>><br>
>> 1 or 2 months ago, it was working perfectly fine.<br>
>><br>
>> I suspect that something has changed on <a href="http://messenger.hotmail.com" target="_blank">messenger.hotmail.com</a> side<br>
>><br>
>> bonus: this two-week old bug (closed now) seems to be related and<br>
>> claims to have a solution:<br>
>> <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493908" target="_blank">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493908</a><br>
>><br>
>> [...] their response to the CVR command has changed [...]<br>
>><br>
><br>
> Can you file a ticket in our issue tracker for this?<br>
><br>
> Jean-Paul<br>
><br>
> _______________________________________________<br>
> Twisted-Python mailing list<br>
> <a href="mailto:Twisted-Python@twistedmatrix.com" target="_blank">Twisted-Python@twistedmatrix.com</a><br>
> <a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
><br>
<br>
_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com" target="_blank">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div>-- <br><a href="http://www.alvinatorsplayground.blogspot.com/" target="_blank">http://www.alvinatorsplayground.blogspot.com/</a><br>
</div>
</blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.alvinatorsplayground.blogspot.com/">http://www.alvinatorsplayground.blogspot.com/</a><br>
</div>