Is this exepected shell output for PyAIMt 0.4a?

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/twisted/internet/default.py", 
line 526, in doSelect
    _logrun(selectable, _drdw, selectable, method, dict)
  File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 
65, in callWithLogger
    callWithContext({"system": lp}, func, *args, **kw)
  File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 
52, in callWithContext
    return context.call({ILogContext: newCtx}, func, *args, **kw)
  File "/usr/lib/python2.3/site-packages/twisted/python/context.py", 
line 43, in callWithContext
    return func(*args,**kw)
--- <exception caught here> ---
  File "/usr/lib/python2.3/site-packages/twisted/internet/default.py", 
line 535, in _doReadOrWrite
    why = getattr(selectable, method)()
  File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 
255, in doRead
    return self.protocol.dataReceived(data)
  File "/usr/local/jabberd/aimt/src/tlib/xmlstream.py", line 159, in 
dataReceived
    self.stream.parse(buf)
  File "/usr/local/jabberd/aimt/src/tlib/domish.py", line 593, in parse
    self.parser.Parse(buffer)
  File "/usr/local/jabberd/aimt/src/tlib/domish.py", line 630, in 
_onEndElement
    self.ElementEvent(self.currElem)
  File "/usr/local/jabberd/aimt/src/tlib/xmlstream.py", line 180, in 
onElement
    self.dispatch(element)
  File "/usr/lib/python2.3/site-packages/twisted/xish/utility.py", line 
139, in dispatch
    callbacklist.callback(object)
  File "/usr/lib/python2.3/site-packages/twisted/xish/utility.py", line 
50, in callback
    methodwrapper(*args, **kwargs)
  File "/usr/lib/python2.3/site-packages/twisted/xish/utility.py", line 
34, in __call__
    self.method(*nargs, **nkwargs)
  File "main.py", line 204, in onPresence
    s.onPresence(el)
  File "/usr/local/jabberd/aimt/src/jabw.py", line 188, in onPresence
    debug.log("User: %s - JabberConnection received presence packet %s" 
% (self.jabberID, el.toXml()))
  File "/usr/local/jabberd/aimt/src/tlib/domish.py", line 399, in toXml
    s.serialize(self, closeElement)
  File "/usr/local/jabberd/aimt/src/tlib/domish.py", line 90, in serialize
    write(" %s:%s='%s'" % (self.getPrefix[k[0]], k[1], escapeToXml(v, 
1)).encode("utf-8"))
exceptions.TypeError: unsubscriptable object

-- 
Aaron Axelsen
[EMAIL PROTECTED]

Great hosting, low prices.  Modevia Web Services LLC -- http://www.modevia.com

Reply via email to