[Scipy-tickets] [SciPy] #490: weave.test(5) failures

SciPy scipy-tickets@scipy....
Fri Jan 11 13:26:11 CST 2008


#490: weave.test(5) failures
-------------------------+--------------------------------------------------
 Reporter:  eric         |        Owner:  eric
     Type:  defect       |       Status:  new 
 Priority:  high         |    Milestone:  0.7 
Component:  scipy.weave  |      Version:      
 Severity:  major        |   Resolution:      
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by nils):

 {{{
 >>> scipy.__version__
 '0.7.0.dev3812'
 }}}

 {{{
 ...warning: specified build_dir '_bad_path_' does not exist or is not
 writable. Trying default locations
 ...warning: specified build_dir '..' 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
 ...warning: specified build_dir '..' does not exist or is not writable.
 Trying default locations
 .<weave: compiling>
 creating
 /tmp/nwagner/python24_intermediate/compiler_dc4fe17de7765fced0d869942e4ccabc
 }}}


 {{{
 /home/nwagner/.python24_compiled/sc_2b01bfa9cce5c43d4c49a1d7e13f43d21.cpp:
 In function `PyObject* compiled_func(PyObject*, PyObject*)':
 /home/nwagner/.python24_compiled/sc_2b01bfa9cce5c43d4c49a1d7e13f43d21.cpp:664:
 error: no match for 'operator<' in 'a < 2'
 /home/nwagner/.python24_compiled/sc_2b01bfa9cce5c43d4c49a1d7e13f43d21.cpp:668:
 error: no match for 'operator+' in 'a + 1'
 /home/nwagner/.python24_compiled/sc_2b01bfa9cce5c43d4c49a1d7e13f43d21.cpp:
 In function `PyObject* compiled_func(PyObject*, PyObject*)':
 /home/nwagner/.python24_compiled/sc_2b01bfa9cce5c43d4c49a1d7e13f43d21.cpp:664:
 error: no match for 'operator<' in 'a < 2'
 /home/nwagner/.python24_compiled/sc_2b01bfa9cce5c43d4c49a1d7e13f43d21.cpp:668:
 error: no match for 'operator+' in 'a + 1'
 .%s access/set -- b[i] = a[i] for N = (<type 'list'>, 1000000)
 python: 0.312283039093
 }}}

 {{{
 ............................................................................................................../home/nwagner/wx_var_in.cpp:25:21:
 gdk/gdk.h: Datei oder Verzeichnis nicht gefunden
 /home/nwagner/wx_var_in.cpp: In function `PyObject* test(PyObject*,
 PyObject*, PyObject*)':
 /home/nwagner/wx_var_in.cpp:1099: error: request for member `mcall' in
 `a', which is of non-aggregate type `wxFrame*'
 /home/nwagner/wx_var_in.cpp:25:21: gdk/gdk.h: Datei oder Verzeichnis nicht
 gefunden
 /home/nwagner/wx_var_in.cpp: In function `PyObject* test(PyObject*,
 PyObject*, PyObject*)':
 /home/nwagner/wx_var_in.cpp:1099: error: request for member `mcall' in
 `a', which is of non-aggregate type `wxFrame*'
 E
 ======================================================================
 ERROR: check_var_in (scipy.weave.tests.test_wx_spec.TestWxConverter)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/lib/python2.4/site-
 packages/scipy/weave/tests/test_wx_spec.py", line 56, in check_var_in
     mod.compile()
   File "/usr/lib/python2.4/site-packages/scipy/weave/ext_tools.py", line
 365, in compile
     verbose = verbose, **kw)
   File "/usr/lib/python2.4/site-packages/scipy/weave/build_tools.py", line
 271, in build_extension
     setup(name = module_name, ext_modules = [ext],verbose=verb)
   File "/usr/lib/python2.4/site-packages/numpy/distutils/core.py", line
 178, in setup
     return old_setup(**new_attr)
   File "/usr/lib/python2.4/distutils/core.py", line 166, in setup
     raise SystemExit, "error: " + str(msg)
 CompileError: error: Command "g++ -pthread -fno-strict-aliasing -DNDEBUG
 -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -g -fPIC
 -I/usr/lib/python2.4/site-packages/scipy/weave -I/usr/lib/python2.4/site-
 packages/scipy/weave/scxx -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
 -I/usr/lib/glib/include -I/usr/lib/python2.4/site-
 packages/numpy/core/include -I/usr/include/python2.4 -c
 /home/nwagner/wx_var_in.cpp -o
 /tmp/nwagner/python24_intermediate/compiler_dc4fe17de7765fced0d869942e4ccabc/home/nwagner/wx_var_in.o
 -I/usr/lib/wx/include/gtk2-unicode-release-2.5 -I/usr/include/wx-2.5
 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
 -I/usr/lib/wx/include/gtk2-unicode-release-2.5 -I/usr/include/wx-2.5
 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
 failed with exit status 1

 ======================================================================
 FAIL: check_set_complex (test_scxx_object.TestObjectSetItemOpKey)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/lib/python2.4/site-
 packages/scipy/weave/tests/test_scxx_object.py", line 778, in
 check_set_complex
     assert_equal(sys.getrefcount(key),4) # should be 3
   File "/usr/lib/python2.4/site-packages/numpy/testing/utils.py", line
 145, in assert_equal
     assert desired == actual, msg
 AssertionError:
 Items are not equal:
  ACTUAL: 3
  DESIRED: 4

 ----------------------------------------------------------------------
 Ran 389 tests in 445.424s

 FAILED (failures=1, errors=1)
 }}}

-- 
Ticket URL: <http://scipy.org/scipy/scipy/ticket/490#comment:1>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list