Hello py-transports,
I had been getting problems with my old 10.3 pymsnt transport, so I
went and upgraded to 11.1. Basically I was getting logged on and off
quite a bit. Fiddled with the config.xml file, etc, and got 11.1
running. I'm still running into issues, though. I can send a message
or two from jabber to msn, then I get these tracebacks:
[EMAIL PROTECTED]:/opt/transports/pymsnt> ./PyMSNt.py
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/twisted/python/log.py", line 56, in
callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/usr/lib/python2.4/site-packages/twisted/python/log.py", line 41, in
callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/usr/lib/python2.4/site-packages/twisted/python/context.py", line 52,
in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib/python2.4/site-packages/twisted/python/context.py", line 31,
in callWithContext
return func(*args,**kw)
--- <exception caught here> ---
File "/usr/lib/python2.4/site-packages/twisted/internet/pollreactor.py", line
160, in _doReadOrWrite
why = selectable.doRead()
File "/usr/lib/python2.4/site-packages/twisted/internet/tcp.py", line 351, in
doRead
return self.protocol.dataReceived(data)
File "/usr/lib/python2.4/site-packages/twisted/protocols/basic.py", line 221,
in dataReceived
why = self.lineReceived(line)
File "/opt/transports/pymsnt/src/tlib/msn/msn.py", line 826, in lineReceived
try: handler(params.split(' '))
File "/opt/transports/pymsnt/src/tlib/msn/msn.py", line 1182, in handle_NLN
self.handleAvatarHelper(msnContact, params[4])
File "/opt/transports/pymsnt/src/tlib/msn/msn.py", line 1158, in
handleAvatarHelper
msnobj = MSNObject(unquote(msnobjStr))
File "/opt/transports/pymsnt/src/tlib/msn/msn.py", line 492, in __init__
self.parse(s)
File "/opt/transports/pymsnt/src/tlib/msn/msn.py", line 535, in parse
self.creator = e.getAttribute("Creator")
exceptions.AttributeError: 'NoneType' object has no attribute 'getAttribute'
Any idea what I can do? Looks like I'm on twisted 2.0.1:
[EMAIL PROTECTED]:/usr/lib/python2.4/site-packages/twisted> grep version *
copyright.py:version="2.0.1"
--
Best regards,
Andrew mailto:[EMAIL PROTECTED]