Mailingliste - Einträge 2006


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [qftestJUI] NameError: qftestJUI


  • Subject: Re: [qftestJUI] NameError: qftestJUI
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: 16 Feb 2006 10:38:31 +0100

Hello Bastian,

weird problem. I've seen issues with the jython cachedir before, but
usually removing it fixes it for quite a while, not just until the
next day.

What's happening with your setup during the night? Any changes to
local installations, a reinstalled SUT with its own JRE for example?

Are you using any network drives? Windows often has problems
(re)mapping the drives if a non-Microsoft program tries to access
something.

Also, it may be worth to try using the standard jython cachedir in 
C:\Programme\qfs\qftest\jython\cachedir

Remove your local cachedir and ensure that the above directory exists
and is writable. Java on Windows often has weird notions about a
directory being writable or not though... :-(

Best regards,
    Greg

Bastian Bowe <Bastian.Bowe@?.de> writes:

> Hello,
> 
> after starting a Jython ServerScript I'm getting the error:
> de.qfs.apps.qftest.run.ScriptException: Das Skript ist mit der folgenden 
> Meldung fehlgeschlagen:
> Traceback (innermost last):
>   File "<string>", line 1, in ?
> NameError: qftestJUI
> 
>         at 
> de.qfs.apps.qftest.run.RMIRunContext.runScript(RMIRunContext.java:925)
>         at 
> de.qfs.apps.qftest.step.ServerScriptStep.exec(ServerScriptStep.java:113)
>         at 
> de.qfs.apps.qftest.run.AbstractRunContext.call(AbstractRunContext.java:972)
> ...
> 
> Opening a jython terminal:
> Jython 2.1 on java1.4.2_06 (JIT: null)
> >>> import qftestJUI
> >>> reload(qftestJUI)
> Traceback (innermost last):
>   File "<console>", line 1, in ?
>   File "C:\Programme\qfs\qftest\qftestJUI-1.08.2\jython\Lib\qftestJUI.py", 
> line 4, in ?
> ImportError: no module named javax
> 
> Stopping qftestJUI and deleting the jython-cachedir in my .qftest folder 
> fixes the problem. I can start and stop qftestJUI and running the Jython 
> server script node as often I like. The next day (!) I'm starting qftest 
> the problem is back. Any ideas besides writing a batch file to delete the 
> jython-cachedir?
> 
> Regards, Bastian

-- 
Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH                     http://www.qfs.de
Tulpenstr. 41                                Tel: +49 8171 919870
DE-82538 Geretsried                          Fax: +49 8171 919876


Videos Downloads Dokumentation Kaufen Gratis Testen