Is this the avatars branch?
The debug statement from setRegInfo() has one more argument than it
should for the avatars branch. I'd check your copy of register.py
Move it out of the way, then run cvs update, and do a diff on the two
files.
---
James
On 17/06/2005, at 4:42 PM, Lucas Nussbaum wrote:
> Hi,
>
> Another exception I get with the latest CVS release :
>
> 06/14/05 - 17:10:04 - RegisterManager:
> setRegInfo("[EMAIL PROTECTED]", "[EMAIL PROTECTED]", "p", "")
> 06/14/05 - 17:10:04 - RegisterManager: Updated XDB successfully
> 06/14/05 - 17:10:04 - RegisterManager: Failure in updating XDB or
> sending result Iq
> 06/14/05 - 17:10:04 - Traceback (most recent call last):
> 06/14/05 - 17:10:04 - File
> "/usr/lib/python2.3/site-packages/twisted/internet/default.py", line
> 526, in doSelect
> 06/14/05 - 17:10:04 - _logrun(selectable, _drdw, selectable,
> method, dict)
> 06/14/05 - 17:10:04 - File
> "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 65, in
> callWithLogger
> 06/14/05 - 17:10:04 - callWithContext({"system": lp}, func, *args,
> **kw)
> 06/14/05 - 17:10:04 - File
> "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 52, in
> callWithContext
> 06/14/05 - 17:10:04 - return context.call({ILogContext: newCtx},
> func, *args, **kw)
> 06/14/05 - 17:10:04 - File
> "/usr/lib/python2.3/site-packages/twisted/python/context.py", line 43,
> in callWithContext
> 06/14/05 - 17:10:04 - return func(*args,**kw)
> 06/14/05 - 17:10:04 - --- <exception caught here> ---
> 06/14/05 - 17:10:04 - File
> "/usr/lib/python2.3/site-packages/twisted/internet/default.py", line
> 535, in _doReadOrWrite
> 06/14/05 - 17:10:04 - why = getattr(selectable, method)()
> 06/14/05 - 17:10:04 - File
> "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 255,
> in doRead
> 06/14/05 - 17:10:04 - return self.protocol.dataReceived(data)
> 06/14/05 - 17:10:04 - File
> "/home/jabber/PyMSNt2/src/tlib/xmlstream.py", line 159, in
> dataReceived
> 06/14/05 - 17:10:04 -
> 06/14/05 - 17:10:04 - File
> "/home/jabber/PyMSNt2/src/tlib/domish.py", line 598, in parse
> 06/14/05 - 17:10:04 -
> 06/14/05 - 17:10:04 - File
> "/home/jabber/PyMSNt2/src/tlib/domish.py", line 635, in _onEndElement
> 06/14/05 - 17:10:04 -
> 06/14/05 - 17:10:04 - File
> "/home/jabber/PyMSNt2/src/tlib/xmlstream.py", line 180, in onElement
> 06/14/05 - 17:10:04 -
> 06/14/05 - 17:10:04 - File
> "/usr/lib/python2.3/site-packages/twisted/xish/utility.py", line 139,
> in dispatch
> 06/14/05 - 17:10:04 - callbacklist.callback(object)
> 06/14/05 - 17:10:04 - File
> "/usr/lib/python2.3/site-packages/twisted/xish/utility.py", line 50,
> in callback
> 06/14/05 - 17:10:04 - methodwrapper(*args, **kwargs)
> 06/14/05 - 17:10:04 - File
> "/usr/lib/python2.3/site-packages/twisted/xish/utility.py", line 34,
> in __call__
> 06/14/05 - 17:10:04 - self.method(*nargs, **nkwargs)
> 06/14/05 - 17:10:04 - File "/home/jabber/PyMSNt/src/disco.py", line
> 92, in onIq
> 06/14/05 - 17:10:04 - handler(el)
> 06/14/05 - 17:10:04 - File "/home/jabber/PyMSNt2/src/register.py",
> line 71, in incomingRegisterIq
> 06/14/05 - 17:10:04 - self.updateRegistration(incoming)
> 06/14/05 - 17:10:04 - File "/home/jabber/PyMSNt2/src/register.py",
> line 141, in updateRegistration
> 06/14/05 - 17:10:04 - self.successReply(incoming)
> 06/14/05 - 17:10:04 - File "/home/jabber/PyMSNt2/src/register.py",
> line 189, in successReply
> 06/14/05 - 17:10:04 - self.pytrans.send(reply)
> 06/14/05 - 17:10:04 - File
> "/home/jabber/PyMSNt2/src/tlib/jabber/component.py", line 96, in send
> 06/14/05 - 17:10:04 -
> 06/14/05 - 17:10:04 - File
> "/home/jabber/PyMSNt2/src/tlib/jabber/component.py", line 162, in send
> 06/14/05 - 17:10:04 -
> 06/14/05 - 17:10:04 - File
> "/home/jabber/PyMSNt2/src/tlib/xmlstream.py", line 193, in send
> 06/14/05 - 17:10:04 -
> 06/14/05 - 17:10:04 - File
> "/home/jabber/PyMSNt2/src/tlib/domish.py", line 399, in toXml
> 06/14/05 - 17:10:04 -
> 06/14/05 - 17:10:04 - File
> "/home/jabber/PyMSNt2/src/tlib/domish.py", line 92, in serialize
> 06/14/05 - 17:10:04 -
> 06/14/05 - 17:10:04 - File
> "/home/jabber/PyMSNt2/src/tlib/domish.py", line 202, in escapeToXml
> 06/14/05 - 17:10:04 -
> 06/14/05 - 17:10:04 - exceptions.AttributeError: 'NoneType' object has
> no attribute 'replace'
> --
> | Lucas Nussbaum
> | [EMAIL PROTECTED] http://www.lucas-nussbaum.net/ |
> | jabber: [EMAIL PROTECTED] GPG: 1024D/023B3F4F |
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>