Same here.
It seems to be MSN is sending other thing than a msnobj in fourth
parameter in NLN and fifth parameter in ILN, it started on august 1st al
2:00 am GMT.
08/02/06 - 17:07:00 - Traceback (most recent call last):
08/02/06 - 17:07:00 - File
"/usr/lib/python2.4/site-packages/twisted/python/log.py", line 56, in
callWithLogger
08/02/06 - 17:07:00 - return callWithContext({"system": lp}, func,
*args, **kw)
08/02/06 - 17:07:00 - File
"/usr/lib/python2.4/site-packages/twisted/python/log.py", line 41, in
callWithContext
08/02/06 - 17:07:00 - return context.call({ILogContext: newCtx},
func, *args, **kw)
08/02/06 - 17:07:00 - File
"/usr/lib/python2.4/site-packages/twisted/python/context.py", line 52,
in callWithContext
08/02/06 - 17:07:00 - return
self.currentContext().callWithContext(ctx, func, *args, **kw)
08/02/06 - 17:07:00 - File
"/usr/lib/python2.4/site-packages/twisted/python/context.py", line 31,
in callWithContext
08/02/06 - 17:07:00 - return func(*args,**kw)
08/02/06 - 17:07:00 - --- <exception caught here> ---
08/02/06 - 17:07:00 - File
"/usr/lib/python2.4/site-packages/twisted/internet/epollreactor.py",
line 210, in _doReadOr
Write
08/02/06 - 17:07:00 - why = selectable.doRead()
08/02/06 - 17:07:00 - File
"/usr/lib/python2.4/site-packages/twisted/internet/tcp.py", line 351, in
doRead
08/02/06 - 17:07:00 - return self.protocol.dataReceived(data)
08/02/06 - 17:07:00 - File
"/usr/lib/python2.4/site-packages/twisted/protocols/basic.py", line 221,
in dataReceived
08/02/06 - 17:07:00 - why = self.lineReceived(line)
08/02/06 - 17:07:00 - File "/opt/pymsntg/src/tlib/msn.py", line 675,
in lineReceived
08/02/06 - 17:07:00 - try: handler(params.split(' '))
08/02/06 - 17:07:00 - File "/opt/pymsntg/src/tlib/msn.py", line 1006,
in handle_NLN
08/02/06 - 17:07:00 - if len(params) > 4:
self.handleAvatarHelper(msnContact, params[4])
08/02/06 - 17:07:00 - File "/opt/pymsntg/src/tlib/msn.py", line 983,
in handleAvatarHelper
08/02/06 - 17:07:00 - msnobj.parse(s)
08/02/06 - 17:07:00 - File "/opt/pymsntc/src/tlib/msnp2p.py", line 61,
in parse
08/02/06 - 17:07:00 - e = utils.parseText(s)
08/02/06 - 17:07:00 - File "/opt/pymsntc/src/utils.py", line 102, in
parseText
08/02/06 - 17:07:00 - t.parseString(text)
08/02/06 - 17:07:00 - File "/opt/pymsntc/src/utils.py", line 178, in
parseString
08/02/06 - 17:07:00 - es.parse(data)
08/02/06 - 17:07:00 - File
"/usr/lib/python2.4/site-packages/twisted/web/sux.py", line 168, in
dataReceived
08/02/06 - 17:07:00 - newState = doFn(byte)
08/02/06 - 17:07:00 - File
"/usr/lib/python2.4/site-packages/twisted/web/sux.py", line 189, in
do_begin
08/02/06 - 17:07:00 - self._parseError("First char of document [%r]
wasn't <" % (byte,))
08/02/06 - 17:07:00 - File
"/usr/lib/python2.4/site-packages/twisted/web/sux.py", line 90, in
_parseError
08/02/06 - 17:07:00 - raise
ParseError(*((self.filename,)+self.saveMark()+(message,)))
08/02/06 - 17:07:00 - twisted.web.sux.ParseError: <xml />:1:1: First
char of document ['0'] wasn't <
Carlos Guzman
> -----Mensaje original-----
> De: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] En nombre de
> Gonzalo Barrio
> Enviado el: Jueves, 03 de Agosto de 2006 01:03 p.m.
> Para: PyTransports Discussion
> Asunto: Re: [py-transports] PyMSNt losing connections
>
>
> I have the same output and the same disconnections.
> Here is the traceback.
> I have make an svn update today but still with this problems.
>
> [2006-08-03 13:58:36] Traceback (most recent call last):
> File
> "/usr/lib/python2.3/site-packages/twisted/python/log.py",
> line 53, in callWithLogger
> return callWithContext({"system": lp}, func, *args, **kw)
> File
> "/usr/lib/python2.3/site-packages/twisted/python/log.py",
> line 38, in callWithContext
> return context.call({ILogContext: newCtx}, func,
> *args, **kw)
> File
> "/usr/lib/python2.3/site-packages/twisted/python/context.py",
> line 59,
> in callWithContext
> return self.currentContext().callWithContext(ctx, func,
> *args, **kw)
> File
> "/usr/lib/python2.3/site-packages/twisted/python/context.py",
> line 37,
> in callWithContext
> return func(*args,**kw)
> --- <exception caught here> ---
> File
> "/usr/lib/python2.3/site-packages/twisted/internet/epollreactor.py",
> line 199, in _doReadOrWrite
> why = selectable.doRead()
> File
> "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py",
> line 349, in
> doRead
> return self.protocol.dataReceived(data)
> File
> "/usr/lib/python2.3/site-packages/twisted/protocols/basic.py",
> line 232,
> in dataReceived
> why = self.lineReceived(line)
> File
> "/opt/jabber/usr/src/PyTransports/PyMSNt/src/tlib/msn/msn.py",
> line 826,
> in lineReceived
> try: handler(params.split(' '))
> File
> "/opt/jabber/usr/src/PyTransports/PyMSNt/src/tlib/msn/msn.py", line
> 1182, in handle_NLN
> self.handleAvatarHelper(msnContact, params[4])
> File
> "/opt/jabber/usr/src/PyTransports/PyMSNt/src/tlib/msn/msn.py", line
> 1158, in handleAvatarHelper
> msnobj = MSNObject(unquote(msnobjStr))
> File
> "/opt/jabber/usr/src/PyTransports/PyMSNt/src/tlib/msn/msn.py",
> line 492,
> in __init__
> self.parse(s)
> File
> "/opt/jabber/usr/src/PyTransports/PyMSNt/src/tlib/msn/msn.py",
> line 535,
> in parse
> self.creator = e.getAttribute("Creator")
> exceptions.AttributeError: 'NoneType' object has no attribute
> 'getAttribute'
>
>
>
>
>
> Renato Botelho wrote:
> > I'm using ejabberd-1.1.1 + PyMSNt-0.11.1 on a FreeBSD 6.x box. Last
> > days some users reported me they are losing MSN connection
> many times
> > per day. Here is a traceback
> >
> > [2006-08-03 08:28:00] Traceback (most recent call last):
> > File
> >
> "/usr/local/lib/python2.4/site-packages/twisted/internet/pollr
> eactor.py",
> > line 145, in doPoll
> > log.callWithLogger(selectable, _drdw, selectable, fd,
> > event, POLLIN, POLLOUT, log)
> > File
> > "/usr/local/lib/python2.4/site-packages/twisted/python/log.py",
> > line 65, in callWithLogger
> > callWithContext({"system": lp}, func, *args, **kw)
> > File
> > "/usr/local/lib/python2.4/site-packages/twisted/python/log.py",
> > line 52, in callWithContext
> > return context.call({ILogContext: newCtx}, func,
> *args, **kw)
> > File
> > "/usr/local/lib/python2.4/site-packages/twisted/python/context.py",
> > line 43, in callWithContext
> > return func(*args,**kw)
> > --- <exception caught here> ---
> > File
> >
> "/usr/local/lib/python2.4/site-packages/twisted/internet/pollr
> eactor.py",
> > line 160, in _doReadOrWrite
> > why = selectable.doRead()
> > File
> > "/usr/local/lib/python2.4/site-packages/twisted/internet/tcp.py",
> > line 255, in doRead
> > return self.protocol.dataReceived(data)
> > File
> > "/usr/local/lib/python2.4/site-packages/twisted/protocols/basic.py",
> > line 223, in dataReceived
> > why = self.lineReceived(line)
> > File
> "/usr/local/lib/jabber/pymsn/src/tlib/msn/msn.py", line
> > 826, in lineReceived
> > try: handler(params.split(' '))
> > File
> "/usr/local/lib/jabber/pymsn/src/tlib/msn/msn.py", line
> > 1182, in handle_NLN
> > self.handleAvatarHelper(msnContact, params[4])
> > File
> "/usr/local/lib/jabber/pymsn/src/tlib/msn/msn.py", line
> > 1158, in handleAvatarHelper
> > msnobj = MSNObject(unquote(msnobjStr))
> > File
> "/usr/local/lib/jabber/pymsn/src/tlib/msn/msn.py", line
> > 492, in __init__
> > self.parse(s)
> > File
> "/usr/local/lib/jabber/pymsn/src/tlib/msn/msn.py", line
> > 535, in parse
> > self.creator = e.getAttribute("Creator")
> > exceptions.AttributeError: 'NoneType' object has no attribute
> > 'getAttribute'
> >
> > Any idea how to fix it?
> >
> > Thanks in advance
>
>
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://www.modevia.com/cgi-> bin/mailman/listinfo/py-transports
>