[SciPy-user] scipy compilation succeeds, test fails

Michele Mazzucco michelemazzucco at gmail.com
Sat Apr 21 15:33:07 EDT 2007


Hi Steve,

do I need to rebuild numpy as well?, numpy's test is ok.

Michele

On 4/21/07, Steve Lianoglou <lists.steve at arachnedesign.net> wrote:
> I remember reading mention of some recent behavior regarding the
> matlab io functions, and I think it's fixed in the latest SVN branch.
>
> If you haven't already, try rebuilding numpy from the latest SVN
> checkout, and again scipy from the latest svn.
>
> -steve
>
> On Apr 21, 2007, at 2:49 PM, Michele Mazzucco wrote:
>
> > Robert,
> >
> > I did what you told me, however now I get even more failures when I
> > test the library:
> >
> > ======================================================================
> > ERROR: check loadmat case 3dmatrix
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 85, in cc
> >     self._check_case(name, files, expected)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 75, in _check_case
> >     matdict = loadmat(file_name)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio.py",
> > line 96, in loadmat
> >     matfile_dict = MR.get_variables()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/miobase.py",
> > line 269, in get_variables
> >     mdict = self.file_header()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio5.py",
> > line 510, in file_header
> >     hdict['__header__'] = hdr['description'].strip(' \t\n\000')
> > AttributeError: 'numpy.ndarray' object has no attribute 'strip'
> >
> > ======================================================================
> > ERROR: check loadmat case cell
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 85, in cc
> >     self._check_case(name, files, expected)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 75, in _check_case
> >     matdict = loadmat(file_name)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio.py",
> > line 96, in loadmat
> >     matfile_dict = MR.get_variables()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/miobase.py",
> > line 269, in get_variables
> >     mdict = self.file_header()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio5.py",
> > line 510, in file_header
> >     hdict['__header__'] = hdr['description'].strip(' \t\n\000')
> > AttributeError: 'numpy.ndarray' object has no attribute 'strip'
> >
> > ======================================================================
> > ERROR: check loadmat case cellnest
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 85, in cc
> >     self._check_case(name, files, expected)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 75, in _check_case
> >     matdict = loadmat(file_name)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio.py",
> > line 96, in loadmat
> >     matfile_dict = MR.get_variables()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/miobase.py",
> > line 269, in get_variables
> >     mdict = self.file_header()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio5.py",
> > line 510, in file_header
> >     hdict['__header__'] = hdr['description'].strip(' \t\n\000')
> > AttributeError: 'numpy.ndarray' object has no attribute 'strip'
> >
> > ======================================================================
> > ERROR: check loadmat case complex
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 85, in cc
> >     self._check_case(name, files, expected)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 75, in _check_case
> >     matdict = loadmat(file_name)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio.py",
> > line 96, in loadmat
> >     matfile_dict = MR.get_variables()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/miobase.py",
> > line 269, in get_variables
> >     mdict = self.file_header()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio5.py",
> > line 510, in file_header
> >     hdict['__header__'] = hdr['description'].strip(' \t\n\000')
> > AttributeError: 'numpy.ndarray' object has no attribute 'strip'
> >
> > ======================================================================
> > ERROR: check loadmat case double
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 85, in cc
> >     self._check_case(name, files, expected)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 75, in _check_case
> >     matdict = loadmat(file_name)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio.py",
> > line 96, in loadmat
> >     matfile_dict = MR.get_variables()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/miobase.py",
> > line 269, in get_variables
> >     mdict = self.file_header()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio5.py",
> > line 510, in file_header
> >     hdict['__header__'] = hdr['description'].strip(' \t\n\000')
> > AttributeError: 'numpy.ndarray' object has no attribute 'strip'
> >
> > ======================================================================
> > ERROR: check loadmat case emptycell
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 85, in cc
> >     self._check_case(name, files, expected)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 75, in _check_case
> >     matdict = loadmat(file_name)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio.py",
> > line 96, in loadmat
> >     matfile_dict = MR.get_variables()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/miobase.py",
> > line 269, in get_variables
> >     mdict = self.file_header()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio5.py",
> > line 510, in file_header
> >     hdict['__header__'] = hdr['description'].strip(' \t\n\000')
> > AttributeError: 'numpy.ndarray' object has no attribute 'strip'
> >
> > ======================================================================
> > ERROR: check loadmat case matrix
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 85, in cc
> >     self._check_case(name, files, expected)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 75, in _check_case
> >     matdict = loadmat(file_name)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio.py",
> > line 96, in loadmat
> >     matfile_dict = MR.get_variables()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/miobase.py",
> > line 269, in get_variables
> >     mdict = self.file_header()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio5.py",
> > line 510, in file_header
> >     hdict['__header__'] = hdr['description'].strip(' \t\n\000')
> > AttributeError: 'numpy.ndarray' object has no attribute 'strip'
> >
> > ======================================================================
> > ERROR: check loadmat case minus
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 85, in cc
> >     self._check_case(name, files, expected)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 75, in _check_case
> >     matdict = loadmat(file_name)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio.py",
> > line 96, in loadmat
> >     matfile_dict = MR.get_variables()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/miobase.py",
> > line 269, in get_variables
> >     mdict = self.file_header()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio5.py",
> > line 510, in file_header
> >     hdict['__header__'] = hdr['description'].strip(' \t\n\000')
> > AttributeError: 'numpy.ndarray' object has no attribute 'strip'
> >
> > ======================================================================
> > ERROR: check loadmat case multi
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 85, in cc
> >     self._check_case(name, files, expected)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 75, in _check_case
> >     matdict = loadmat(file_name)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio.py",
> > line 96, in loadmat
> >     matfile_dict = MR.get_variables()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/miobase.py",
> > line 269, in get_variables
> >     mdict = self.file_header()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio5.py",
> > line 510, in file_header
> >     hdict['__header__'] = hdr['description'].strip(' \t\n\000')
> > AttributeError: 'numpy.ndarray' object has no attribute 'strip'
> >
> > ======================================================================
> > ERROR: check loadmat case object
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 85, in cc
> >     self._check_case(name, files, expected)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 75, in _check_case
> >     matdict = loadmat(file_name)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio.py",
> > line 96, in loadmat
> >     matfile_dict = MR.get_variables()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/miobase.py",
> > line 269, in get_variables
> >     mdict = self.file_header()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio5.py",
> > line 510, in file_header
> >     hdict['__header__'] = hdr['description'].strip(' \t\n\000')
> > AttributeError: 'numpy.ndarray' object has no attribute 'strip'
> >
> > ======================================================================
> > ERROR: check loadmat case onechar
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 85, in cc
> >     self._check_case(name, files, expected)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 75, in _check_case
> >     matdict = loadmat(file_name)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio.py",
> > line 96, in loadmat
> >     matfile_dict = MR.get_variables()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/miobase.py",
> > line 269, in get_variables
> >     mdict = self.file_header()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio5.py",
> > line 510, in file_header
> >     hdict['__header__'] = hdr['description'].strip(' \t\n\000')
> > AttributeError: 'numpy.ndarray' object has no attribute 'strip'
> >
> > ======================================================================
> > ERROR: check loadmat case sparse
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 85, in cc
> >     self._check_case(name, files, expected)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 75, in _check_case
> >     matdict = loadmat(file_name)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio.py",
> > line 96, in loadmat
> >     matfile_dict = MR.get_variables()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/miobase.py",
> > line 269, in get_variables
> >     mdict = self.file_header()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio5.py",
> > line 510, in file_header
> >     hdict['__header__'] = hdr['description'].strip(' \t\n\000')
> > AttributeError: 'numpy.ndarray' object has no attribute 'strip'
> >
> > ======================================================================
> > ERROR: check loadmat case sparsecomplex
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 85, in cc
> >     self._check_case(name, files, expected)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 75, in _check_case
> >     matdict = loadmat(file_name)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio.py",
> > line 96, in loadmat
> >     matfile_dict = MR.get_variables()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/miobase.py",
> > line 269, in get_variables
> >     mdict = self.file_header()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio5.py",
> > line 510, in file_header
> >     hdict['__header__'] = hdr['description'].strip(' \t\n\000')
> > AttributeError: 'numpy.ndarray' object has no attribute 'strip'
> >
> > ======================================================================
> > ERROR: check loadmat case string
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 85, in cc
> >     self._check_case(name, files, expected)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 75, in _check_case
> >     matdict = loadmat(file_name)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio.py",
> > line 96, in loadmat
> >     matfile_dict = MR.get_variables()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/miobase.py",
> > line 269, in get_variables
> >     mdict = self.file_header()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio5.py",
> > line 510, in file_header
> >     hdict['__header__'] = hdr['description'].strip(' \t\n\000')
> > AttributeError: 'numpy.ndarray' object has no attribute 'strip'
> >
> > ======================================================================
> > ERROR: check loadmat case stringarray
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 85, in cc
> >     self._check_case(name, files, expected)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 75, in _check_case
> >     matdict = loadmat(file_name)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio.py",
> > line 96, in loadmat
> >     matfile_dict = MR.get_variables()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/miobase.py",
> > line 269, in get_variables
> >     mdict = self.file_header()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio5.py",
> > line 510, in file_header
> >     hdict['__header__'] = hdr['description'].strip(' \t\n\000')
> > AttributeError: 'numpy.ndarray' object has no attribute 'strip'
> >
> > ======================================================================
> > ERROR: check loadmat case struct
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 85, in cc
> >     self._check_case(name, files, expected)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 75, in _check_case
> >     matdict = loadmat(file_name)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio.py",
> > line 96, in loadmat
> >     matfile_dict = MR.get_variables()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/miobase.py",
> > line 269, in get_variables
> >     mdict = self.file_header()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio5.py",
> > line 510, in file_header
> >     hdict['__header__'] = hdr['description'].strip(' \t\n\000')
> > AttributeError: 'numpy.ndarray' object has no attribute 'strip'
> >
> > ======================================================================
> > ERROR: check loadmat case structarr
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 85, in cc
> >     self._check_case(name, files, expected)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 75, in _check_case
> >     matdict = loadmat(file_name)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio.py",
> > line 96, in loadmat
> >     matfile_dict = MR.get_variables()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/miobase.py",
> > line 269, in get_variables
> >     mdict = self.file_header()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio5.py",
> > line 510, in file_header
> >     hdict['__header__'] = hdr['description'].strip(' \t\n\000')
> > AttributeError: 'numpy.ndarray' object has no attribute 'strip'
> >
> > ======================================================================
> > ERROR: check loadmat case structnest
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 85, in cc
> >     self._check_case(name, files, expected)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 75, in _check_case
> >     matdict = loadmat(file_name)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio.py",
> > line 96, in loadmat
> >     matfile_dict = MR.get_variables()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/miobase.py",
> > line 269, in get_variables
> >     mdict = self.file_header()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio5.py",
> > line 510, in file_header
> >     hdict['__header__'] = hdr['description'].strip(' \t\n\000')
> > AttributeError: 'numpy.ndarray' object has no attribute 'strip'
> >
> > ======================================================================
> > ERROR: check loadmat case unicode
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 85, in cc
> >     self._check_case(name, files, expected)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/tests/test_mio.py",
> > line 75, in _check_case
> >     matdict = loadmat(file_name)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio.py",
> > line 96, in loadmat
> >     matfile_dict = MR.get_variables()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/miobase.py",
> > line 269, in get_variables
> >     mdict = self.file_header()
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/io/mio5.py",
> > line 510, in file_header
> >     hdict['__header__'] = hdr['description'].strip(' \t\n\000')
> > AttributeError: 'numpy.ndarray' object has no attribute 'strip'
> >
> > ======================================================================
> > FAIL: check_cosine_weighted_infinite
> > (scipy.integrate.tests.test_quadpack.test_quad)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/integrate/tests/test_quadpack.py",
> > line 66, in check_cosine_weighted_infinite
> >     a/(a**2 + ome**2))
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/integrate/tests/test_quadpack.py",
> > line 9, in assert_quad
> >     assert abs(value-tabledValue) < err, (value, tabledValue, err)
> > AssertionError: (0.21667686818858298, 0.21663778162911612,
> > 6.5911747520269308e-10)
> >
> > ======================================================================
> > FAIL: check_sine_weighted_finite
> > (scipy.integrate.tests.test_quadpack.test_quad)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/integrate/tests/test_quadpack.py",
> > line 46, in check_sine_weighted_finite
> >     (20*sin(ome)-ome*cos(ome)+ome*exp(-20))/(20**2 + ome**2))
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/integrate/tests/test_quadpack.py",
> > line 9, in assert_quad
> >     assert abs(value-tabledValue) < err, (value, tabledValue, err)
> > AssertionError: (-2.0010659195591835e-06, -0.0266069863325,
> > 1.4302337979274612e-14)
> >
> > ======================================================================
> > FAIL: check_sine_weighted_infinite
> > (scipy.integrate.tests.test_quadpack.test_quad)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/integrate/tests/test_quadpack.py",
> > line 56, in check_sine_weighted_infinite
> >     ome/(a**2 + ome**2))
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/integrate/tests/test_quadpack.py",
> > line 9, in assert_quad
> >     assert abs(value-tabledValue) < err, (value, tabledValue, err)
> > AssertionError: (0.12001853532338669, 0.12, 4.3115018629240958e-10)
> >
> > ======================================================================
> > FAIL: check_dot (scipy.lib.tests.test_blas.test_fblas1_simple)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/lib/blas/tests/test_blas.py",
> > line 76, in check_dot
> >     assert_almost_equal(f([3j,-4,3-4j],[2,3,1]),-9+2j)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/numpy/testing/utils.py",
> > line 156, in assert_almost_equal
> >     assert round(abs(desired - actual),decimal) == 0, msg
> > AssertionError:
> > Items are not equal:
> >  ACTUAL: 1.0340576422315888e-36j
> >  DESIRED: (-9+2j)
> >
> > ======================================================================
> > FAIL: check_dot (scipy.linalg.tests.test_blas.test_fblas1_simple)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/scipy/linalg/tests/test_blas.py",
> > line 75, in check_dot
> >     assert_almost_equal(f([3j,-4,3-4j],[2,3,1]),-9+2j)
> >   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/site-packages/numpy/testing/utils.py",
> > line 156, in assert_almost_equal
> >     assert round(abs(desired - actual),decimal) == 0, msg
> > AssertionError:
> > Items are not equal:
> >  ACTUAL: 1.0340576422315888e-36j
> >  DESIRED: (-9+2j)
> >
> > ----------------------------------------------------------------------
> > Ran 1596 tests in 6.405s
> >
> > FAILED (failures=5, errors=19)
> > <unittest.TextTestRunner object at 0x3239a10>
> >
> >
> >
> > I guess this is not the expected behaviour, is it?
> >
> >
> > Michele
> >
> > On 4/21/07, Robert Kern <robert.kern at gmail.com> wrote:
> >> Michele Mazzucco wrote:
> >>> Robert,
> >>>
> >>> I've installed cctools as you told me, but unfortunately it still
> >>> does
> >>> not work for the same reason (you can find the log as attachment).
> >>> Any idea?
> >>
> >> I'm sorry, I forgot to mention that you need to rebuild after
> >> installing
> >> cctools. Delete the build/ directory first to make sure you have a
> >> clean build.
> >>
> >> --
> >> Robert Kern
> >>
> >> "I have come to believe that the whole world is an enigma, a
> >> harmless enigma
> >>  that is made terrible by our own mad attempt to interpret it as
> >> though it had
> >>  an underlying truth."
> >>   -- Umberto Eco
> >> _______________________________________________
> >> SciPy-user mailing list
> >> SciPy-user at scipy.org
> >> http://projects.scipy.org/mailman/listinfo/scipy-user
> >>
> > _______________________________________________
> > SciPy-user mailing list
> > SciPy-user at scipy.org
> > http://projects.scipy.org/mailman/listinfo/scipy-user
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>



More information about the SciPy-User mailing list