Alan,

Example 21 is now disabled in the automatic tests since is doesn't work
with Numeric anyway.

I've commented out the use of RandomArray for now since the only place
it is used is in example 21. Example 17 actually uses random.random,
which is part of python. This only generates single random numbers
though, not an array of random numbers.

Works for me - can you check?

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