<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">&lt;<a href="mailto:adelagon@gmail.com">adelagon@gmail.com</a>&gt;</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&#39;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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; versions = params[1:]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if versions is None or &#39; &#39;.join(versions) != MSNP_VER:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; self.transport.loseConnection() <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; self.sendCommand(&#39;CVR %s %s %s&#39; % (self.nextTID(), MSN_CVR_STR, self.factory.userHandle))<br>

<br>twisted.words.msn has been written to close the session if the versions doesn&#39;t match. This can be easily fixed correcting MSNP_VER variable somewhere in the&nbsp; 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">&lt;<a href="mailto:joaquin.keller@gmail.com" target="_blank">joaquin.keller@gmail.com</a>&gt;</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 &lt;<a href="mailto:exarkun@divmod.com" target="_blank">exarkun@divmod.com</a>&gt; wrote:<br>
&gt; On Fri, 22 Aug 2008 18:35:08 +0200, Joaquin Keller<br>
&gt; &lt;<a href="mailto:joaquin.keller@gmail.com" target="_blank">joaquin.keller@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi all,<br>
&gt;&gt; when running msn_example.py<br>
&gt;&gt; I get this:<br>
&gt;&gt;<br>
&gt;&gt; 2008/08/22 17:29 +0200 [-] Log opened.<br>
&gt;&gt; 2008/08/22 17:29 +0200 [-] Starting factory<br>
&gt;&gt; &lt;twisted.internet.protocol.ClientFactory instance at 0x83d552c&gt;<br>
&gt;&gt; 2008/08/22 17:29 +0200 [Dispatch,client] Error in line: VER 1 MSNP8<br>
&gt;&gt; (Invalid version response)<br>
&gt;&gt; 2008/08/22 17:29 +0200 [Dispatch,client] Stopping factory<br>
&gt;&gt; &lt;twisted.internet.protocol.ClientFactory instance at 0x83d552c&gt;<br>
&gt;&gt;<br>
&gt;&gt; 1 or 2 months ago, it was working perfectly fine.<br>
&gt;&gt;<br>
&gt;&gt; I suspect that something has changed on <a href="http://messenger.hotmail.com" target="_blank">messenger.hotmail.com</a> side<br>
&gt;&gt;<br>
&gt;&gt; bonus: this two-week old bug (closed now) seems to be related and<br>
&gt;&gt; claims to have a solution:<br>
&gt;&gt; <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>
&gt;&gt;<br>
&gt;&gt; &nbsp; &nbsp;[...] their response to the CVR command has changed [...]<br>
&gt;&gt;<br>
&gt;<br>
&gt; Can you file a ticket in our issue tracker for this?<br>
&gt;<br>
&gt; Jean-Paul<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Twisted-Python mailing list<br>
&gt; <a href="mailto:Twisted-Python@twistedmatrix.com" target="_blank">Twisted-Python@twistedmatrix.com</a><br>
&gt; <a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
&gt;<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>