[SciPy-user] weave build errors

Christopher Fonnesbeck chris at fonnesbeck.org
Tue Oct 28 17:49:33 EST 2003


Running weave.test() results in the output below, where it seems to  
have trouble finding most of the tests. This is why I thought the  
warning about not finding __init__.py in tests was important. I have  
installed scipy_distutils, scipy_test and scipy_base; scipy_core and  
the full scipy cause problems, seemingly related to gcc3.4, as  
unrecognized symbols pop up.

 >>> weave.test()
   Found 2 tests for weave.blitz_tools
    !! No test file 'test_vtk_spec.py' found for <module  
'weave.vtk_spec' from '...te-packages/weave/vtk_spec.pyc'>
   Found 0 tests for weave.c_spec
    !! No test file 'test_base_spec.py' found for <module  
'weave.base_spec' from '...e-packages/weave/base_spec.pyc'>
   Found 16 tests for weave.slice_handler
   Found 3 tests for weave.standard_array_spec
   Found 12 tests for weave.build_tools
    !! No test file 'test_common_info.py' found for <module  
'weave.common_info' from '...packages/weave/common_info.pyc'>
    !! No test file 'test_converters.py' found for <module  
'weave.converters' from '...-packages/weave/converters.pyc'>
    !! No test file 'test_base_info.py' found for <module  
'weave.base_info' from '...e-packages/weave/base_info.pyc'>
    !! FAILURE importing tests for  <module 'weave.wx_spec' from  
'...ite-packages/weave/wx_spec.pyc'>
      
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/ 
site-packages/weave/tests/test_wx_spec.py:17: ImportError: No module  
named wxPython (in ?)
    !! No test file 'test_swigptr.py' found for <module 'weave.swigptr'  
from '...ite-packages/weave/swigptr.pyc'>
building extensions here: /Users/chris/.python23_compiled/m3
   Found 1 tests for weave.ext_tools
   Found 26 tests for weave.catalog
    !! No test file 'test_info_weave.py' found for <module  
'weave.info_weave' from '...-packages/weave/info_weave.pyc'>
    !! No test file 'test_blitz_spec.py' found for <module  
'weave.blitz_spec' from '...-packages/weave/blitz_spec.pyc'>
   Found 85 tests for weave.size_check
    !! No test file 'test_platform_info.py' found for <module  
'weave.platform_info' from '...ckages/weave/platform_info.pyc'>
   Found 1 tests for weave.ast_tools
    !! No test file 'test_accelerate_tools.py' found for <module  
'weave.accelerate_tools' from '...ges/weave/accelerate_tools.pyc'>
    !! No test file 'test___cvs_version__.py' found for <module  
'weave.__cvs_version__' from '...ages/weave/__cvs_version__.pyc'>
    !! No test file 'test_weave_version.py' found for <module  
'weave.weave_version' from '...ckages/weave/weave_version.pyc'>
    !! No test file 'test_dumbdbm_patched.py' found for <module  
'weave.dumbdbm_patched' from '...ages/weave/dumbdbm_patched.pyc'>
   Found 0 tests for weave.inline_tools
    !! No test file 'test_dumb_shelve.py' found for <module  
'weave.dumb_shelve' from '...packages/weave/dumb_shelve.pyc'>
    !! No test file 'test___init__.py' found for <module 'weave' from  
'...te-packages/weave/__init__.pyc'>
    !! No test file 'test_bytecodecompiler.py' found for <module  
'weave.bytecodecompiler' from '...ges/weave/bytecodecompiler.pyc'>
.....................warning: specified build_dir '_bad_path_' does not  
exist or is not writable. Trying default locations
.....warning: specified build_dir '_bad_path_' does not exist or is not  
writable. Trying default locations
........................................................................ 
................................................
----------------------------------------------------------------------
Ran 146 tests in 2.674s

OK
<unittest.TextTestRunner object at 0x13cfff0>
--
Christopher J. Fonnesbeck ( c h r i s @ f o n n e s b e c k . o r g )
Georgia Cooperative Fish & Wildlife Research Unit, University of Georgia



More information about the SciPy-User mailing list