[Buildbot-devel] UnicodeDecodeError in webfrontend
Dustin J. Mitchell
dustin at v.igoro.us
Sun Mar 3 16:11:40 UTC 2013
On Sun, Mar 3, 2013 at 2:53 AM, Spielmann, Christoph
<christoph.spielmann at machineering.de> wrote:
> And this is the original error message i received, maybe this rings a bell:
Ah! That at least makes sense.
I don't know why Jinja2 is trying to render to ascii. The quick fix would be
+ time = time.strftime("%a %d %b %Y %H:%M:%S",
+
time.localtime(util.now())).encode('ascii', 'replace'),
which will encode the time in ascii, replacing problematic characters.
Dustin
More information about the devel
mailing list