This one is beyond my python knowledge.
[2007-01-13 20:24:34] Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/twisted/python/
log.py", line 53, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/usr/lib/python2.4/site-packages/twisted/python/
log.py", line 38, in callWithContext
return context.call({ILogContext: newCtx}, func, *args,
**kw)
File "/usr/lib/python2.4/site-packages/twisted/python/
context.py", line 59, in callWithContext
return self.currentContext().callWithContext(ctx, func,
*args, **kw)
File "/usr/lib/python2.4/site-packages/twisted/python/
context.py", line 37, in callWithContext
return func(*args,**kw)
--- <exception caught here> ---
File "/usr/lib/python2.4/site-packages/twisted/internet/
epollreactor.py", line 199, in _doReadOrWrite
why = selectable.doRead()
File "/usr/lib/python2.4/site-packages/twisted/internet/
tcp.py", line 348, in doRead
return self.protocol.dataReceived(data)
File "/usr/lib/python2.4/site-packages/twisted/words/xish/
xmlstream.py", line 72, in dataReceived
self.stream.parse(data)
File "/usr/lib/python2.4/site-packages/twisted/words/xish/
domish.py", line 730, in parse
self.parser.Parse(buffer)
File "/usr/lib/python2.4/site-packages/twisted/words/xish/
domish.py", line 771, in _onEndElement
self.ElementEvent(self.currElem)
File "/usr/lib/python2.4/site-packages/twisted/words/xish/
xmlstream.py", line 104, in onElement
self.dispatch(element)
File "/usr/lib/python2.4/site-packages/twisted/words/xish/
utility.py", line 233, in dispatch
callbacklist.callback(object)
File "/usr/lib/python2.4/site-packages/twisted/words/xish/
utility.py", line 37, in callback
methodwrapper(*args, **kwargs)
File "/usr/lib/python2.4/site-packages/twisted/words/xish/
utility.py", line 21, in __call__
self.method(*nargs, **nkwargs)
File "/home/melo/msn-test/PyMSNt/src/disco.py", line 161,
in onIq
handler(el)
File "/home/melo/msn-test/PyMSNt/src/misciq.py", line 270,
in incomingIq
PHOTO = c.avatar.makePhotoElement()
File "/home/melo/msn-test/PyMSNt/src/avatar.py", line 54,
in makePhotoElement
binval.addContent(base64.encodestring(self.getImageData
()).replace("\n", ""))
File "base64.py", line 313, in encodestring
for i in range(0, len(s), MAXBINSIZE):
exceptions.TypeError: len() of unsized object
Maybe someone can understand it.
Best regards,
--
HIId: Pedro Melo
SMTP: [EMAIL PROTECTED]
XMPP: [EMAIL PROTECTED]
_______________________________________________
py-transports mailing list
py-transports@blathersource.org
http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports