[Twisted-Python] dont get ssl Server working
I will be out of the office from 08/15/2008 to 08/25/2008 If this is urgent please contact rgrizzaffi@srcpsolutions.com
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']) On 8/21/08, fhauck@srcpsolutions.com <fhauck@srcpsolutions.com> wrote:
I will be out of the office from 08/15/2008 to 08/25/2008
If this is urgent please contact rgrizzaffi@srcpsolutions.com
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
On Thu, Aug 21, 2008 at 04:35:55PM +0530, raja pavankumar wrote:
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'])
"cd" isn't a command that can be run - there's no /bin/cd or /usr/bin/cd binary that you could call. It's a shell built-in, which means it's available for shell-scripts to use, and it's available when you're using the shell interactively, but that's it. You're probably looking for os.chdir("./tempGitBranch")
participants (3)
-
fhauck@srcpsolutions.com
-
raja pavankumar
-
Tim Allen