Gael Varoquaux | 21 Jul 02:26

Re: show mesh in mayavi2, segfault

On Mon, Jul 21, 2008 at 02:15:37AM +0200, Ondrej Certik wrote:
> > This should work:

> > $ mayavi2 -d foo.vtk -m Outline -m IsoSurface

> It says:

> ERROR|2008-07-21 02:04:30,892|Cannot contour: No scalars in input data!

Isn't the error message clear (:->), it is trying to contour the surface,
but it cannot, because there are no scalars defined :). You can view your
file using

$ mayavi2 -d foo.vtk -m Outline -m Surface

I just tried, and it works. But that doesn't solve your main problem,
that is that what you tried first should work.

> $ mayavi2 -x show_grid.py
> bug-buddy: symbol lookup error: /usr/lib/libxml2.so.2: undefined
> symbol: gzopen64

> The same as before:

> $ python show_grid.py
> bug-buddy: symbol lookup error: /usr/lib/libxml2.so.2: undefined
> symbol: gzopen64

Damn. This works on my box (ubuntu hardy) both with mayavi2 from branches
and trunk. I suspect a distribution problem. This reference to an
undefined symbol in libxml2 feels like there has been some API
breakage/linking problem with libxml2.

I am not too sure that the problem is in the Mayavi2 or TVTK code base. 

Cheers,

Gaƫl

Gmane