I've started getting booted from MSN as I login (transport sends me 'blank login error message'), this seems to happen only sometimes, but I often have to send 'end' and login again for it to work. I was wondering if this might have anything to do with the new WLM offline messages. Sometimes I'll login and get presence for a few contacts, then it drops my connection and everyone goes offline again.
Here's traceback from when I tried to login again: 2006/01/25 13:37 SAST [NotificationClient,client] INFO :: [EMAIL PROTECTED] :: :: sendPresence :: Session :: {'status': '', 'show': '', 'self': 'instance', 'fro': '[EMAIL PROTECTED]', 'avatarHash': 'ea1e856e325d956e18fc4ef73ce4af6cc9384339', 'ptype': 'unavailable', 'priority': None, 'to': u'[EMAIL PROTECTED]', 'nickname': '', 'payload': [<twisted.xish.domish.Element object at 0x854f18c>]} 2006/01/25 13:37 SAST [NotificationClient,client] INFO :: [EMAIL PROTECTED] :: :: gotContactStatus :: msn.msnw.NotificationClient :: {'self': 'instance', 'screenName': 'Mark', 'userHandle': '[EMAIL PROTECTED]', 'statusCode': 'NLN'} 2006/01/25 13:37 SAST [NotificationClient,client] INFO :: [EMAIL PROTECTED] :: :: contactStatusChanged :: glue.LegacyConnection :: {'remoteUser': '[EMAIL PROTECTED]', 'self': 'instance'} 2006/01/25 13:37 SAST [NotificationClient,client] INFO :: [EMAIL PROTECTED] :: :: sendPresence :: Session :: {'status': u'', 'show': None, 'self': 'instance', 'fro': '[EMAIL PROTECTED]', 'avatarHash': 'ea1e856e325d956e18fc4ef73ce4af6cc9384339', 'ptype': None, 'priority': None, 'to': u'[EMAIL PROTECTED]', 'nickname': u'Mark', 'payload': [<twisted.xish.domish.Element object at 0x854f50c>]} 2006/01/25 13:37 SAST [NotificationClient,client] INFO :: [EMAIL PROTECTED] :: :: contactPersonalChanged :: msn.msnw.NotificationClient :: {'personal': 'Beta than Messenger 7.5', 'self': 'instance', 'userHandle': '[EMAIL PROTECTED]'} 2006/01/25 13:37 SAST [NotificationClient,client] INFO :: [EMAIL PROTECTED] :: :: contactStatusChanged :: glue.LegacyConnection :: {'remoteUser': '[EMAIL PROTECTED]', 'self': 'instance'} 2006/01/25 13:37 SAST [NotificationClient,client] INFO :: [EMAIL PROTECTED] :: :: sendPresence :: Session :: {'status': u'Beta than Messenger 7.5', 'show': None, 'self': 'instance', 'fro': '[EMAIL PROTECTED]', 'avatarHash': 'ea1e856e325d956e18fc4ef73ce4af6cc9384339', 'ptype': None, 'priority': None, 'to': u'[EMAIL PROTECTED]', 'nickname': u'Mark', 'payload': [<twisted.xish.domish.Element object at 0x8546fcc>]} 2006/01/25 13:37 SAST [NotificationClient,client] Unhandled error in Deferred: 2006/01/25 13:37 SAST [NotificationClient,client] Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/twisted/internet/base.py", line 533, in runUntilCurrent call.func(*call.args, **call.kw) File "/home/norman/src/svn/PyMSNt.trunk/src/tlib/msn/msnw.py", line 53, in timeout if not d.called: d.errback() File "/usr/lib/python2.3/site-packages/twisted/internet/defer.py", line 276, in errback self._startRunCallbacks(fail) File "/usr/lib/python2.3/site-packages/twisted/internet/defer.py", line 315, in _startRunCallbacks self._runCallbacks() --- <exception caught here> --- File "/usr/lib/python2.3/site-packages/twisted/internet/defer.py", line 328, in _runCallbacks self.result = callback(self.result, *args, **kw) File "/home/norman/src/svn/PyMSNt.trunk/src/legacy/glue.py", line 335, in connectionFailed LogEvent(INFO, self.session.jabberID) exceptions.AttributeError: 'NoneType' object has no attribute 'jabberID' -- - Norman Rasmussen - Email: [EMAIL PROTECTED] - Home page: http://norman.rasmussen.co.za/ From [EMAIL PROTECTED] Wed Jan 25 12:44:02 2006 From: [EMAIL PROTECTED] (Lars T. Mikkelsen) Date: Wed Jan 25 12:44:07 2006 Subject: [py-transports] Problems starting PyMSNt svn In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> On Wed, Jan 25, 2006 at 02:38:45PM +1100, James Bunton wrote: > Nice description. Mind if I steal that for the docs? No, of course not. :-) > Please help test this new code. You now have different log levels, > backgrounding, and a few other neat things. The only issue I found so far is the daemonizing code. Currently, I'm not able to log out from the shell where I started the transport. A simple solution to this is to use daemonize() from twisted.scripts.twistd. Best regards, Lars From [EMAIL PROTECTED] Wed Jan 25 12:50:32 2006 From: [EMAIL PROTECTED] (Jorge Merlino) Date: Wed Jan 25 12:50:55 2006 Subject: [py-transports] Possible presence bug in PyMSNt In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> El Mar 24 Ene 2006 12:36, Lars T. Mikkelsen escribi?: > I also noticed this behaviour, however, only between two Jabber users > using PyMSNt. When the transport is sending an empty personal message to > the Messenger server, it is done with an empty UBX message - the > official client, however, sends <Data><PSM></PSM>...</Data>. In itself, > this isn't an issue, however, the transport doesn't reset the personal > message when receiving such an empty UBX message. > > The attached patch fixes the issue for me (and a similar situation where > the transport receives a non-empty UBX message without an PSM element). > > Best regards, > Lars I wasn't able to apply this patch in PyMSNt 0.10.3. What version of PyMSNt did you make this patch for? Regards, Jorge From [EMAIL PROTECTED] Wed Jan 25 12:59:32 2006 From: [EMAIL PROTECTED] (Lars T. Mikkelsen) Date: Wed Jan 25 12:59:37 2006 Subject: [py-transports] Possible presence bug in PyMSNt In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> On Wed, Jan 25, 2006 at 10:50:32AM -0200, Jorge Merlino wrote: > I wasn't able to apply this patch in PyMSNt 0.10.3. What version of PyMSNt > did > you make this patch for? Sorry, the patch was for the SVN version. Please try the attached patch instead (I don't know if it will work, the code has actually been changed quite a bit since 0.10.3). Best regards, Lars -------------- next part -------------- diff -ur pymsnt-0.10.3.orig/src/tlib/msn.py pymsnt-0.10.3/src/tlib/msn.py --- pymsnt-0.10.3.orig/src/tlib/msn.py 2005-12-19 07:18:52.000000000 +0100 +++ pymsnt-0.10.3/src/tlib/msn.py 2006-01-25 13:56:12.000000000 +0100 @@ -890,6 +890,8 @@ if p1 >= 0 and p2 >= 0: personal = unescapeFromXml(message.message[p1:p2]) self.contactPersonalChanged(message.userHandle, personal) + else: + self.contactPersonalChanged(message.userHandle, '') def checkMessage(self, message): """ hook used for detecting specific notification messages """ From [EMAIL PROTECTED] Wed Jan 25 13:25:01 2006 From: [EMAIL PROTECTED] (Stian B. Barmen) Date: Wed Jan 25 13:25:08 2006 Subject: [py-transports] Problems starting PyMSNt svn In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> > The only issue I found so far is the daemonizing code. Currently, I'm > not able to log out from the shell where I started the transport. A > simple solution to this is to use daemonize() from > twisted.scripts.twistd. > > I did not have this problem. I just ran it from command line and it deamonized no problem. -stian From [EMAIL PROTECTED] Wed Jan 25 15:02:01 2006 From: [EMAIL PROTECTED] (Chad Jannusch) Date: Wed Jan 25 15:02:09 2006 Subject: [py-transports] Windows Live Messenger In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> On 1/25/06, Norman Rasmussen <[EMAIL PROTECTED]> wrote: > > I just got an invite for Windows Live Messenger, and was wondering how > this would affect PyMSNt. > > I assume that PyMSNt uses an old protocol, so it'll just look like I'm > using an old client, right? > > Are there plans to support the new offline messenging of WLM in the > future? Should I be looking out for invites to send to you, so that > you can look at figuring out the new protocol? > > PS: (WLM - wasn't that an unknown client flag in tracebacks?) > > -- > - Norman Rasmussen > - Email: [EMAIL PROTECTED] > - Home page: http://norman.rasmussen.co.za/ > _______________________________________________ > py-transports mailing list > py-transports@blathersource.org > http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports > Hello, I tried using WLM to talk to PyMSNt and everything seems to work alright. Avatars and file transfer both work correctly, the only stuff that obviously doesn't work is the new "Share Folders" and any of the other new features. If anybody needs invites and wants to play with the new WLM let me know, I've got 5 left. --Chad Jannusch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://modevia.com/pipermail/py-transports/attachments/20060125/2c07aead/attachment.htm From [EMAIL PROTECTED] Wed Jan 25 15:07:36 2006 From: [EMAIL PROTECTED] (Stian B. Barmen) Date: Wed Jan 25 15:07:42 2006 Subject: [py-transports] Windows Live Messenger In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> > Hello, > I tried using WLM to talk to PyMSNt and everything seems to work > alright. Avatars and file transfer both work correctly, the only stuff > that obviously doesn't work is the new "Share Folders" and any of the > other new features. If anybody needs invites and wants to play with > the new WLM let me know, I've got 5 left. > > --Chad Jannusch > I would like to test it if possible :) Have gotten some questions about it and it would make it much easier to help. Best regards Stian B. Barmen From [EMAIL PROTECTED] Wed Jan 25 16:25:57 2006 From: [EMAIL PROTECTED] (Nathan Palmer) Date: Wed Jan 25 16:26:02 2006 Subject: [py-transports] Windows Live Messenger Message-ID: <[EMAIL PROTECTED]> I'd be curious to try it out If you have any invites left. Nathan Palmer [EMAIL PROTECTED] ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chad Jannusch Sent: Wednesday, January 25, 2006 8:02 AM To: PyAIM-t/PyICQ-t/PyMSN-t Discussion Subject: Re: [py-transports] Windows Live Messenger On 1/25/06, Norman Rasmussen <[EMAIL PROTECTED]> wrote: I just got an invite for Windows Live Messenger, and was wondering how this would affect PyMSNt. I assume that PyMSNt uses an old protocol, so it'll just look like I'm using an old client, right? Are there plans to support the new offline messenging of WLM in the future? Should I be looking out for invites to send to you, so that you can look at figuring out the new protocol? PS: (WLM - wasn't that an unknown client flag in tracebacks?) -- - Norman Rasmussen - Email: [EMAIL PROTECTED] - Home page: http://norman.rasmussen.co.za/ _______________________________________________ py-transports mailing list py-transports@blathersource.org http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports Hello, I tried using WLM to talk to PyMSNt and everything seems to work alright. Avatars and file transfer both work correctly, the only stuff that obviously doesn't work is the new "Share Folders" and any of the other new features. If anybody needs invites and wants to play with the new WLM let me know, I've got 5 left. --Chad Jannusch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://modevia.com/pipermail/py-transports/attachments/20060125/88c11d99/attachment.html From [EMAIL PROTECTED] Wed Jan 25 17:42:49 2006 From: [EMAIL PROTECTED] (Norman Rasmussen) Date: Wed Jan 25 17:57:56 2006 Subject: [py-transports] Windows Live Messenger In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> On 1/25/06, Chad Jannusch <[EMAIL PROTECTED]> wrote: > I tried using WLM to talk to PyMSNt and everything seems to work alright. > Avatars and file transfer both work correctly, the only stuff that obviously > doesn't work is the new "Share Folders" and any of the other new features. The easiest feature to enable right off the bat would probably be offline messaging, because at the moment those messages seem to be dropped in the water, (where the msn 8 front end happily tells you that they absolutely will be delivered) -- - Norman Rasmussen - Email: [EMAIL PROTECTED] - Home page: http://norman.rasmussen.co.za/ From [EMAIL PROTECTED] Wed Jan 25 17:57:40 2006 From: [EMAIL PROTECTED] (Michael Cooper) Date: Wed Jan 25 18:13:02 2006 Subject: [py-transports] Error message Msn transport Message-ID: <[EMAIL PROTECTED]> Traceback (most recent call last): File "C:\Python24\lib\site-packages\twisted\internet\selectreactor.py", line 1 33, in doSelect _logrun(selectable, _drdw, selectable, method, dict) File "C:\Python24\lib\site-packages\twisted\python\log.py", line 56, in callWi thLogger return callWithContext({"system": lp}, func, *args, **kw) File "C:\Python24\lib\site-packages\twisted\python\log.py", line 41, in callWi thContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "C:\Python24\lib\site-packages\twisted\python\context.py", line 31, in ca llWithContext return func(*args,**kw) --- <exception caught here> --- File "C:\Python24\lib\site-packages\twisted\internet\selectreactor.py", line 1 39, in _doReadOrWrite why = getattr(selectable, method)() File "C:\Python24\lib\site-packages\twisted\internet\tcp.py", line 351, in doR ead return self.protocol.dataReceived(data) File "C:\Python24\Lib\site-packages\twisted\xish\xmlstream.py", line 145, in d ataReceived self.stream.parse(buf) File "C:\Python24\Lib\site-packages\twisted\xish\domish.py", line 600, in pars e self.parser.Parse(buffer) File "C:\Python24\Lib\site-packages\twisted\xish\domish.py", line 638, in _onE ndElement self.ElementEvent(self.currElem) File "C:\Python24\Lib\site-packages\twisted\xish\xmlstream.py", line 166, in o nElement self.dispatch(element) File "C:\Python24\Lib\site-packages\twisted\xish\utility.py", line 233, in dis patch callbacklist.callback(object) File "C:\Python24\Lib\site-packages\twisted\xish\utility.py", line 37, in call back methodwrapper(*args, **kwargs) File "C:\Python24\Lib\site-packages\twisted\xish\utility.py", line 21, in __ca ll__ self.method(*nargs, **nkwargs) File "C:\pymsnt-0.10.3\pymsnt-0.10.3\src\disco.py", line 135, in onIq self.sendDiscoInfoResponse(to=fro, ID=ID, ulang=ulang, jid=to) File "C:\pymsnt-0.10.3\pymsnt-0.10.3\src\disco.py", line 184, in sendDiscoInfo Response self.pytrans.send(iq) File "C:\Python24\Lib\site-packages\twisted\words\protocols\jabber\component.p y", line 84, in send self.parent.send(obj) File "C:\Python24\Lib\site-packages\twisted\words\protocols\jabber\component.p y", line 151, in send self.xmlstream.send(obj) File "C:\Python24\Lib\site-packages\twisted\xish\xmlstream.py", line 184, in s end self.transport.write(obj) File "C:\Python24\lib\site-packages\twisted\internet\abstract.py", line 172, i n write self._tempDataLen += len(data) exceptions.TypeError: len() of unsized object