=) Norman, would you mind submitting these via my bug tracker? Otherwise I'm bound to just lose a lot of them. I get a ton of mail and lots of times things get lost in the mix. Considering how "well" AIM's own servers work with this directory stuff, I'm almost surprised it works at all. =) I discovered recently that I've been handling some deferred very poorly, so I'm going to have to work on them in bulk sometime soon here.
Daniel On Dec 11, 2005, at 9:29 AM, Norman Rasmussen wrote: > Daniel: I'm seeing this with the AIM and ICQ transports, just you've > made it so that I can't break the AIM transport on demand (using the > search), but basically: > > - Something 'breaks' duirng processing, and a traceback is delivered. > - The component disconnects from the server, and tries to reconnect > - The component reconnects, using the jabberd-component protocol, > - But never responds to the feature stanza, i.e. never starts sasl > authentication. > > so it's half connected, and totally unusable. This is happening with > the AIM and ICQ transports. > > with the ICQ transport I can connect userA (dns might fail), and try > and search with userB, which causes this traceback: (as you can see > after the traceback the conection is zapped, and restarted, by nothing > happens after that) > > 2005/12/11 16:20 SAST [SASLXmlStream,client] Traceback (most recent > call last): > File "/usr/lib/python2.3/site-packages/twisted/python/log.py", > line 56, in callWithLogger > return callWithContext({"system": lp}, func, *args, **kw) > File "/usr/lib/python2.3/site-packages/twisted/python/log.py", > line 41, in callWithContext > return context.call({ILogContext: newCtx}, func, *args, **kw) > File "/usr/lib/python2.3/site-packages/twisted/python/context.py", > line 52, in callWithContext > return self.currentContext().callWithContext(ctx, func, > *args, **kw) > File "/usr/lib/python2.3/site-packages/twisted/python/context.py", > line 31, in callWithContext > return func(*args,**kw) > --- <exception caught here> --- > File "/usr/lib/python2.3/site-packages/twisted/internet/ > selectreactor.py", > line 139, in _doReadOrWrite > why = getattr(selectable, method)() > File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", > line 351, in doRead > return self.protocol.dataReceived(data) > File "/usr/lib/python2.3/site-packages/twisted/xish/xmlstream.py", > line 145, in dataReceived > self.stream.parse(buf) > File "/usr/lib/python2.3/site-packages/twisted/xish/domish.py", > line 600, in parse > self.parser.Parse(buffer) > File "/usr/lib/python2.3/site-packages/twisted/xish/domish.py", > line 638, in _onEndElement > self.ElementEvent(self.currElem) > File "/usr/lib/python2.3/site-packages/twisted/xish/xmlstream.py", > line 166, in onElement > self.dispatch(element) > File "/usr/lib/python2.3/site-packages/twisted/xish/utility.py", > line 233, in dispatch > callbacklist.callback(object) > File "/usr/lib/python2.3/site-packages/twisted/xish/utility.py", > line 37, in callback > methodwrapper(*args, **kwargs) > File "/usr/lib/python2.3/site-packages/twisted/xish/utility.py", > line 21, in __call__ > self.method(*nargs, **nkwargs) > File "main.py", line 291, in onRouteMessage > self.discovery.onIq(child) > File "/home/norman/src/svn/PyICQt/src/disco.py", line 133, in onIq > handler(el) > File "/home/norman/src/svn/PyICQt/src/misciq.py", line 585, in > incomingIq > self.processSearch(el) > File "/home/norman/src/svn/PyICQt/src/misciq.py", line 669, in > processSearch > self.pytrans.legacycon.doSearch(dataform, > iq).addCallback(self.gotSearchResponse) > exceptions.AttributeError: 'NoneType' object has no attribute > 'addCallback' > > [2005-12-11 16:21:02] PyTransport: Disconnected from main Jabberd > server > 2005/12/11 16:21 SAST [SASLXmlStream,client] > <twisted.internet.tcp.Connector instance at 0xb777f38c> will retry in > 2 seconds > 2005/12/11 16:21 SAST [SASLXmlStream,client] Stopping factory > <sasl.SASLXmlStreamFactory instance at 0xb779a94c> > 2005/12/11 16:21 SAST [-] Starting factory <sasl.SASLXmlStreamFactory > instance at 0xb779a94c> > [2005-12-11 16:21:29] Sessions: > [2005-12-11 16:21:29] [EMAIL PROTECTED] > [2005-12-11 16:21:29] Psi > [2005-12-11 16:22:29] Sessions: > [2005-12-11 16:22:29] [EMAIL PROTECTED] > [2005-12-11 16:22:29] Psi > > [2005-12-11 16:23:29] Sessions: > [2005-12-11 16:23:30] [EMAIL PROTECTED] > [2005-12-11 16:23:30] Psi > > 2005/12/11 16:23 SAST [-] Received SIGINT, shutting down. > [2005-12-11 16:23:46] PyTransport: Service shutting down > [2005-12-11 16:23:46] Session: Removing "[EMAIL PROTECTED]" > [2005-12-11 16:23:46] User: [EMAIL PROTECTED] - JabberConnection > sending presence "[EMAIL PROTECTED]""icq.jabber.localhost" "None" > "None" "None" "unavailable" "False" "None" > [2005-12-11 16:23:46] LegacyConnection: removeMe > [2005-12-11 16:23:46] ICQConnection: removeMe > [2005-12-11 16:23:46] ContactList: "[EMAIL PROTECTED]" removed > [2005-12-11 16:23:46] Session: Completed removal > "[EMAIL PROTECTED]" > [2005-12-11 16:23:50] PyTransport: Disconnected from main Jabberd > server > 2005/12/11 16:23 SAST [SASLXmlStream,client] > <twisted.internet.tcp.Connector instance at 0xb777f38c> will retry in > 2 seconds > 2005/12/11 16:23 SAST [SASLXmlStream,client] Stopping factory > <sasl.SASLXmlStreamFactory instance at 0xb779a94c> > 2005/12/11 16:23 SAST [-] Main loop terminated. > > -- > - 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 > >