Opened 5 years ago

#3253 new defect

If environment has not-ascii character, shell command failed on buildslave

Reported by: enep Owned by:
Priority: major Milestone: undecided
Version: 0.8.12 Keywords:
Cc:

Description

Buildslave log

2015-05-08 10:51:16+0300 [Broker,client] Unhandled Error
	Traceback (most recent call last):
	  File "C:\Python27\lib\site-packages\buildslave\bot.py", line 149, in remote_startCommand
	    d = self.command.doStart()
	  File "C:\Python27\lib\site-packages\buildslave\commands\base.py", line 163, in doStart
	    d = defer.maybeDeferred(self.start)
	  File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 140, in maybeDeferred
	    result = f(*args, **kw)
	  File "C:\Python27\lib\site-packages\buildslave\commands\shell.py", line 50, in start
	    d = self.command.start()
	--- <exception caught here> ---
	  File "C:\Python27\lib\site-packages\buildslave\runprocess.py", line 426, in start
	    self._startCommand()
	  File "C:\Python27\lib\site-packages\buildslave\runprocess.py", line 524, in _startCommand
	    msg += "  %s=%s\n" % (name, self.environ[name])
	exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 30: ordinal not in range(128)

Change History (0)

Note: See TracTickets for help on using tickets.