James, These latest changes do they fix the "Your MSN is logged in somewhere else..." problem?
-- Travis Bell On 23-May-06, at 5:57 PM, James Bunton wrote: > On 24/05/2006, at 7:55 AM, Norman Rasmussen wrote: > >> On 5/23/06, James Bunton <[EMAIL PROTECTED]> wrote: >>> Hopefully fixed in rev162 >>> *crosses fingers* >> >> changed to (or is this another one?): >> File "/home/norman/src/svn/PyMSNt/src/tlib/msn/msnw.py", >> line 387, in connectionLost >> if not self.ready: return >> exceptions.AttributeError: NotificationClient instance has no >> attribute 'ready' > > Different one, but that self.ready check shouldn't be there :P > That's what I get for coding late at night. I got > NotificationClient mixed with SwitchboardClient. > > Please try again with r163 :) > > --- > > James > > > _______________________________________________ > py-transports mailing list > [email protected] > http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports -------------- next part -------------- An HTML attachment was scrubbed... URL: http://modevia.com/pipermail/py-transports/attachments/20060524/141f4ddf/attachment.htm From [EMAIL PROTECTED] Wed May 24 06:41:41 2006 From: [EMAIL PROTECTED] (James Bunton) Date: Wed May 24 06:44:03 2006 Subject: [py-transports] MSN Transport question... In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> On 24/05/2006, at 4:03 PM, Travis Bell wrote: > James, > > These latest changes do they fix the "Your MSN is logged in > somewhere else..." problem? > > -- > Travis Bell Yes, they should. --- James From [EMAIL PROTECTED] Wed May 24 10:46:01 2006 From: [EMAIL PROTECTED] (Norman Rasmussen) Date: Wed May 24 10:46:06 2006 Subject: [py-transports] More pyMSN tracebacks In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> I got this morning, to find a bunch of these (rev 164, about 30 minutes after I logged off - do that make a difference?): --- <exception caught here> --- 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) File "/usr/lib/python2.3/site-packages/twisted/internet/pollreactor.py", line 172, in _doReadOrWrite self._disconnectSelectable(selectable, why, inRead) File "/usr/lib/python2.3/site-packages/twisted/internet/posixbase.py", line 256, in _disconnectSelectable selectable.connectionLost(failure.Failure(why)) File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 557, in connectionLost Connection.connectionLost(self, reason) File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 403, in connectionLost protocol.connectionLost(reason) File "/home/norman/src/svn/PyMSNt/src/tlib/msn/msnw.py", line 647, in connectionLost self.failedMessage(message) File "/home/norman/src/svn/PyMSNt/src/tlib/msn/msnw.py", line 670, in failedMessage self.msncon.failedMessage(self.remoteUser, text) exceptions.AttributeError: 'NoneType' object has no attribute 'failedMessage' and ye olde: --- <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 827, in lineReceived try: handler(params.split(' ')) File "/home/norman/src/svn/PyMSNt/src/tlib/msn/msn.py", line 2228, in handle_ANS self.loggedIn() File "/home/norman/src/svn/PyMSNt/src/tlib/msn/msnw.py", line 687, in loggedIn self._ready() File "/home/norman/src/svn/PyMSNt/src/tlib/msn/msnw.py", line 654, in _ready self.userJoined(user) File "/home/norman/src/svn/PyMSNt/src/tlib/msn/msnw.py", line 707, in userJoined d = self.sendAvatarRequest() File "/home/norman/src/svn/PyMSNt/src/tlib/msn/msnw.py", line 754, in sendAvatarRequest msnContacts = self.msncon.getContacts() exceptions.AttributeError: 'NoneType' object has no attribute 'getContacts' -- - Norman Rasmussen - Email: [EMAIL PROTECTED] - Home page: http://norman.rasmussen.co.za/ From [EMAIL PROTECTED] Wed May 24 14:36:12 2006 From: [EMAIL PROTECTED] (Travis Bell) Date: Wed May 24 14:36:22 2006 Subject: [py-transports] More pyMSN tracebacks In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> I do have about 20-30 of these since I switched over the r164. Not sure if they are a big deal or not. -- Travis Bell On 24-May-06, at 4:46 AM, Norman Rasmussen wrote: > I got this morning, to find a bunch of these (rev 164, about 30 > minutes after I logged off - do that make a difference?): > > --- <exception caught here> --- > 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) > File "/usr/lib/python2.3/site-packages/twisted/internet/ > pollreactor.py", > line 172, in _doReadOrWrite > self._disconnectSelectable(selectable, why, inRead) > File "/usr/lib/python2.3/site-packages/twisted/internet/ > posixbase.py", > line 256, in _disconnectSelectable > selectable.connectionLost(failure.Failure(why)) > File "/usr/lib/python2.3/site-packages/twisted/internet/ > tcp.py", > line 557, in connectionLost > Connection.connectionLost(self, reason) > File "/usr/lib/python2.3/site-packages/twisted/internet/ > tcp.py", > line 403, in connectionLost > protocol.connectionLost(reason) > File "/home/norman/src/svn/PyMSNt/src/tlib/msn/msnw.py", > line 647, in connectionLost > self.failedMessage(message) > File "/home/norman/src/svn/PyMSNt/src/tlib/msn/msnw.py", > line 670, in failedMessage > self.msncon.failedMessage(self.remoteUser, text) > exceptions.AttributeError: 'NoneType' object has no attribute > 'failedMessage' > > and ye olde: > > --- <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 > 827, in lineReceived > try: handler(params.split(' ')) > File "/home/norman/src/svn/PyMSNt/src/tlib/msn/msn.py", line > 2228, in handle_ANS > self.loggedIn() > File "/home/norman/src/svn/PyMSNt/src/tlib/msn/msnw.py", > line 687, in loggedIn > self._ready() > File "/home/norman/src/svn/PyMSNt/src/tlib/msn/msnw.py", > line 654, in _ready > self.userJoined(user) > File "/home/norman/src/svn/PyMSNt/src/tlib/msn/msnw.py", > line 707, in userJoined > d = self.sendAvatarRequest() > File "/home/norman/src/svn/PyMSNt/src/tlib/msn/msnw.py", > line 754, in sendAvatarRequest > msnContacts = self.msncon.getContacts() > exceptions.AttributeError: 'NoneType' object has no attribute > 'getContacts' > > > -- > - 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://modevia.com/pipermail/py-transports/attachments/20060524/f9c24a18/attachment.html From [EMAIL PROTECTED] Wed May 24 17:58:52 2006 From: [EMAIL PROTECTED] (Alexey Nezhdanov) Date: Wed May 24 17:58:59 2006 Subject: [py-transports] TNs in pyMSN-t In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> On Thursday 11 May 2006 14:11, Alexey Nezhdanov wrote: > Hello. > I noticed this small bug in pyMSN-t: > TN works for first message only if user of Native MSN client continuously > sends several messages to jabber user. > I think that it is happens because of that in MSN "TN on" state are > terminated only with "TN off" packet whereas in jabber it is reset also by > usual message. > So the scheme is: > 1. User starts typing in native MSN client. both MSN and jabber switches to > "TN on" state > 2. User sends message and continues with typing second message. MSN stays > in "TN on" state whereas jabber already reset to "TN off" since message > received. > 3. Case (2) repeated several times > 4. User stops typing, some time passes, MSN client sends "TN off" packet. > MSN is reset to "TN off" state, jabber client ignores. > 5. go to 1 > > If the problem really this - then it should be fixed by sending additional > "TN on" packet right after message packet if TN was "on" before this > message. James, since you online these days - can you comment on it please? If you have no time to fix it yourself - please leave a hint on where I should start from to fix it myself (I have no knowledge of twisted unfortunately, but enough python skills). -- Respectfully Alexey Nezhdanov From [EMAIL PROTECTED] Wed May 24 18:15:34 2006 From: [EMAIL PROTECTED] (Fawzib Rojas) Date: Wed May 24 18:16:01 2006 Subject: [py-transports] Re: PyYIMt and Debian Testing In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> Norman Rasmussen wrote: > > Ask Fawzib if he'll build some for you. You can find his email > address in the package details. > I packaged the Yahoo transport for Debian, the name is jabber-pyyim. Tested it and it seemed to work ok, btw, did you know you can add yourself as a contact in the transport, and even talk to yourself, I do that all the time but never with Jabber. :)
