[SciPy-User] numpy , scipy : test skipped on osx

Massimo Di Stefano massimodisasha@gmail....
Tue Jun 1 15:22:40 CDT 2010


that's what i tried :


while :

numpy.test()                                 (skip all the test without logs)  [1]
numpy.test(verbose=10)           (skip all the test  swowing the log)  [2]
 

i have that :
numpy.test('1','10', extra_argv=['--exe'])

runs the test as aspected, but i have a python segfault (it probably depends from something wrong on my system configuration
but i have no clue on how to debug it.

..
..
test_optional_none (test_array_from_pyobj.test_USHORT_gen) ... ok
test_in_out (test_array_from_pyobj.test_intent) ... ok
test_callback.TestF77Callback.test_all ... Fatal Python error: /var/folders/G7/G7KYb9O2GaGW2zFTZZP9nE+++TI/-Tmp-/tmpefY15u/src.macosx-10.5-intel-2.6/_test_ext_module_5403module.c:206 object at 0x102ea8a00 has negative ref count -2604246222170760230
Abort trap



see the test log :

http://www.geofemengineering.it/data/numpy_test_osx.txt

and the osx crash log :

http://www.geofemengineering.it/data/numpy_svn_test_osx_crashlog.txt


thanks to All for any help!

Massimo.


[1]

MacBook-Pro-15-di-Massimo-Di-Stefano:bld sasha$ python
Python 2.6.5 (r265:79063, May 31 2010, 17:10:00) 
[GCC 4.2.1 (Apple Inc. build 5659)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
[113311 refs]
>>> numpy.test()
Running unit tests for numpy
NumPy version 2.0.0.dev8448
NumPy is installed in /usr/local/gislib/unix/lib/python2.6/site-packages/numpy
Python version 2.6.5 (r265:79063, May 31 2010, 17:10:00) [GCC 4.2.1 (Apple Inc. build 5659)]
nose version 0.11.3

----------------------------------------------------------------------
Ran 0 tests in 0.129s

OK
<nose.result.TextTestResult run=0 errors=0 failures=0>
[299676 refs]

[2]

>>> numpy.test(verbose=10)
Running unit tests for numpy
NumPy version 2.0.0.dev8448
NumPy is installed in /usr/local/gislib/unix/lib/python2.6/site-packages/numpy
Python version 2.6.5 (r265:79063, May 31 2010, 17:10:00) [GCC 4.2.1 (Apple Inc. build 5659)]
nose version 0.11.3
nose.config: INFO: Excluding tests matching ['f2py_ext', 'f2py_f90_ext', 'gen_ext', 'pyrex_ext', 'swig_ext']
nose.config: INFO: Excluding tests matching ['f2py_ext', 'f2py_f90_ext', 'gen_ext', 'pyrex_ext', 'swig_ext']
nose.selector: INFO: /usr/local/gislib/unix/lib/python2.6/site-packages/numpy/COMPATIBILITY is executable; skipped
nose.selector: INFO: /usr/local/gislib/unix/lib/python2.6/site-packages/numpy/COMPATIBILITY is executable; skipped
nose.selector: INFO: /usr/local/gislib/unix/lib/python2.6/site-packages/numpy/DEV_README.txt is executable; skipped
...
.....
nose.selector: INFO: /usr/local/gislib/unix/lib/python2.6/site-packages/numpy/testing/tests/test_utils.py is executable; skipped
nose.selector: INFO: /usr/local/gislib/unix/lib/python2.6/site-packages/numpy/tests/test_ctypeslib.py is executable; skipped
nose.selector: INFO: /usr/local/gislib/unix/lib/python2.6/site-packages/numpy/tests/test_ctypeslib.py is executable; skipped

----------------------------------------------------------------------
Ran 0 tests in 0.174s

OK
<nose.result.TextTestResult run=0 errors=0 failures=0>
[304709 refs]
>>> 



Il giorno 01/giu/2010, alle ore 18.42, Bruce Southey ha scritto:

> On 06/01/2010 11:26 AM, Massimo Di Stefano wrote:
>> Apologize my previouse mail was incomplete, it don't show the full test log
>> 
>> see my previouse post :
>> 
>> http://mail.scipy.org/pipermail/scipy-user/2010-June/025517.html
>> 
>> as you can see All the test are skipped :-/
>> 
>> 
>> Il giorno 01/giu/2010, alle ore 17.57, Vincent Davis ha scritto:
>> 
>> 
>>> I think many of the tested are skipped becuase they are not relevant
>>> to osx. It seems the last time I installed I got the same. I am on a
>>> phone so it is difficult for me to read you test results but I think
>>> you might find that that are looking for items that are not on osx.
>>> Just a thought
>>> 
>>> Vincent
>>> 
>>> 
>>> On Tuesday, June 1, 2010, Massimo Di Stefano<massimodisasha@gmail.com>  wrote:
>>> 
>>>> I'm tring to find answer on googlebut seems i'm the only that runs in this problem.
>>>> i've no clue on what i'm missing,i'm avaiable for any kind of testthanks a lot for any help!
>>>> Regards,
>>>> Massimo
>>>> 
>>>> 
>>>> Il giorno 01/giu/2010, alle ore 17.16, scipy-user-request@scipy.org ha scritto:
>>>> I installed numpy / scipy from svn
>>>> 
>>>> i used :
>>>> 
>>>> python setup.py build
>>>> sudo python setup.py install
>>>> 
>>>> i'm using a python 2.6.5 installed from source in
>>>> /usr/local/gislib/unix/bin/python
>>>> 
>>>> i had the same problem some month ago
>>>> (using the system python that comes with osx)
>>>> someone helped me on scipy irc channel
>>>> but i forghet what we did to fix the "skipped test" problem.
>>>> 
>>>> 
>>>> thnks,
>>>> 
>>>> Massimo.
>>>> 
>>>> Il giorno 01/giu/2010, alle ore 09.19, David Cournapeau ha scritto:
>>>> 
>>>> On Tue, Jun 1, 2010 at 4:07 PM, Massimo Di Stefano
>>>> <massimodisasha@gmail.com>  wrote:
>>>> Hi All,
>>>> i'm on OS X 10.6.3
>>>> python 2.6.5
>>>> numpy, scipy (svn versions)
>>>> 
>>>> tring to run he numpy/scipy i have :
>>>> 
>>>> import numpy
>>>> [461526 refs]
>>>> numpy.test('1','10')
>>>> Running unit tests for numpy
>>>> NumPy version 2.0.0.dev8448
>>>> NumPy is installed in /usr/local/gislib/unix/lib/python2.6/site-packages/numpy
>>>> Python version 2.6.5 (r265:79063, May 31 2010, 17:10:00) [GCC 4.2.1 (Apple Inc. build 5659)]
>>>> nose version 0.11.3
>>>> nose.config: INFO: Excluding tests matching ['f2py_ext', 'f2py_f90_ext', 'gen_ext', 'pyrex_ext', 'swig_ext']
>>>> nose.config: INFO: Excluding tests matching ['f2py_ext', 'f2py_f90_ext', 'gen_ext', 'pyrex_ext', 'swig_ext']
>>>> nose.selector: INFO: /usr/local/gislib/unix/lib/python2.6/site-packages/numpy/COMPATIBILITY is executable; skipped
>>>> 
>>>> 
>>> _______________________________________________
>>> SciPy-User mailing list
>>> SciPy-User@scipy.org
>>> http://mail.scipy.org/mailman/listinfo/scipy-user
>>> 
>> _______________________________________________
>> SciPy-User mailing list
>> SciPy-User@scipy.org
>> http://mail.scipy.org/mailman/listinfo/scipy-user
>> 
> Why do you use "numpy.test('1','10')"?
> "numpy.test()" should be sufficient for basic test. Otherwise read the 
> docstring as some arguments are meant to be integer, list or Boolean:
> http://docs.scipy.org/numpy/docs/numpy.testing.nosetester.NoseTester.test/
> such as "numpy.test(verbose=10)"
> 
> Bruce
> 
> 
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user



More information about the SciPy-User mailing list