Comment 3 for bug 847485

Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 847485] Re: process-mail.py crashing with Unicode logging errors

Just changing the format string to %r would be an easy fix and the
logs would still be legible. Sorry for the noise.

> Looks like From/Sender may be non-ASCII bytestrings, and logging is trying to encode them to UTF-8?

It looks to me a bit more like it is trying to write unicode objects
to an ascii log stream, and it would be better off actually writing
them as utf-8. That might be worth fixing separately.

It seems like it's some kind of other bug that we get a truncated traceback.