I've fixed the second one
For the first I'd need to know what command it was in response to. If
you could search the log for ">> 208 xxx", where xxx are digits.
Then search for "<< ... xxx", where ... are letters, and xxx are the
digits you found before, that will let me find what is causing this
error.
Thanks.
---
James
On 19/06/2006, at 6:54 PM, Stian B. Barmen wrote:
> Yes I get this too:
>
> [2006-06-19 01:21:13] Traceback (most recent call last):
> Failure: <type 'int'>: 208
>
> [2006-06-19 03:16:52] Traceback (most recent call last):
> File "/usr/lib/python2.4/site-packages/twisted/python/
> log.py",
> line 53, in callWithLogger
> return callWithContext({"system": lp}, func, *args, **kw)
> File "/usr/lib/python2.4/site-packages/twisted/python/
> log.py",
> line 38, in callWithContext
> return context.call({ILogContext: newCtx}, func, *args,
> **kw)
> File "/usr/lib/python2.4/site-packages/twisted/python/
> context.py",
> line 59, in callWithContext
> return self.currentContext().callWithContext(ctx, func,
> *args,
> **kw)
> File "/usr/lib/python2.4/site-packages/twisted/python/
> context.py",
> line 37, 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 349, in doRead
> return self.protocol.dataReceived(data)
> File
> "/usr/lib/python2.4/site-packages/twisted/protocols/basic.py", line
> 232, in
> dataReceived
> why = self.lineReceived(line)
> File "/usr/local/pymsnt/src/tlib/msn/msn.py", line 827, in
> lineReceived
> try: handler(params.split(' '))
> File "/usr/local/pymsnt/src/tlib/msn/msn.py", line 1183, in
> handle_NLN
> self.handleAvatarHelper(msnContact, params[4])
> File "/usr/local/pymsnt/src/tlib/msn/msn.py", line 1159, in
> handleAvatarHelper
> msnobj = MSNObject(unquote(msnobjStr))
> File "/usr/local/pymsnt/src/tlib/msn/msn.py", line 491, in
> __init__
> self.parse(s)
> File "/usr/local/pymsnt/src/tlib/msn/msn.py", line 536,
> in parse
> self.creator = e.getAttribute("Creator")
> exceptions.AttributeError: 'NoneType' object has no attribute
> 'getAttribute'
>
> -stian
>
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of
>> Norman Rasmussen
>> Sent: Monday, June 19, 2006 10:31 AM
>> To: PyAIM-t/PyICQ-t/PyMSN-t Discussion
>> Subject: Re: [py-transports] PyMSNt errors
>>
>> rev 175:
>>
>> --- <exception caught here> ---
>> File
>> "/usr/lib/python2.3/site-packages/twisted/internet/pollreactor.py",
>> line 160, 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
>> "/home/norman/src/svn/PyMSNt/src/tlib/msn/msn.py", line 806,
>> in lineReceived
>> if self.currentMessage.readPos ==
>> self.currentMessage.length: self.rawDataReceived("") # :(
>> File
>> "/home/norman/src/svn/PyMSNt/src/tlib/msn/msn.py", line 850,
>> in rawDataReceived
>> if not self.checkMessage(m):
>> File
>> "/home/norman/src/svn/PyMSNt/src/tlib/msn/msn.py", line 2183,
>> in checkMessage
>> if self._checkTyping(message, cTypes): return 0
>> File
>> "/home/norman/src/svn/PyMSNt/src/tlib/msn/msn.py", line 2106,
>> in _checkTyping
>> self.gotContactTyping(message)
>> File "/home/norman/src/svn/PyMSNt/src/tlib/msn/msnw.py",
>> line 756, in gotContactTyping
>> self.msncon.gotContactTyping(message.userHandle)
>> File
>> "/home/norman/src/svn/PyMSNt/src/legacy/glue.py", line 441,
>> in gotContactTyping
>> self.session.sendTypingNotification(self.jabberID,
>> msn2jid(contact, True), True)
>> exceptions.AttributeError: 'NoneType' object has no
>> attribute 'sendTypingNotification'
>>
>> --
>> - Norman Rasmussen
>> - Email: [EMAIL PROTECTED]
>> - Home page: http://norman.rasmussen.co.za/
>> _______________________________________________
>> py-transports mailing list
>> [email protected]
>> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>>
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports