Well that's an interestingly "impossible" condition :)
After the transport has detected that all your resources have gone
offline it's receiving another presence for that session. Did you get
any other exceptions before that? It must have failed somewhere in
session.removeMe() for that situation to occur.
---
James
On 24/05/2005, at 2:13 AM, Norman Rasmussen wrote:
> here's another - i think it happened as i logged off MSN.
>
> this is ONE of the tracebacks, there about about 10 or 20 within a 5
> second period. I'm guessing this is related to the multiple presence
> lines because they're also about 10 or 20. Maybe it broke this time
> around because I was offline by the time the transport wanted to send
> them to me.
>
> 05/23/05 - 17:55:43 - Traceback (most recent call last):
> 05/23/05 - 17:55:43 - File
> "/usr/lib/python2.3/site-packages/twisted/xish/utility.py", line 34,
> in __call__
> 05/23/05 - 17:55:43 - self.method(*nargs, **nkwargs)
> 05/23/05 - 17:55:43 - File
> "/usr/src/cvs/msn-transport/PyMSNt/src/disco.py", line 69, in onIq
> 05/23/05 - 17:55:43 - self.deferredIqs[(fro, ID)].callback(el)
> 05/23/05 - 17:55:43 - File
> "/usr/lib/python2.3/site-packages/twisted/internet/defer.py", line
> 252, in callback
> 05/23/05 - 17:55:43 - self._startRunCallbacks(result)
> 05/23/05 - 17:55:43 - File
> "/usr/lib/python2.3/site-packages/twisted/internet/defer.py", line
> 313, in _startRunCallbacks
> 05/23/05 - 17:55:43 - self._runCallbacks()
> 05/23/05 - 17:55:43 - --- <exception caught here> ---
> 05/23/05 - 17:55:43 - File
> "/usr/lib/python2.3/site-packages/twisted/internet/defer.py", line
> 338, in _runCallbacks
> 05/23/05 - 17:55:43 - self.result = callback(self.result, *args,
> **kw)
> 05/23/05 - 17:55:43 - File
> "/usr/src/cvs/msn-transport/PyMSNt/src/session.py", line 120, in
> vCardReceived
> 05/23/05 - 17:55:43 - self.updateNickname(e.__str__())
> 05/23/05 - 17:55:43 - File
> "/usr/src/cvs/msn-transport/PyMSNt/src/session.py", line 132, in
> updateNickname
> 05/23/05 - 17:55:43 - self.setStatus(self.show, self.status)
> 05/23/05 - 17:55:43 - File
> "/usr/src/cvs/msn-transport/PyMSNt/src/session.py", line 141, in
> setStatus
> 05/23/05 - 17:55:43 - self.legacycon.setStatus(self.nickname,
> show, status)
> 05/23/05 - 17:55:43 - exceptions.AttributeError: 'NoneType' object has
> no attribute 'setStatus'
>
> On 23/05/05, Norman Rasmussen <[EMAIL PROTECTED]> wrote:
>> pfft, i said it was hiding :-) I'm not sure what triggered it, but
>> I'll watch out for it.
>>
>> On 23/05/05, James Bunton <[EMAIL PROTECTED]> wrote:
>>> I can't reproduce that one either :P
>>>
>>> How did you get it to happen?
>>>
>>> ---
>>>
>>> James
>>>
>>>
>>> On 23/05/2005, at 12:38 AM, Norman Rasmussen wrote:
>>>
>>>> weeeeeeeeee, now i find this hiding:
>>>>
>>>> 05/22/05 - 16:34:44 - NotificationClient: "[EMAIL PROTECTED]"
>>>> contactStatusChanged("NLN", "[EMAIL PROTECTED]")
>>>> 05/22/05 - 16:34:44 - LegacyConnection: "[EMAIL PROTECTED]" -
>>>> contactStatusChanged("[EMAIL PROTECTED]")
>>>> 05/22/05 - 16:34:44 - Traceback (most recent call last):
>>>> 05/22/05 - 16:34:44 - File
>>>> "/usr/src/cvs/msn-transport/PyMSNt/src/tlib/msn.py", line 1089, in
>>>> handle_UUX
>>>> 05/22/05 - 16:34:44 - self._fireCallback(id)
>>>> 05/22/05 - 16:34:44 - File
>>>> "/usr/src/cvs/msn-transport/PyMSNt/src/tlib/msn.py", line 601, in
>>>> _fireCallback
>>>> 05/22/05 - 16:34:44 - self.ids[id][0].callback(args)
>>>> 05/22/05 - 16:34:44 - File
>>>> "/usr/lib/python2.3/site-packages/twisted/internet/defer.py", line
>>>> 252, in callback
>>>> 05/22/05 - 16:34:44 - self._startRunCallbacks(result)
>>>> 05/22/05 - 16:34:44 - File
>>>> "/usr/lib/python2.3/site-packages/twisted/internet/defer.py", line
>>>> 313, in _startRunCallbacks
>>>> 05/22/05 - 16:34:44 - self._runCallbacks()
>>>> 05/22/05 - 16:34:44 - --- <exception caught here> ---
>>>> 05/22/05 - 16:34:44 - File
>>>> "/usr/lib/python2.3/site-packages/twisted/internet/defer.py", line
>>>> 338, in _runCallbacks
>>>> 05/22/05 - 16:34:44 - self.result = callback(self.result, *args,
>>>> **kw)
>>>> 05/22/05 - 16:34:44 - File
>>>> "/usr/src/cvs/msn-transport/PyMSNt/src/tlib/msn.py", line 1415, in
>>>> _cb
>>>> 05/22/05 - 16:34:44 - self.factory.status = r[0]
>>>> 05/22/05 - 16:34:44 - exceptions.IndexError: tuple index out of
>>>> range
>>>>
>>>>
>>>> On 22/05/05, James Bunton <[EMAIL PROTECTED]> wrote:
>>>>> Can you run cvs update and see if I've fixed it please?
>>>>> Thanks.
>>>>>
>>>>> ---
>>>>>
>>>>> James
>>>>>
>>>>>
>>>>> On 22/05/2005, at 9:15 AM, Norman Rasmussen wrote:
>>>>>
>>>>>> I add someone, and give them auth (eg
>>>>>> [EMAIL PROTECTED]), and then I get auth from the
>>>>>> raw
>>>>>> address [EMAIL PROTECTED], instead of
>>>>>> [EMAIL PROTECTED]
>>>>>>
>>>>>> Eventually I do get the auth for the correct address though (how
>>>>>> weird)
>>>>>>
>>>>>> I also saw this error:
>>>>>>
>>>>>> 05/22/05 - 00:56:42 - Traceback (most recent call last):
>>>>>> 05/22/05 - 00:56:42 - File
>>>>>> "/usr/lib/python2.3/site-packages/twisted/internet/default.py",
>>>>>> line
>>>>>> 526, in doSelect
>>>>>> 05/22/05 - 00:56:44 - _logrun(selectable, _drdw, selectable,
>>>>>> method, dict)
>>>>>> 05/22/05 - 00:56:44 - File
>>>>>> "/usr/lib/python2.3/site-packages/twisted/python/log.py", line
>>>>>> 65, in
>>>>>> callWithLogger
>>>>>> 05/22/05 - 00:56:44 - callWithContext({"system": lp}, func,
>>>>>> *args,
>>>>>> **kw)
>>>>>> 05/22/05 - 00:56:44 - File
>>>>>> "/usr/lib/python2.3/site-packages/twisted/python/log.py", line
>>>>>> 52, in
>>>>>> callWithContext
>>>>>> 05/22/05 - 00:56:44 - return context.call({ILogContext:
>>>>>> newCtx},
>>>>>> func, *args, **kw)
>>>>>> 05/22/05 - 00:56:44 - File
>>>>>> "/usr/lib/python2.3/site-packages/twisted/python/context.py", line
>>>>>> 43,
>>>>>> in callWithContext
>>>>>> 05/22/05 - 00:56:45 - return func(*args,**kw)
>>>>>> 05/22/05 - 00:56:45 - --- <exception caught here> ---
>>>>>> 05/22/05 - 00:56:45 - File
>>>>>> "/usr/lib/python2.3/site-packages/twisted/internet/default.py",
>>>>>> line
>>>>>> 535, in _doReadOrWrite
>>>>>> 05/22/05 - 00:56:45 - why = getattr(selectable, method)()
>>>>>> 05/22/05 - 00:56:45 - File
>>>>>> "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line
>>>>>> 255,
>>>>>> in doRead
>>>>>> 05/22/05 - 00:56:45 - return self.protocol.dataReceived(data)
>>>>>> 05/22/05 - 00:56:45 - File
>>>>>> "/usr/lib/python2.3/site-packages/twisted/protocols/basic.py",
>>>>>> line
>>>>>> 223, in dataReceived
>>>>>> 05/22/05 - 00:56:45 - why = self.lineReceived(line)
>>>>>> 05/22/05 - 00:56:45 - File
>>>>>> "/usr/src/cvs/msn-transport/PyMSNt/src/tlib/msn.py", line 665, in
>>>>>> lineReceived
>>>>>> 05/22/05 - 00:56:45 - try: handler(params.split())
>>>>>> 05/22/05 - 00:56:45 - File
>>>>>> "/usr/src/cvs/msn-transport/PyMSNt/src/tlib/msn.py", line 1028, in
>>>>>> handle_ADC
>>>>>> 05/22/05 - 00:56:46 - self.userAddedMe(userGuid, userHandle,
>>>>>> screenName)
>>>>>> 05/22/05 - 00:56:46 - File
>>>>>> "/usr/src/cvs/msn-transport/PyMSNt/src/legacy/msnw.py", line 535,
>>>>>> in
>>>>>> userAddedMe
>>>>>> 05/22/05 - 00:56:46 - debug.log("NotificationClient: \"%s\"
>>>>>> userAddedMe(\"%s\", \"%s\")" % (self.factory.userHandle,
>>>>>> userHandle))
>>>>>> 05/22/05 - 00:56:46 - exceptions.TypeError: not enough arguments
>>>>>> for
>>>>>> format string
>>>>>>
>>>>>> Not 110% sure they're related but it's a guess.
>>>>>>
>>>>>> --
>>>>>> - Norman Rasmussen
>>>>>> - Email: [EMAIL PROTECTED]
>>>>>> - Home page: http://norman.rasmussen.org/
>>>>>> _______________________________________________
>>>>>> py-transports mailing list
>>>>>> [email protected]
>>>>>> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> - Norman Rasmussen
>>>> - Email: [EMAIL PROTECTED]
>>>> - Home page: http://norman.rasmussen.org/
>>>> _______________________________________________
>>>> py-transports mailing list
>>>> [email protected]
>>>> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>>>>
>>>
>>>
>>
>> --
>> - Norman Rasmussen
>> - Email: [EMAIL PROTECTED]
>> - Home page: http://norman.rasmussen.org/
>>
>
>
> --
> - Norman Rasmussen
> - Email: [EMAIL PROTECTED]
> - Home page: http://norman.rasmussen.org/
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>