Hi, I implemented JEP-0085 (Chat States) for PyMSN-t. This is the standards-track JEP for typing notifications, and is used by clients such as Google Talk, Gajim, and the next version of Psi. The way I implemented it, PyMSN-t will not send or request the old type of message events initially, but if it detects that the Jabber client only supports the legacy protocol, it will switch to that one. The patch can be found here: http://el-tramo.be/files/pymsn-t/chatstates.diff
While implementing this, i stumbled upon a bug in the composing handling. Whenever the MSN contact sends a message while he was composing, the internal 'composing' state is not reset. This means that if the contact starts composing again, MSN-t will not send a new composing event to the Jabber side until the timeout period expires (and the composing event is canceled). I fixed this here: http://el-tramo.be/files/pymsn-t/composing_fix.diff Finally, calling /usr/bin/python doesn't work on systems that don't have python in that location (such as my Mac, where python is in /sw/ bin). I think the clean way of handling this is to change the shebang in PyMSN-t into #!/usr/bin/env python which i do in this patch: http://el-tramo.be/files/pymsn-t/shebang_fix.diff cheers, Remko From [EMAIL PROTECTED] Sun Mar 12 15:45:27 2006 From: [EMAIL PROTECTED] (Nicolas Raspail) Date: Sun Mar 12 15:45:30 2006 Subject: [py-transports] [PyICQ-t] Can't login to the web interface In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> On Sun, 2006-03-12 at 09:13 -0500, Daniel Henninger wrote: > Oh, well I added port support anyway. ;D Except it has to be > specified with % instead of : ([EMAIL PROTECTED]) > Anyway, are you running in debug mode and can you see any errors or > anything in the logs? What version of Twisted are you running? > > Daniel > Well, except the extract of log I have paste in my first mail when running in debug log, I have not see anything or error Versions : Debian Sid ejabberd 1.0.0 compiled by myself python2.4-nevow 0.6.0-2 python2.4-twisted 2.2.0-1 python2.4-twisted-bin 2.2.0-1 python2.4-twisted-conch 0.6.0-5 python2.4-twisted-core 2.2.0-1 python2.4-twisted-lore 0.1.0-3 python2.4-twisted-mail 0.2.0-4 python2.4-twisted-names 0.2.0-2 python2.4-twisted-news 0.1.0-2 python2.4-twisted-runner 0.1.0-3 python2.4-twisted-web 0.5.0-4 python2.4-twisted-web2 0.1.0.20060222-1 python2.4-twisted-words 0.3.0-2 Thanks Nicolas