|
From: Jeff J. - S. <J_...@MC...> - 2008-03-24 13:58:35
|
I am still stuck! Since I work for a law enforcement agency, we have
our computers and the network locked down pretty tight, so I thought
that perhaps the problem I have been having with qmtest has been because
of restrictions I don't even know about on my PC.
So, I tried installing qmtest on my computer at home, also running
Windows XP. I still have the same problem, as evidenced by the test
results below.
--- TEST RESULTS
-------------------------------------------------------------
functional.basic.isql.isql_02 : ERROR
An exception occurred.
qmtest.end_time:
2008-03-24T13:49:14Z
qmtest.exception:
<class 'pywintypes.error'>: (5, 'CreateProcess', 'Access is
denied.')
qmtest.start_time:
2008-03-24T13:49:07Z
qmtest.target:
local
qmtest.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])
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]
--- TESTS THAT DID NOT PASS
--------------------------------------------------
functional.basic.isql.isql_02 : ERROR
An exception occurred.
--- STATISTICS
---------------------------------------------------------------
1 tests total
1 (100%) tests ERROR
Do you have any ideas of what to check or to try? I really would like
to get qmtest running, because what I have seen makes me think that it
would be very useful.
Thanks!
Jeff
-----Original Message-----
From: fir...@li...
[mailto:fir...@li...] On Behalf Of Pavel
Cisar
Sent: Thursday, March 20, 2008 10:16 AM
To: fir...@li...
Subject: Re: [Firebird-test] Exception when running test
Jeff Jones - SHERIFFX napsal(a):
> Okay, I tried one of the tests that comes with the test suite, and it
> also fails. Here is the output from qmtest:
Same problem here.
> I am not sure what you mean by checking the access rights for isql.
How
> would I do that? What would I look for?
QMTest can't spawn new process (ISQL in this case) because Windows
doesn't allow him to. It could be either because QMTest itself is
restricted to spawn processes at all or can't execute ISQL due to
insufficient OS rights. Maybe your have installed Firebird under
Administrator account but run Python (QMTest) under your user account
that has restricted access to FB installation? I never encountered such
problem under XP workstation, but if you're on Vista or W2003 Server, it
could be different thanks to UAC and its generally tightened security?
If you can execute isql manually, then the problem is in OS rights tied
to QMTest (resp. Python). You may try to assign Python executable to
some more powerful user groups (or system ones).
best regards
Pavel Cisar
------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Firebird-test mailing list
Fir...@li...
https://lists.sourceforge.net/lists/listinfo/firebird-test
|