Comment 0 for bug 1400232

Revision history for this message
Doudz (sebastien-ramage) wrote : system-config-printer crash UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 1441: invalid continuation byte

system-config-printer crash with the following traceback :

sramage@japc09:~$ system-config-printer
Traceback (most recent call last):
  File "/usr/share/system-config-printer/asyncipp.py", line 191, in send_reply
    handler (self._conn, result)
  File "/usr/share/system-config-printer/asyncpk1.py", line 164, in _ipp_reply_handler
    self._client_reply_handler (self._conn, *args)
  File "/usr/share/system-config-printer/asyncconn.py", line 91, in reply_handler
    self._reply_handler (self, self._reply_data, *args)
  File "/usr/share/system-config-printer/asyncconn.py", line 209, in _subst_reply_handler
    reply_handler (self, *args)
  File "/usr/share/system-config-printer/ppdcache.py", line 79, in <lambda>
    self._got_ppd3 (c, name, r, callback),
  File "/usr/share/system-config-printer/ppdcache.py", line 153, in _got_ppd3
    self.fetch_ppd (name, callback, check_uptodate=False)
  File "/usr/share/system-config-printer/ppdcache.py", line 90, in fetch_ppd
    tmpf.writelines (f.readlines ())
  File "/usr/lib/python3.4/codecs.py", line 313, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 1441: invalid continuation byte