Menu

#15 error when comparing a rezult of Message.getFrom()

open
nobody
jabber.py (4)
5
2009-01-27
2009-01-27
Anonymous
No

Traceback (most recent call last):
File "jabber-roboto.py", line 58, in <module>
kon.process(1)
File "/var/lib/python-support/python2.5/jabber/xmlstream.py", line 381, in process
self._parser.Parse(data)
File "/var/lib/python-support/python2.5/jabber/xmlstream.py", line 269, in unknown_endtag
self.dispatch(self._mini_dom)
File "/var/lib/python-support/python2.5/jabber/jabber.py", line 290, in dispatch
else: handler['func'](self,stanza)
File "jabber-roboto.py", line 24, in mesrv
if d==EJID: return
File "/var/lib/python-support/python2.5/jabber/jabber.py", line 1377, in __eq__
return str(self) == str(other)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 40-42: ordinal not in range(128)

Discussion


Log in to post a comment.