[Buildbot] #3391: UnicodeDecodeError in the logobserver when encountering non-ascii characters

Buildbot trac trac at buildbot.net
Fri Jan 1 19:30:24 UTC 2016


#3391: UnicodeDecodeError in the logobserver when encountering non-ascii
characters
----------------------+----------------------
Reporter:  Ben        |       Owner:  dustin
    Type:  undecided  |      Status:  closed
Priority:  major      |   Milestone:  0.8.x
 Version:  0.8.12     |  Resolution:  wontfix
Keywords:             |
----------------------+----------------------
Changes (by dustin):

 * status:  assigned => closed
 * resolution:   => wontfix


Comment:

 In nine, if your step does not produce utf-8 output, you can set
 `logEncoding` on the step to properly decode to unicode.  That's not
 supported in eight, though.  In eight, we just assume that all logs are
 utf-8.  This assumption has not been enforced, though, and it is quite
 possible that things mostly worked for non-utf-8 output until now.
 Encodings were all over the place in eight.

 We have an integration test to check this situation in nine.

 I suspect that what you've done is the best fix for eight.

--
Ticket URL: <http://trac.buildbot.net/ticket/3391#comment:3>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list