[Buildbot] #3391: UnicodeDecodeError in the logobserver when encountering non-ascii characters
Buildbot trac
trac at buildbot.net
Thu Dec 17 10:56:44 UTC 2015
#3391: UnicodeDecodeError in the logobserver when encountering non-ascii
characters
----------------------+-------------------
Reporter: Ben | Owner:
Type: undecided | Status: new
Priority: major | Milestone: 0.8.x
Version: 0.8.12 | Keywords:
----------------------+-------------------
{{{
Traceback (most recent call last):
File "/home/buildsystem/bb-master/local/lib/python2.7/site-
packages/twisted/internet/defer.py", line 1184, in gotResult
_inlineCallbacks(r, g, deferred)
File "/home/buildsystem/bb-master/local/lib/python2.7/site-
packages/twisted/internet/defer.py", line 1171, in _inlineCallbacks
deferred.callback(e.value)
File "/home/buildsystem/bb-master/local/lib/python2.7/site-
packages/twisted/internet/defer.py", line 393, in callback
self._startRunCallbacks(result)
File "/home/buildsystem/bb-master/local/lib/python2.7/site-
packages/twisted/internet/defer.py", line 501, in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/home/buildsystem/bb-master/local/lib/python2.7/site-
packages/twisted/internet/defer.py", line 588, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/home/buildsystem/bb-master/local/lib/python2.7/site-
packages/buildbot/process/buildstep.py", line 650, in <lambda>
d.addCallback(lambda res: self.commandComplete(cmd))
File "/home/buildsystem/bb-master/local/lib/python2.7/site-
packages/buildbot/steps/shell.py", line 337, in commandComplete
self.observer.getStdout(),
File "/home/buildsystem/bb-master/local/lib/python2.7/site-
packages/buildbot/process/logobserver.py", line 121, in getStdout
return self._get(self.stdout)
File "/home/buildsystem/bb-master/local/lib/python2.7/site-
packages/buildbot/process/logobserver.py", line 118, in _get
return u''.join(chunks)
exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in
position 109: ordinal not in range(128)
}}}
The Shell step just does a `cat` of a file that contains non-ascii
characters.
--
Ticket URL: <http://trac.buildbot.net/ticket/3391>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the bugs
mailing list