From: Pavel C. <pc...@ib...> - 2008-03-20 15:14:22
|
Jeff, Jeff Jones - SHERIFFX napsal(a): > When I run some tests with QMTest, the following error is received: > > <class 'pywintypes.error'>: (5, 'CreateProcess', 'Access is denied.') This is important clue, qmtest haven't enough privileges to start a process (run external program). > And here is the traceback: > > File "C:\Python25\Lib\site-packages\qm\test\target.py", line 227, in RunTest > descriptor.Run(context, result) > File "C:\Python25\Lib\site-packages\qm\test\database.py", line 272, in Run > self._Execute(context, result, "Run") > File "C:\Python25\Lib\site-packages\qm\test\database.py", line 191, in _Execute > methobj(context, result) > File "C:\fbtest\QMTest\fbqa.py", line 1265, in Run > retval= self.__ExecISQLCommands() > File "C:\fbtest\QMTest\fbqa.py", line 722, in __ExecISQLCommands > "-password", self.user_password]) Here is application in question, ISQL, that can't be run by qmtest. > File "C:\fbtest\QMTest\fbqa.py", line 623, in __RunProgram > exit_status= qm_exec.Run(args, environ) > File "C:\Python25\Lib\site-packages\qm\executable.py", line 564, in Run > path) > File "C:\Python25\Lib\site-packages\qm\executable.py", line 270, in Run > child = self.Spawn(arguments, environment, dir, path, exception_pipe) > File "C:\Python25\Lib\site-packages\qm\executable.py", line 183, in Spawn > startupinfo)[0] > > I have a feeling this indicates that something is wrong with my setup, > not with the test itself. Is that correct? > > Any ideas on what I should check or do? Check the access rights for isql. best regards Pavel Cisar IBPhoenix |