21 Jul 18:40
Re: show mesh in mayavi2, segfault
From: Prabhu Ramachandran <prabhu@...>
Subject: Re: show mesh in mayavi2, segfault
Newsgroups: gmane.comp.python.enthought.devel
Date: 2008-07-21 16:40:11 GMT
Subject: Re: show mesh in mayavi2, segfault
Newsgroups: gmane.comp.python.enthought.devel
Date: 2008-07-21 16:40:11 GMT
Ondrej Certik wrote: > On Mon, Jul 21, 2008 at 2:38 PM, Prabhu Ramachandran >> Sorry, am confused. Are you saying the issue is solved when you unset >> the LD_LIBRARY_PATH env var? > > That solved the problem in the Sage case, but in mayavi2 case I > already had this LD_LIBRARY_PATH unset. So one can really > only use this trick once. I see. [...] > apart from that it imports scipy + numpy + matplotlib. But importing > scipy, numpy or matplotlib works. So I'll try to investigate > and reduce the problem further. The ldd output looks innocuous. Could you try changing the order of the import? Put the sfepy import after other mayavi imports. Can you do this on an IPython session for example? > Thanks Fred and Prabhu for the tips, it works nice. This is much > better, the mlab interface is what I wanted. Cool! I'm going to try and make the scripting interface a little easier if I can so we avoid a few imports. > I think this brings a lot of new possibilities for 3D plots in SymPy. > We should hook it in, so that one can use either pyglet or mayavi2. That would be very neat! > And for the mesh it's what I was looking for as well. Thanks again. No problem. Lets hope we can resolve the import issue with sfepy. cheers, prabhu
RSS Feed