[Buildbot-commits] [Buildbot] #2318: invalid character (Chinese) in BuildStep's stdout log (BuildSlave on Windows)

Buildbot trac trac at buildbot.net
Tue Jan 14 06:29:12 UTC 2014


#2318: invalid character (Chinese) in BuildStep's stdout log (BuildSlave on
Windows)
---------------------+---------------------
Reporter:  ppggff    |       Owner:
    Type:  defect    |      Status:  closed
Priority:  major     |   Milestone:  0.9.0
 Version:  0.8.6p1   |  Resolution:  fixed
Keywords:  encoding  |
---------------------+---------------------
Changes (by dustin):

 * status:  new => closed
 * resolution:   => fixed


Old description:

> version:
>     Buildbot: 0.8.6p1
>     Twisted: 12.0.0
>     Jinja: 2.6
>     Python: 2.6.6 (r266:84292, Dec 26 2010, 22:31:48) [GCC 4.4.5]
>     Buildmaster platform: linux2
>
> BuildSlave on Windows 7, Chinese version.
> I got invalid character from buildstep's stdout log.
> These characters should be Chinese encoded in GB2312 or GBK.
> BuildMaster's encoding is utf-8.
>
> Is there a way to set buildbot convert stdout log from one encoding to
> another?
>
> Thanks.

New description:

 version:
     Buildbot: 0.8.6p1
     Twisted: 12.0.0
     Jinja: 2.6
     Python: 2.6.6 (r266:84292, Dec 26 2010, 22:31:48) [GCC 4.4.5]
     Buildmaster platform: linux2

 BuildSlave on Windows 7, Chinese version.
 I got invalid character from buildstep's stdout log.
 These characters should be Chinese encoded in GB2312 or GBK. BuildMaster's
 encoding is utf-8.

 Is there a way to set buildbot convert stdout log from one encoding to
 another?

 Thanks.

--

Comment:

 Logs are now parsed from bytestrings to unicode.  See #833.

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


More information about the Commits mailing list