Issue 81: UnicodeDecodeError: 'utf8' codec can't decode byte 0x98 in position 19: unexpected code byte
Status:  Fixed
Owner:
Closed:  Jan 2008
Reported by jadest...@gmail.com, Dec 15, 2007
 Posted by smo at 2007-07-14 10:22:23

There seems to be an error when getting some away-messages:

[2007-07-14 12:10:42] _cbGetAway [2, 6, 0, 0, 6L,
'\x0837206776\x00\x00\x00\t\x00\x01\x00\x02\x00q\x00\x0c\x00%\x00\x00\x00\x00\x0
0\x00\x00\x00\x04\x00\x08\x00\x00\x00\x00\x00\x00\x00P\x00\x00\x00\x03\xff\xff\x
ff\xff\x00\x03\x07\x06\x00\x00\x00\x00\x00\x00\x00\n\x00\x04\x00\x00\x00\x00\x00
\x06\x00\x04
\x00\x00\x01\x00\x05\x00\x047"bb\x00\r\x00\x80V?\xc8\t\x0boA\xbd\x9fyB&
\t\xdf\xa2\xf3\tF\x13IL\x7f\x11\xd1\x82"DEST\x00\x00\tF\x13NL\x7f\x11\xd1\x
82"DEST\x00\x00\x1a\t<l\xd7\xfdN\xc5\x9dQ\xa6GN4\xf5\xa0\tF\x13LL\x7f\x1
1\xd1\x82"DEST\x00\x00dC\xc6\xaf"`E\x17\xb5\x8c\xd7\xdf\x8e)\x03R\tF\x
13DL\x7f\x11\xd1\x82"DEST\x00\x00MirandaM\x00\x06\x07\x00\x00\x03\x07\x06\x
00\x1d\x00\x14\x00\x01\x01\x10p\x05D\xc5\tZ\xda:\xad\x0c\xc3\xde\xcc\xd6\x12G\x0
0\x0f\x00\x04\x00\x00\x00k\x00\x03\x00\x04F\x98\xa1\xbc']
[2007-07-14 12:10:42] Unhandled error in Deferred:
[2007-07-14 12:10:42] Traceback (most recent call last):
          File "/home/smo/stuff/pyicq-t-0.8a/src/tlib/oscar.py", line
647, in dataReceived
            state=func(flap)
          File "/home/smo/stuff/pyicq-t-0.8a/src/tlib/oscar.py", line
756, in oscar_Data
            d.callback(snac)
          File
"/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line
239, in callback
            self._startRunCallbacks(result)
          File
"/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line
304, in _startRunCallbacks
            self._runCallbacks()
        --- <exception caught here> ---
          File
"/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line
317, in _runCallbacks
            self.result = callback(self.result, *args, **kw)
          File "/home/smo/stuff/pyicq-t-0.8a/src/legacy/icqt.py", line
330, in sendAwayPresence
            LogEvent(INFO, self.session.jabberID, "Away (%s, %s) message
%s" % (charset, msg[0], status))
        exceptions.UnicodeDecodeError: 'utf8' codec can't decode byte 0x98 in
position 19: unexpected code byte

Posted by guest at 2007-07-14 16:39:22

You might want to check bug 321 (Duplicate?) since it contains a possible fix.

Posted by guest at 2007-07-17 21:33:13

Undefined condition.
The error condition is not one of those defined by the other conditions in this
list.
------
ICQ connection lost! Reason: [Failure instance: Traceback (failure with no
frames): exceptions.UnicodeDecodeError: 'utf8' codec can't decode bytes in
position 30-32: invalid data
]

i get this now all the time

Posted by guest at 2007-07-17 21:47:26

Undefined condition.
The error condition is not one of those defined by the other conditions in this
list.
------
ICQ connection lost! Reason: [Failure instance: Traceback (failure with no
frames): exceptions.UnicodeDecodeError: 'utf8' codec can't decode bytes in
position 13-15: invalid data
]

using head


Jan 19, 2008
Project Member #1 d...@jabber.fsinf.de
Probably fixed in revision 234.
Status: Fixed