Ok, after some debugging it turnes out that python2.6
sys.stderr.write() can't handle unicode characters that aren't converted
to bytes first:

sys.stderr.write(str(u'\xfc'))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 0: 
ordinal not in range(128)

sys.stderr.write(u'\xfc'.encode('utf-8'))
ü

** Changed in: apport (Ubuntu)
       Status: Confirmed => Triaged

-- 
apport-retrace crashed with UnicodeEncodeError in exit()
https://bugs.launchpad.net/bugs/448158
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to