On 02/01/2006, at 9:09 AM, Lars T. Mikkelsen wrote:

> On Sun, Jan 01, 2006 at 11:08:00PM +1100, James Bunton wrote:
>> Could people please help me test things. I'm looking for regressions 
>> in
>> particular. A lot of code has been completely rewritten. So things 
>> like
>> groupchat, clientcaps, avatars and even ordinary messaging still need 
>> a
>> bit of edge-case testing.
>
> If I'm logged in with one resource (iChat) and log in with a second
> resource (Psi) I get the following traceback:
>
> Traceback (most recent call last):
>   File "[...]/src/tlib/msn/msn.py", line 1117, in handle_CHG
>     if not self._fireCallback(id, params[1]):
>   File "[...]/src/tlib/msn/msn.py", line 752, in _fireCallback
>     self.ids[id][0].callback(args)
>   File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", 
> line 254, in callback
>     self._startRunCallbacks(result)
>   File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", 
> line 315, in _startRunCallbacks
>     self._runCallbacks()
> --- <exception caught here> ---
>   File "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", 
> line 328, in _runCallbacks
>     self.result = callback(self.result, *args, **kw)
>   File "[...]/src/tlib/msn/msnw.py", line 192, in cb
>     self.changeCount += 1
> exceptions.AttributeError: LegacyConnection instance has no attribute 
> 'changeCount'
>
> Similar tracebacks starting in handle_UUX and handle_PRP also occur. I
> think this is due to a race condition in MSNConnection.changeStatus(),
> if presence packets are received simultaneously from multiple 
> resources.
>
> Best regards,
> Lars

Thanks. Should be fixed in SVN trunk v78.

---

James

Reply via email to