Re: Grinder configuration issue/ImportError: No module named net
Philip Aston <[email protected]>
| Newsgroups | gmane.comp.java.grinder.devel |
|---|---|
| Message-ID | <[email protected]> |
(Please follow-up to grinder-use, grinder-development is for the development of the grinder itself). Alex, You can't run scripts directly from Jython, so this is why plain PyDev is failing. However, the GrinderStone plugin will help you - http://code.google.com/p/grinderstone/ - Phil On 08/02/11 16:43, Alex Frumes wrote: > > Hi! > > I am a newcomer to Grinder world and wantto configure and run Grinder > fromEclipse. > > I downloaded jython2.5.2rc3in C directory and use following parameters > in grinders property file: > > grinder.jvm.arguments = > -Dpython.home=C:/jython2.5.2rc3-Dpython.cachedir=C:/_tmp_/_mycache_ > > This is Eclipse console output of the Jython unit-test execution: > > Finding files... done. > > Traceback (most recent call last): > > _File "C:\Documents and > Settings\af\Desktop\eclipse-java-helios-SR1-win32\eclipse\plugins\org.python.pydev.debug_1.6.5.2011020317\pysrc\pydev_runfiles.py", > line 263, in _PydevTestRunner__get_module_from_str_ > > mod = __import__(modname) > > _File "C:\Documents and > Settings\afrumes\workspace\Grinder\src\amazon.py", line 19, in <module>_ > > from net.grinder.script.Grinder import grinder > > ImportError: No module named net > > ERROR: Module: amazon could not be imported (file: C:\Documents and > Settings\af\workspace\Grinder\src\amazon.py). > > Importing test modules ... done. > > ---------------------------------------------------------------------- > > Ran 0 tests in 0.000s > > OK > > Please, advise what is missing in theconfiguration file. > > Thank you! > > Alex > > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > > > _______________________________________________ > Grinder-development mailing list > Grinder-development-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/grinder-development ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Grinder-development mailing list Grinder-development-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/grinder-development