On Mon, Aug 9, 2010 at 1:42 AM, Sergey Bochkanov
<sergey.bochka...@alglib.net> wrote:
> It  is  somehow connected to patch by Carl Witty which adds ability to
> work  with  Sage matrices/vectors. This patch works OK when package is
> used  from  Sage.  But  when  we  run  test suite from spkg-check with
> "python  check.py",  it  fails  at  the  "from  sage.matrix.all import
> is_Matrix". Does someone have any idea?

Unfortunately, you can't import only part of the Sage library; you
have to import the whole thing first, to make sure it's all
initialized correctly.  (I consider this a bug, but it's a
low-priority one because the workaround is easy.)

Add this line at the top of check.py:

import sage.all

Carl

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to