[Buildbot-devel] OSError: [Errno 2] No such file or directory

Raja.Pavan.Kumar.G rajapavankumar at yahoo.com
Thu Aug 21 13:20:35 UTC 2008


Buildbot version: 0.7.8
Twisted version: 2.2.0

AS part of my buildbot setup, I am executing a shell command in the
slave environment. (This has been coded as part of the master.cfg file)

This command is failing

f1.addStep(shell.ShellCommand, description= "chdir", command= ['cd', './tempGitBranch'])

******* Log Says *************

Upon execvpe cd ['cd', './tempGitBranch'] in environment id -1214057092:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/twisted/internet/process.py", line 772, in __init__
    os.execvpe(command, args, environment)
  File "/usr/lib/python2.4/os.py", line 350, in execvpe

    _execvpe(file, args, env)
  File "/usr/lib/python2.4/os.py", line 379, in _execvpe
    func(fullname, *argrest)
OSError: [Errno 2] No such file or directory
**************** Log End *************



This command is succeeding (means that directory is present in the environment)

f1.addStep(shell.ShellCommand, description= "list", command= ['ls', '-al', 'tempGitBranch'])

Please help me with the fix

Thanks 
pavan

Raja G Pavan Kumar

Bangalore

India


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20080821/5f5e318c/attachment.html>


More information about the devel mailing list