[Buildbot-devel] Alternate shell on win32

Gianluca Sforna giallu at gmail.com
Wed Mar 28 14:04:58 UTC 2007


On 3/28/07, Christopher Kermorvant <kermorvant at gmail.com> wrote:
> Hi,
>
> I had this kind of problem.
>
> It seems to me that you must define the command line with each
> argument as an element in a python list :
> f.addStep(ShellCommand, command=["command.exe","arg1","arg2"])
>
> You can check that on your cfg file.

Done. To be sure I used command=["echo", "hello"] but it failed still.

This time I captured the traceback from the slave:

2007/03/28 15:54 +0200 [Broker,client] error in ShellCommand._startCommand
2007/03/28 15:54 +0200 [Broker,client] Unhandled Error
        Traceback (most recent call last):
          File "c:\Python24\lib\site-packages\buildbot\slave\bot.py", line 169,
in remote_startCommand
            d = self.command.doStart()
          File "c:\Python24\lib\site-packages\buildbot\slave\commands.py", line
616, in doStart
            d = defer.maybeDeferred(self.start)
          File "C:\Python24\lib\site-packages\twisted\internet\defer.py", line 1
07, in maybeDeferred
            result = f(*args, **kw)
          File "c:\Python24\lib\site-packages\buildbot\slave\commands.py", line
965, in start
            d = self.command.start()
        --- <exception caught here> ---
          File "c:\Python24\lib\site-packages\buildbot\slave\commands.py", line
294, in start
            self._startCommand()
          File "c:\Python24\lib\site-packages\buildbot\slave\commands.py", line
376, in _startCommand
            usePTY=self.usePTY)
          File "C:\Python24\lib\site-packages\twisted\internet\posixbase.py", li
ne 374, in spawnProcess
            return Process(self, processProtocol, executable, args, env, path)
          File "C:\Python24\lib\site-packages\twisted\internet\_dumbwin32proc.py
", line 183, in __init__
            raise OSError(pwte)
        exceptions.OSError: (267, 'CreateProcess', 'The directory name is invali
d.')

2007/03/28 15:54 +0200 [Broker,client] SlaveBuilder.commandFailed <buildbot.slav
e.commands.SlaveShellCommand instance at 0x01288210>
2007/03/28 15:54 +0200 [Broker,client] Unhandled Error
        Traceback (most recent call last):
        Failure: buildbot.slave.commands.AbandonChain: -1

Sounds like something known?




More information about the devel mailing list