logo       

Re: pyicq-t-0.7a has problems with umlauts in nickname: msg#00210

network.jabber.py-transports

Subject: Re: pyicq-t-0.7a has problems with umlauts in nickname

Indeed. This particular bug is causing a lot of misc problems. Still have not resolved it entirely. (though I thought I had in the latest SVN, but I still got a report that it's happening)

Daniel

On Mar 25, 2006, at 3:04 AM, Michael Vogel wrote:

Here is the trace for the bug:

Traceback (most recent call last):
File
"/usr/lib/python2.3/site-packages/twisted/internet/pollreactor.py", line
145, in doPoll
log.callWithLogger(selectable, _drdw, selectable, fd, event, POLLIN,
POLLOUT, log)
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/pollreactor.py", line
160, in _doReadOrWrite
why = selectable.doRead()
File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line
255, in doRead
return self.protocol.dataReceived(data)
File "/usr/local/pyicq-t-0.7a/src/tlib/oscar.py", line 537, in
dataReceived
state=func(flap)
File "/usr/local/pyicq-t-0.7a/src/tlib/oscar.py", line 635, in oscar_Data
func(snac[2:])
File "/usr/local/pyicq-t-0.7a/src/tlib/oscar.py", line 1533, in
oscar_15_03
self.gotUserInfo(sequenceNumber, rType, None)
File "/usr/local/pyicq-t-0.7a/src/legacy/icqt.py", line 81, in gotUserInfo
self.icqcon.gotvCard(self.icqcon.userinfoCollection[id])
File "/usr/local/pyicq-t-0.7a/src/legacy/glue.py", line 501, in gotvCard
self.legacyList.updateNickname(usercol.userinfo, usercol.nick)
File "/usr/local/pyicq-t-0.7a/src/legacy/legacylist.py", line 164, in
updateNickname
if nick and self.xdbcontacts[contact.lower()].get ('nickname','') !=
nick:
exceptions.UnicodeDecodeError: 'utf8' codec can't decode bytes in
position 1-4: invalid data
---------------------------------
It seems that there are more bugs in the transport that are related to
this problem. For example it wasn't possible to add a new icq- acount to
the transport when in its roster there were users with umlauts.

Michael
_______________________________________________
py-transports mailing list
py-transports@xxxxxxxxxxxxxxxxx
http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise