Hi Alan,

RandomArray is one of the Numeric extensions rather than a core part of
Numeric. To get this you need to install python-numeric-ext as well as
python-numeric under Debian. I should make a note of this. 

RandomArray was added for example x09 which won't work correctly under 
Numeric anyway as griddata currently only seems to work with the numpy 
interface. Disabling example 9 for Numeric might be the best solution 
for now.

Andrew

On Wed, Aug 15, 2007 at 03:59:37PM -0700, Alan Irwin wrote:
> Hi Andrew:
> 
> I just tried the following cmake options with a fresh svn update:
> 
> -DBUILD_TEST=ON -DHAVE_NUMPY=OFF
> 
> cmake (starting from an empty build tree) and make results seemed fine
> (although I can pass them on to you if you need them).  However, ctest had a
> python/Numeric error as a result of these options.  Here is the complete
> message.
> 
> [EMAIL PROTECTED]> ctest --verbose --tests-regex 'python'
> Start processing tests
> Test project /home/software/plplot_cvs/HEAD/build_dir
> Constructing a list of tests
> Done constructing a list of tests
> Changing directory into /home/software/plplot_cvs/HEAD/build_dir/test
>    5/ 11 Testing examples_python 
> Test command: /bin/bash -c 
> EXAMPLES_DIR=/home/software/plplot_cvs/HEAD/build_dir/examples\ 
> SRC_EXAMPLES_DIR=/home/software/plplot_cvs/HEAD/plplot_cmake/examples\ 
> PLPLOT_LIB=/home/software/plplot_cvs/HEAD/plplot_cmake/data/\ 
> ./plplot-test.sh\ --device=psc\ --front-end=python
> Testing front-end python
> Traceback (most recent call last):
>    File "/home/software/plplot_cvs/HEAD/build_dir/examples/python/x01", line 
> 36, in ?
>      import xw01
>    File "/home/software/plplot_cvs/HEAD/build_dir/examples/python/xw01.py", 
> line 3, in ?
>      from plplot_py_demos import *
>    File 
> "/home/software/plplot_cvs/HEAD/build_dir/examples/python/plplot_py_demos.py",
>  line 4, in ?
>      from RandomArray import random
> ImportError: No module named RandomArray
> -- Process completed
> ***Failed
> 
> 0% tests passed, 1 tests failed out of 1
> 
> The following tests FAILED:
>            5 - examples_python (Failed)
> Errors while running CTest
> 
> This bug in our traditional Python/Numeric interface may affect 5.7.4 as
> well so there is probably some urgency to finding the fix.
> 
> Alan
> __________________________
> Alan W. Irwin
> 
> Astronomical research affiliation with Department of Physics and Astronomy,
> University of Victoria (astrowww.phys.uvic.ca).
> 
> Programming affiliations with the FreeEOS equation-of-state implementation
> for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
> package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
> Linux Links project (loll.sf.net); and the Linux Brochure Project
> (lbproject.sf.net).
> __________________________
> 
> Linux-powered Science
> __________________________
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Plplot-devel mailing list
> Plplot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plplot-devel
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to