'command.ExecTest' could not be found Error

Eyal Raab Eyalr at corrigent.com
Mon Dec 15 07:58:07 UTC 2003


Hi, 
I've just installed QMTest and I would like to start using it.
I've followed the instructions in the manual and installed QMTest on Win2000
with Python 22.
The application start successfully and I can add test suites. However, when
I try to add a new test I get the following error shown below.
What am I doing wrong?
Thanks in advance,
Eyal Raab.
Corrigent Systems

Here is the exception:
----------------------
Exception type: qm.common.PythonException
Exception value: The extension class 'command.ExecTest' could not be found.
You may need to set the 'QMTEST_CLASS_PATH' environment variable.
Stack trace:
  File "C:\programs\qm\lib\qm\qm\web.py", line 495, in __HandleScriptRequest
    script_output = self.server.ProcessScript(request)

  File "C:\programs\qm\lib\qm\qm\web.py", line 833, in ProcessScript
    return self.__scripts[request.GetUrl()](request)

  File "C:\programs\qm\lib\qm\qm\test\web\web.py", line 1785, in
HandleNewTest
    return NewItemPage(self, "test")(request)

  File "C:\programs\qm\lib\qm\qm\web.py", line 168, in __call__
    return html_file(self)

  File "C:\programs\qm\lib\qm\zope-dtml\DocumentTemplate\DT_String.py", line
538, in __call__
    try: result = render_blocks(self._v_blocks, md)

  File
"C:\programs\qm\lib\qm\zope-dtml\DocumentTemplate\pDocumentTemplate.py",
line 273, in render_blocks
    if section: section=render_blocks(section,md)

  File
"C:\programs\qm\lib\qm\zope-dtml\DocumentTemplate\pDocumentTemplate.py",
line 250, in render_blocks
    else: section=section(md)

  File "C:\programs\qm\lib\qm\zope-dtml\DocumentTemplate\DT_Util.py", line
334, in eval
    return eval(code,globals,d)

  File "<string>", line 0, in ?

  File "C:\programs\qm\lib\qm\qm\test\web\web.py", line 826, in
GetClassDescriptions
    self.database)

  File "C:\programs\qm\lib\qm\qm\test\base.py", line 285, in
get_extension_class
    directory, directories)

  File "C:\programs\qm\lib\qm\qm\test\base.py", line 217, in
get_extension_class_from_directory
    path + sys.path)

  File "C:\programs\qm\lib\qm\qm\common.py", line 450, in load_class
    module = load_module(module_name, search_path, load_path)

  File "C:\programs\qm\lib\qm\qm\common.py", line 396, in load_module
    module = imp.load_module(name, file, file_name, description)

  File "C:\programs\qm\lib\qm\qm\test\classes\command.py", line 24, in ?
    import qm.executable

  File "C:\programs\qm\lib\qm\qm\executable.py", line 26, in ?
    import pywintypes




More information about the qmtest mailing list