ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> scipy-dev
scipy-dev
Re: [SciPy-dev] scipy errors
by Charles R Harris other posts by this author
Nov 4 2009 7:53PM messages near this date
[SciPy-dev] scipy errors | Re: [SciPy-dev] scipy errors
On Wed, Nov 4, 2009 at 8:18 PM, Charles R Harris
<charlesr.harris@[...].com> wrote:

>  I see the following test errors on ubuntu_x86_64 9.10
> 
>  ERROR: Check linalg works with non-aligned memory
>  ----------------------------------------------------------------------
>  Traceback (most recent call last):
>    File "/usr/lib/pymodules/python2.6/nose/case.py", line 183, in runTest
>      self.test(*self.arg)
>    File
>  "/usr/local/lib/python2.6/dist-packages/scipy/linalg/tests/test_decomp.py",
>  line 1067, in test_aligned_mem
>      eig(z.T, overwrite_a=True)
>    File "/usr/local/lib/python2.6/dist-packages/scipy/linalg/decomp.py",
>  line 158, in eig
>      geev, = get_lapack_funcs(('geev',),(a1,))
>    File "/usr/local/lib/python2.6/dist-packages/scipy/linalg/lapack.py",
>  line 82, in get_lapack_funcs
>      raise ValueError("Non-aligned array cannot be passed to LAPACK without
>  copying")
>  ValueError: Non-aligned array cannot be passed to LAPACK without copying
> 
>  ======================================================================
>  ERROR: test_mpmath.test_hyp2f1_real_some_points
>  ----------------------------------------------------------------------
>  Traceback (most recent call last):
>    File "/usr/lib/pymodules/python2.6/nose/case.py", line 183, in runTest
>      self.test(*self.arg)
>    File
>  "/usr/local/lib/python2.6/dist-packages/numpy/testing/decorators.py", line
>  143, in skipper_func
>      return f(*args, **kwargs)
>    File
>  "/usr/local/lib/python2.6/dist-packages/scipy/special/tests/test_mpmath.py",
>  line 83, in test_hyp2f1_real_some_points
>      dataset = [p + (float(mpmath.hyp2f1(*p)),) for p in pts]
>  TypeError: float() argument must be a string or a number
> 
>  ======================================================================
>  ERROR: test_mpmath.test_hyp2f1_real_some
>  ----------------------------------------------------------------------
>  Traceback (most recent call last):
>    File "/usr/lib/pymodules/python2.6/nose/case.py", line 183, in runTest
>      self.test(*self.arg)
>    File
>  "/usr/local/lib/python2.6/dist-packages/numpy/testing/decorators.py", line
>  143, in skipper_func
>      return f(*args, **kwargs)
>    File
>  "/usr/local/lib/python2.6/dist-packages/scipy/special/tests/test_mpmath.py",
>  line 109, in test_hyp2f1_real_some
>      except (TypeError, mpmath.libhyper.NoConvergence):
>  AttributeError: 'module' object has no attribute 'NoConvergence'
> 
>  ----------------------------------------------------------------------
>  Ran 3989 tests in 31.954s
> 
>  FAILED (KNOWNFAIL=7, SKIP=29, errors=3)
> 
>  I suspect the last failure is an mpmath version problem, and maybe the
>  second also. Is anyone else seeing the other error?
> 
> 
Installing mpmath 0.13 cures the last two errors, Karmic Koala installs
mpmath-0.12. So I think there is an mpmath version dependency that needs to
be dealt with.

Chuck
Thread:
Charles R Harris
Charles R Harris
Pauli Virtanen
Pauli Virtanen
Anne Archibald
Charles R Harris
Anne Archibald
Charles R Harris

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved