[Buildbot-devel] Cannot start remote command when buildslave parent processname contains spaces
harry at aeteurope.nl
Wed May 30 15:19:48 UTC 2012
I do not have any knowledge about how command are executed on the slave. After deploying a new master we had problems with executing steps (in our case Mercurial command 'hg')
If the buildslave is not started from c:\windows\system\cmd.exe but from another shell that starts with c:\program files\..... then an OSError occurs.
The 'space'character in "program files" was the cause of the error. The traceback shows the execution path. We edited the OSError a bit to get more information.
error in RunProcess._startCommand
Traceback (most recent call last):
File "c:\buildbot\src\slave\buildslave\runprocess.py", line 386, in start
File "c:\buildbot\src\slave\buildslave\runprocess.py", line 509, in _startCommand
File "c:\buildbot\src\slave\buildslave\runprocess.py", line 536, in _spawnProcess
File "c:\buildbot\src\slave\buildslave\runprocess.py", line 571, in _spawnAsBatch
File "C:\Python27\lib\site-packages\twisted\internet\posixbase.py", line 352, in spawnProcess
return Process(self, processProtocol, executable, args, env, path)
File "C:\Python27\lib\site-packages\twisted\internet\_dumbwin32proc.py", line 195, in __init__
raise OSError((pwte, command, path))
OSError: (error(2, 'CreateProcess', 'The system cannot find the file specified.'), 'C:\\Program', 'C:\\buildbot\\slave\\testapp1_win-x64_vc8\\testsrc')
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the devel