SCIPY ====================================================================== ERROR: check_conversion (test_scxx_sequence.test_list) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/weave/tests/test_scxx_sequence.py", line 30, in check_conversion weave.inline("",['a']) File "/opt/local/lib/python2.5/site-packages/scipy/weave/inline_tools.py", line 342, in inline results = attempt_function_call(code,local_dict,global_dict) File "/opt/local/lib/python2.5/site-packages/scipy/weave/inline_tools.py", line 385, in attempt_function_call raise ValueError, 'function with correct signature not found' ValueError: function with correct signature not found ====================================================================== ERROR: check_string_add_speed (test_scxx_sequence.test_list) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/weave/tests/test_scxx_sequence.py", line 405, in check_string_add_speed inline_tools.inline(code,['a','b']) File "/opt/local/lib/python2.5/site-packages/scipy/weave/inline_tools.py", line 339, in inline **kw) File "/opt/local/lib/python2.5/site-packages/scipy/weave/inline_tools.py", line 447, in compile_function verbose=verbose, **kw) File "/opt/local/lib/python2.5/site-packages/scipy/weave/ext_tools.py", line 365, in compile verbose = verbose, **kw) File "/opt/local/lib/python2.5/site-packages/scipy/weave/build_tools.py", line 269, in build_extension setup(name = module_name, ext_modules = [ext],verbose=verb) File "/opt/local/lib/python2.5/site-packages/numpy/distutils/core.py", line 184, in setup return old_setup(**new_attr) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/core.py", line 168, in setup raise SystemExit, "error: " + str(msg) CompileError: error: Command "/usr/bin/g++-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/weave -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/weave/scxx -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c /Users/pedroborges/.python25_compiled/sc_30bcdfe77c16ba01711b3f9b4f2d38df4.cpp -o /var/folders/C4/C4-YW0e3G-epyqiLlpskeE+++TI/-Tmp-/pedroborges/python25_intermediate/compiler_29d94972c21e5212731779f18247b02b/Users/pedroborges/.python25_compiled/sc_30bcdfe77c16ba01711b3f9b4f2d38df4.o" failed with exit status 1 ====================================================================== ERROR: check_false (test_scxx_object.test_object_is_true) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/weave/tests/test_scxx_object.py", line 656, in check_false res = inline_tools.inline('return_val = a.mcall("not");',['a']) File "/opt/local/lib/python2.5/site-packages/scipy/weave/inline_tools.py", line 342, in inline results = attempt_function_call(code,local_dict,global_dict) File "/opt/local/lib/python2.5/site-packages/scipy/weave/inline_tools.py", line 354, in attempt_function_call results = apply(func,(local_dict,global_dict)) AttributeError: foo instance has no attribute 'not' ====================================================================== ERROR: check_true (test_scxx_object.test_object_is_true) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/weave/tests/test_scxx_object.py", line 660, in check_true res = inline_tools.inline('return_val = a.mcall("not");',['a']) File "/opt/local/lib/python2.5/site-packages/scipy/weave/inline_tools.py", line 325, in inline results = attempt_function_call(code,local_dict,global_dict) File "/opt/local/lib/python2.5/site-packages/scipy/weave/inline_tools.py", line 354, in attempt_function_call results = apply(func,(local_dict,global_dict)) AttributeError: 'NoneType' object has no attribute 'not' ====================================================================== ERROR: check_set_from_member (test_scxx_object.test_object_set_item_op_key) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/weave/tests/test_scxx_object.py", line 820, in check_set_from_member inline_tools.inline('a["first"] = a["second"];',['a']) File "/opt/local/lib/python2.5/site-packages/scipy/weave/inline_tools.py", line 339, in inline **kw) File "/opt/local/lib/python2.5/site-packages/scipy/weave/inline_tools.py", line 447, in compile_function verbose=verbose, **kw) File "/opt/local/lib/python2.5/site-packages/scipy/weave/ext_tools.py", line 365, in compile verbose = verbose, **kw) File "/opt/local/lib/python2.5/site-packages/scipy/weave/build_tools.py", line 269, in build_extension setup(name = module_name, ext_modules = [ext],verbose=verb) File "/opt/local/lib/python2.5/site-packages/numpy/distutils/core.py", line 184, in setup return old_setup(**new_attr) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/core.py", line 168, in setup raise SystemExit, "error: " + str(msg) CompileError: error: Command "/usr/bin/g++-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/weave -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/weave/scxx -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c /Users/pedroborges/.python25_compiled/sc_a35665b241c24d6c9d3fd21e957285664.cpp -o /var/folders/C4/C4-YW0e3G-epyqiLlpskeE+++TI/-Tmp-/pedroborges/python25_intermediate/compiler_29d94972c21e5212731779f18247b02b/Users/pedroborges/.python25_compiled/sc_a35665b241c24d6c9d3fd21e957285664.o" failed with exit status 1 ====================================================================== ERROR: check_conversion (test_scxx_sequence.test_tuple) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/weave/tests/test_scxx_sequence.py", line 30, in check_conversion weave.inline("",['a']) File "/opt/local/lib/python2.5/site-packages/scipy/weave/inline_tools.py", line 342, in inline results = attempt_function_call(code,local_dict,global_dict) File "/opt/local/lib/python2.5/site-packages/scipy/weave/inline_tools.py", line 385, in attempt_function_call raise ValueError, 'function with correct signature not found' ValueError: function with correct signature not found ====================================================================== ERROR: check_false (scipy.weave.tests.test_scxx_object.test_object_is_true) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/weave/tests/test_scxx_object.py", line 656, in check_false res = inline_tools.inline('return_val = a.mcall("not");',['a']) File "/opt/local/lib/python2.5/site-packages/scipy/weave/inline_tools.py", line 325, in inline results = attempt_function_call(code,local_dict,global_dict) File "/opt/local/lib/python2.5/site-packages/scipy/weave/inline_tools.py", line 354, in attempt_function_call results = apply(func,(local_dict,global_dict)) AttributeError: foo instance has no attribute 'not' ====================================================================== ERROR: check_true (scipy.weave.tests.test_scxx_object.test_object_is_true) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/weave/tests/test_scxx_object.py", line 660, in check_true res = inline_tools.inline('return_val = a.mcall("not");',['a']) File "/opt/local/lib/python2.5/site-packages/scipy/weave/inline_tools.py", line 325, in inline results = attempt_function_call(code,local_dict,global_dict) File "/opt/local/lib/python2.5/site-packages/scipy/weave/inline_tools.py", line 354, in attempt_function_call results = apply(func,(local_dict,global_dict)) AttributeError: 'NoneType' object has no attribute 'not' ====================================================================== ERROR: check_set_from_member (scipy.weave.tests.test_scxx_object.test_object_set_item_op_key) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/weave/tests/test_scxx_object.py", line 820, in check_set_from_member inline_tools.inline('a["first"] = a["second"];',['a']) File "/opt/local/lib/python2.5/site-packages/scipy/weave/inline_tools.py", line 339, in inline **kw) File "/opt/local/lib/python2.5/site-packages/scipy/weave/inline_tools.py", line 447, in compile_function verbose=verbose, **kw) File "/opt/local/lib/python2.5/site-packages/scipy/weave/ext_tools.py", line 365, in compile verbose = verbose, **kw) File "/opt/local/lib/python2.5/site-packages/scipy/weave/build_tools.py", line 269, in build_extension setup(name = module_name, ext_modules = [ext],verbose=verb) File "/opt/local/lib/python2.5/site-packages/numpy/distutils/core.py", line 184, in setup return old_setup(**new_attr) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/core.py", line 168, in setup raise SystemExit, "error: " + str(msg) CompileError: error: Command "/usr/bin/g++-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/weave -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/weave/scxx -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c /Users/pedroborges/.python25_compiled/sc_a35665b241c24d6c9d3fd21e957285665.cpp -o /var/folders/C4/C4-YW0e3G-epyqiLlpskeE+++TI/-Tmp-/pedroborges/python25_intermediate/compiler_29d94972c21e5212731779f18247b02b/Users/pedroborges/.python25_compiled/sc_a35665b241c24d6c9d3fd21e957285665.o" failed with exit status 1 ====================================================================== ERROR: check_conversion (scipy.weave.tests.test_scxx_sequence.test_list) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/weave/tests/test_scxx_sequence.py", line 30, in check_conversion weave.inline("",['a']) File "/opt/local/lib/python2.5/site-packages/scipy/weave/inline_tools.py", line 342, in inline results = attempt_function_call(code,local_dict,global_dict) File "/opt/local/lib/python2.5/site-packages/scipy/weave/inline_tools.py", line 385, in attempt_function_call raise ValueError, 'function with correct signature not found' ValueError: function with correct signature not found ====================================================================== ERROR: check_string_add_speed (scipy.weave.tests.test_scxx_sequence.test_list) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/weave/tests/test_scxx_sequence.py", line 405, in check_string_add_speed inline_tools.inline(code,['a','b']) File "/opt/local/lib/python2.5/site-packages/scipy/weave/inline_tools.py", line 339, in inline **kw) File "/opt/local/lib/python2.5/site-packages/scipy/weave/inline_tools.py", line 447, in compile_function verbose=verbose, **kw) File "/opt/local/lib/python2.5/site-packages/scipy/weave/ext_tools.py", line 365, in compile verbose = verbose, **kw) File "/opt/local/lib/python2.5/site-packages/scipy/weave/build_tools.py", line 269, in build_extension setup(name = module_name, ext_modules = [ext],verbose=verb) File "/opt/local/lib/python2.5/site-packages/numpy/distutils/core.py", line 184, in setup return old_setup(**new_attr) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/core.py", line 168, in setup raise SystemExit, "error: " + str(msg) CompileError: error: Command "/usr/bin/g++-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/weave -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/weave/scxx -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c /Users/pedroborges/.python25_compiled/sc_30bcdfe77c16ba01711b3f9b4f2d38df5.cpp -o /var/folders/C4/C4-YW0e3G-epyqiLlpskeE+++TI/-Tmp-/pedroborges/python25_intermediate/compiler_29d94972c21e5212731779f18247b02b/Users/pedroborges/.python25_compiled/sc_30bcdfe77c16ba01711b3f9b4f2d38df5.o" failed with exit status 1 ====================================================================== ERROR: check_conversion (scipy.weave.tests.test_scxx_sequence.test_tuple) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/weave/tests/test_scxx_sequence.py", line 30, in check_conversion weave.inline("",['a']) File "/opt/local/lib/python2.5/site-packages/scipy/weave/inline_tools.py", line 342, in inline results = attempt_function_call(code,local_dict,global_dict) File "/opt/local/lib/python2.5/site-packages/scipy/weave/inline_tools.py", line 385, in attempt_function_call raise ValueError, 'function with correct signature not found' ValueError: function with correct signature not found ====================================================================== FAIL: Solve: single precision complex ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/linsolve/umfpack/tests/test_umfpack.py", line 32, in check_solve_complex_without_umfpack assert_array_almost_equal(a*x, b) File "/opt/local/lib/python2.5/site-packages/numpy/testing/utils.py", line 255, in assert_array_almost_equal header='Arrays are not almost equal') File "/opt/local/lib/python2.5/site-packages/numpy/testing/utils.py", line 240, in assert_array_compare assert cond, msg AssertionError: Arrays are not almost equal (mismatch 20.0%) x: array([ 1.00000000+0.j, 1.99999809+0.j, 3.00000000+0.j, 4.00000048+0.j, 5.00000000+0.j], dtype=complex64) y: array([1, 2, 3, 4, 5]) ====================================================================== FAIL: check_noargs (test_scxx_object.test_object_call) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/weave/tests/test_scxx_object.py", line 485, in check_noargs assert_equal(sys.getrefcount(res),2) File "/opt/local/lib/python2.5/site-packages/numpy/testing/utils.py", line 145, in assert_equal assert desired == actual, msg AssertionError: Items are not equal: ACTUAL: 3 DESIRED: 2 ====================================================================== FAIL: check_set_complex (test_scxx_object.test_object_set_item_op_key) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/weave/tests/test_scxx_object.py", line 789, in check_set_complex assert_equal(sys.getrefcount(key),3) File "/opt/local/lib/python2.5/site-packages/numpy/testing/utils.py", line 145, in assert_equal assert desired == actual, msg AssertionError: Items are not equal: ACTUAL: 4 DESIRED: 3 ====================================================================== FAIL: check_noargs (scipy.weave.tests.test_scxx_object.test_object_call) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/weave/tests/test_scxx_object.py", line 485, in check_noargs assert_equal(sys.getrefcount(res),2) File "/opt/local/lib/python2.5/site-packages/numpy/testing/utils.py", line 145, in assert_equal assert desired == actual, msg AssertionError: Items are not equal: ACTUAL: 3 DESIRED: 2 ====================================================================== FAIL: check_set_complex (scipy.weave.tests.test_scxx_object.test_object_set_item_op_key) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/scipy/weave/tests/test_scxx_object.py", line 789, in check_set_complex assert_equal(sys.getrefcount(key),3) File "/opt/local/lib/python2.5/site-packages/numpy/testing/utils.py", line 145, in assert_equal assert desired == actual, msg AssertionError: Items are not equal: ACTUAL: 4 DESIRED: 3 ---------------------------------------------------------------------- Ran 2257 tests in 132.325s FAILED (failures=5, errors=12) NUMPY ====================================================================== ERROR: Ticket #396 ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/tests/test_regression.py", line 602, in check_poly1d_nan_roots self.failUnlessRaises(np.linalg.LinAlgError,getattr,p,"r") File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/unittest.py", line 320, in failUnlessRaises callableObj(*args, **kwargs) File "/opt/local/lib/python2.5/site-packages/numpy/lib/polynomial.py", line 661, in __getattr__ return roots(self.coeffs) File "/opt/local/lib/python2.5/site-packages/numpy/lib/polynomial.py", line 124, in roots roots = _eigvals(A) File "/opt/local/lib/python2.5/site-packages/numpy/lib/polynomial.py", line 37, in _eigvals return eigvals(arg) File "/opt/local/lib/python2.5/site-packages/scipy/linalg/decomp.py", line 378, in eigvals return eig(a,b=b,left=0,right=0,overwrite_a=overwrite_a) File "/opt/local/lib/python2.5/site-packages/scipy/linalg/decomp.py", line 128, in eig a1 = asarray_chkfinite(a) File "/opt/local/lib/python2.5/site-packages/numpy/lib/function_base.py", line 527, in asarray_chkfinite raise ValueError, "array must not contain infs or NaNs" ValueError: array must not contain infs or NaNs ====================================================================== ERROR: Ticket #396 ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/core/tests/test_regression.py", line 602, in check_poly1d_nan_roots self.failUnlessRaises(np.linalg.LinAlgError,getattr,p,"r") File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/unittest.py", line 320, in failUnlessRaises callableObj(*args, **kwargs) File "/opt/local/lib/python2.5/site-packages/numpy/lib/polynomial.py", line 661, in __getattr__ return roots(self.coeffs) File "/opt/local/lib/python2.5/site-packages/numpy/lib/polynomial.py", line 124, in roots roots = _eigvals(A) File "/opt/local/lib/python2.5/site-packages/numpy/lib/polynomial.py", line 37, in _eigvals return eigvals(arg) File "/opt/local/lib/python2.5/site-packages/scipy/linalg/decomp.py", line 378, in eigvals return eig(a,b=b,left=0,right=0,overwrite_a=overwrite_a) File "/opt/local/lib/python2.5/site-packages/scipy/linalg/decomp.py", line 128, in eig a1 = asarray_chkfinite(a) File "/opt/local/lib/python2.5/site-packages/numpy/lib/function_base.py", line 527, in asarray_chkfinite raise ValueError, "array must not contain infs or NaNs" ValueError: array must not contain infs or NaNs ---------------------------------------------------------------------- Ran 1187 tests in 1.854s FAILED (errors=2)