I am consistently getting this dump and then the AIM transport will  
stop responding.

Anybody know why?


---------------
Unhandled error in Deferred:
Traceback (most recent call last):
Failure: None: None
Unhandled error in Deferred:
Traceback (most recent call last):
Failure: None: None
Traceback (most recent call last):
   File "/usr/local/lib/python2.4/site-packages/twisted/python/ 
log.py", line 53, in callWithLogger
     return callWithContext({"system": lp}, func, *args, **kw)
   File "/usr/local/lib/python2.4/site-packages/twisted/python/ 
log.py", line 38, in callWithContext
     return context.call({ILogContext: newCtx}, func, *args, **kw)
   File "/usr/local/lib/python2.4/site-packages/twisted/python/ 
context.py", line 59, in callWithContext
     return self.currentContext().callWithContext(ctx, func, *args,  
**kw)
   File "/usr/local/lib/python2.4/site-packages/twisted/python/ 
context.py", line 37, in callWithContext
     return func(*args,**kw)
--- <exception caught here> ---
   File "/usr/local/lib/python2.4/site-packages/twisted/internet/ 
pollreactor.py", line 160, in _doReadOrWrite
     why = selectable.doRead()
   File "/usr/local/lib/python2.4/site-packages/twisted/internet/ 
tcp.py", line 349, in doRead
     return self.protocol.dataReceived(data)
   File "/usr/local/lib/python2.4/site-packages/twisted/words/xish/ 
xmlstream.py", line 72, in dataReceived
     self.stream.parse(buf)
   File "/usr/local/lib/python2.4/site-packages/twisted/words/xish/ 
domish.py", line 524, in parse
     self.parser.Parse(buffer)
   File "/usr/local/lib/python2.4/site-packages/twisted/words/xish/ 
domish.py", line 564, in _onEndElement
     self.ElementEvent(self.currElem)
   File "/usr/local/lib/python2.4/site-packages/twisted/words/xish/ 
xmlstream.py", line 104, in onElement
     self.dispatch(element)
   File "/usr/local/lib/python2.4/site-packages/twisted/words/xish/ 
utility.py", line 233, in dispatch
     callbacklist.callback(object)
   File "/usr/local/lib/python2.4/site-packages/twisted/words/xish/ 
utility.py", line 37, in callback
     methodwrapper(*args, **kwargs)
   File "/usr/local/lib/python2.4/site-packages/twisted/words/xish/ 
utility.py", line 21, in __call__
     self.method(*nargs, **nkwargs)
   File "/usr/opt/transports/pyaimt-r209/src/main.py", line 377, in  
onPresence
     s.getCapabilities(el)
   File "/usr/opt/transports/pyaimt-r209/src/jabw.py", line 236, in  
getCapabilities
     self.pytrans.discovery.sendIq(iq).addCallback(self.gotCapabilities)
exceptions.AttributeError: 'NoneType' object has no attribute  
'discovery'
Unhandled error in Deferred:
Traceback (most recent call last):
Failure: None: None
Unhandled error in Deferred:
Traceback (most recent call last):
Failure: None: None
Unhandled error in Deferred:
Traceback (most recent call last):
   File "/usr/opt/transports/pyaimt-r209/src/tlib/oscar.py", line  
3073, in oscar_Cookie
     self.error(error,errorurl)
   File "/usr/opt/transports/pyaimt-r209/src/tlib/oscar.py", line  
3089, in error
     if self.deferred: self.deferred.errback((error,url))
   File "/usr/local/lib/python2.4/site-packages/twisted/internet/ 
defer.py", line 251, in errback
     self._startRunCallbacks(fail)
   File "/usr/local/lib/python2.4/site-packages/twisted/internet/ 
defer.py", line 294, in _startRunCallbacks
     self._runCallbacks()
--- <exception caught here> ---
   File "/usr/local/lib/python2.4/site-packages/twisted/internet/ 
defer.py", line 307, in _runCallbacks
     self.result = callback(self.result, *args, **kw)
   File "/usr/opt/transports/pyaimt-r209/src/legacy/glue.py", line  
680, in errorCallback
     LogEvent(INFO, self.session.jabberID)
exceptions.AttributeError: 'NoneType' object has no attribute 'jabberID'
Unhandled error in Deferred:
Traceback (most recent call last):
Failure: None: None
Unhandled error in Deferred:
Traceback (most recent call last):
Failure: None: None
---------------

Cheers,

-- 
Travis Bell



-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://modevia.com/pipermail/py-transports/attachments/20060418/e1e194b1/attachment.htm
From [EMAIL PROTECTED]  Wed Apr 19 06:37:05 2006
From: [EMAIL PROTECTED] (James Bunton)
Date: Wed Apr 19 06:37:22 2006
Subject: [py-transports] Nick on Pymsn
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

With 0.11 you do not need to send the <nick/> element.
The transport doesn't request it, and will ignore it if sent.

When you log on the transport will retrieve your nickname from your  
vCard. If you haven't set a nickname there, then it will try the full  
name field of your vCard, and finally it will resort to your username.

As for the PyICQ-t segfault, that would most likely be a bug in an  
external library. I can't help you with that. Daniel is the PyICQ-t  
developer so he should be able to give you a hand debugging it.

Hope that helps.

---

James


On 19/04/2006, at 9:07 AM, Francisco Obarrio wrote:

> im using PyMSNt 0.11 registering via jabber..
> here its the xml i send
>
> <iq id="jcl_332" to="msn.localhost" type="set"><query  
> xmlns="jabber:iq:register"><username>[EMAIL PROTECTED]</ 
> username><password>xxx</password><nick>This is my new nick on  
> msn</nick></query></iq>
>
> James also i sent an email because i get a segmentation faul on pyicq..
>
> thanks
> Francisco
>
>
>
> ----- Original Message ----- From: "James Bunton"  
> <[EMAIL PROTECTED]>
> To: "PyAIM-t/PyICQ-t/PyMSN-t Discussion"  
> <[email protected]>
> Sent: Tuesday, April 18, 2006 7:43 PM
> Subject: Re: [py-transports] Nick on Pymsn
>
>
>> On 19/04/2006, at 6:51 AM, Francisco Obarrio wrote:
>>
>>> Hello, Is there any way of not setting up a nickname when i register  
>>> ?
>>> because if i register with a username call username, my msn nickname  
>>> will be username instead of my msn nickname that i have on MSN.
>>>
>>> Thanks
>>> Francisco
>>
>> Which transport version are you using? Were your registering with  
>> webreg?
>> Try out PyMSNt 0.11, with webreg 0.5.
>>
>> ---
>>
>> James
>>
>> _______________________________________________
>> py-transports mailing list
>> [email protected]
>> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>

Reply via email to