On 5/23/06, James Bunton <[EMAIL PROTECTED]> wrote:
> Could you please try current (158). I hope the regression has been
> fixed.
damn, rev 158 still giving:
--- <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
825, in lineReceived
try: handler(params.split(' '))
File "/home/norman/src/svn/PyMSNt/src/tlib/msn/msn.py", line
2226, in handle_ANS
self.loggedIn()
File "/home/norman/src/svn/PyMSNt/src/tlib/msn/msnw.py",
line 689, in loggedIn
self._ready()
File "/home/norman/src/svn/PyMSNt/src/tlib/msn/msnw.py",
line 657, in _ready
self.userJoined(user)
File "/home/norman/src/svn/PyMSNt/src/tlib/msn/msnw.py",
line 709, in userJoined
d = self.sendAvatarRequest()
File "/home/norman/src/svn/PyMSNt/src/tlib/msn/msnw.py",
line 756, in sendAvatarRequest
msnContacts = self.msncon.getContacts()
exceptions.AttributeError: 'NoneType' object has no attribute
'getContacts'
This seems to be a nasty one that's been fixed a few times.
--
- Norman Rasmussen
- Email: [EMAIL PROTECTED]
- Home page: http://norman.rasmussen.co.za/
From [EMAIL PROTECTED] Tue May 23 11:57:18 2006
From: [EMAIL PROTECTED] (Norman Rasmussen)
Date: Tue May 23 11:57:22 2006
Subject: [py-transports] pyMSNt: traceback and possible patch
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
what about this attached patch from Pedtro?
--
- Norman Rasmussen
- Email: [EMAIL PROTECTED]
- Home page: http://norman.rasmussen.co.za/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: msnw-20060517.patch
Type: application/octet-stream
Size: 504 bytes
Desc: not available
Url :
http://modevia.com/pipermail/py-transports/attachments/20060523/c91571d0/msnw-20060517-0001.obj
From [EMAIL PROTECTED] Tue May 23 12:59:51 2006
From: [EMAIL PROTECTED] (James Bunton)
Date: Tue May 23 13:00:19 2006
Subject: [py-transports] MSN Transport question...
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
On 23/05/2006, at 9:56 PM, Norman Rasmussen wrote:
> On 5/23/06, James Bunton <[EMAIL PROTECTED]> wrote:
>> Could you please try current (158). I hope the regression has been
>> fixed.
>
> damn, rev 158 still giving:
<snip>
> File "/home/norman/src/svn/PyMSNt/src/tlib/msn/msnw.py",
> line 756, in sendAvatarRequest
> msnContacts = self.msncon.getContacts()
> exceptions.AttributeError: 'NoneType' object has no attribute
> 'getContacts'
>
> This seems to be a nasty one that's been fixed a few times.
Yes. Thing is, there's a check for self.ready immediately before
that. If self.ready is True, then msncon is supposed to be there. So
I'd rather fix it by making sure self.ready is always set correctly.
---
James