I just tried to invite two MSN contacts into a chat room.  Creating
the room worked fine, but when trying to invite them, nothing
happened.  Digging around in the code, in particular
JabberConnection.onMessage in jabw.py, I found that PyMSN-t only
expects legacy groupchat invitations (sent directly to the invitee),
while my client only sends JEP-0045 style invitations (by way of room,
see section 6.7).

It would be nice if PyMSN-t supported these kinds of invitations as
well.  I might do it myself if I find time, but don't count on
that...

Magnus
From [EMAIL PROTECTED]  Sat Aug 27 16:06:49 2005
From: [EMAIL PROTECTED] (Vladimir Vrzic)
Date: Sat Aug 27 16:07:00 2005
Subject: [py-transports] PyMSNt 0.9.4 released, PyMSNt 0.10-rc1
        available, epoll-0.5 released!
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

It keeps throwing this exception, but besides that it seems to work
fine.


08/27/05 - 17:55:44 - SwitchboardClient: "[EMAIL PROTECTED]"
"<legacy.msnw.SwitchboardSession instance at 0x85b49ac>" - ready for use
08/27/05 - 17:55:44 - Traceback (most recent call last):
08/27/05 - 17:55:44 -   File
"/usr/local/lib/python2.4/site-packages/twisted/internet/default.py",
line 526, in doSelect
08/27/05 - 17:55:44 -     _logrun(selectable, _drdw, selectable, method,
dict)
08/27/05 - 17:55:44 -   File
"/usr/local/lib/python2.4/site-packages/twisted/python/log.py", line 65,
in callWithLogger
08/27/05 - 17:55:44 -     callWithContext({"system": lp}, func, *args,
**kw)
08/27/05 - 17:55:44 -   File
"/usr/local/lib/python2.4/site-packages/twisted/python/log.py", line 52,
in callWithContext
08/27/05 - 17:55:44 -     return context.call({ILogContext: newCtx},
func, *args, **kw)
08/27/05 - 17:55:44 -   File
"/usr/local/lib/python2.4/site-packages/twisted/python/context.py", line
43, in callWithContext
08/27/05 - 17:55:44 -     return func(*args,**kw)
08/27/05 - 17:55:44 - --- <exception caught here> ---
08/27/05 - 17:55:44 -   File
"/usr/local/lib/python2.4/site-packages/twisted/internet/default.py",
line 535, in _doReadOrWrite
08/27/05 - 17:55:44 -     why = getattr(selectable, method)()
08/27/05 - 17:55:44 -   File
"/usr/local/lib/python2.4/site-packages/twisted/internet/tcp.py", line
255, in doRead
08/27/05 - 17:55:44 -     return self.protocol.dataReceived(data)
08/27/05 - 17:55:44 -   File
"/usr/local/lib/python2.4/site-packages/twisted/protocols/basic.py",
line 229, in dataReceived
08/27/05 - 17:55:44 -     return self.rawDataReceived(data)
08/27/05 - 17:55:44 -   File
"/opt/jabberd-1.4.3.1/PyMSNt-0.10-rc1/src/tlib/msn.py", line 696, in
rawDataReceived
08/27/05 - 17:55:44 -     self.setLineMode(extra)
08/27/05 - 17:55:44 -   File
"/usr/local/lib/python2.4/site-packages/twisted/protocols/basic.py",
line 240, in setLineMode
08/27/05 - 17:55:44 -     return self.dataReceived(extra)
08/27/05 - 17:55:44 -   File
"/usr/local/lib/python2.4/site-packages/twisted/protocols/basic.py",
line 229, in dataReceived
08/27/05 - 17:55:44 -     return self.rawDataReceived(data)
08/27/05 - 17:55:44 -   File
"/opt/jabberd-1.4.3.1/PyMSNt-0.10-rc1/src/tlib/msn.py", line 695, in
rawDataReceived
08/27/05 - 17:55:44 -     if not self.checkMessage(m):
08/27/05 - 17:55:44 -   File
"/opt/jabberd-1.4.3.1/PyMSNt-0.10-rc1/src/tlib/msn.py", line 2019, in
checkMessage
08/27/05 - 17:55:44 -     if self._checkP2PMessage(message, cTypes):
return 0
08/27/05 - 17:55:44 -   File
"/opt/jabberd-1.4.3.1/PyMSNt-0.10-rc1/src/tlib/msn.py", line 1985, in
_checkP2PMessage
08/27/05 - 17:55:44 -     packet = handler.getNextPacket()
08/27/05 - 17:55:44 -   File
"/opt/jabberd-1.4.3.1/PyMSNt-0.10-rc1/src/tlib/msnp2p.py", line 612, in
getNextPacket
08/27/05 - 17:55:44 -     print "getNextPacket (Avatar_Receive)",
self.to, self.fro, self.state
08/27/05 - 17:55:44 - exceptions.IOError: [Errno 32] Broken pipe

Reply via email to