[vtk-developers] Segfault importing vtk on master
david.gobbi at gmail.com
Mon Nov 26 14:14:10 EST 2018
EXCLUDE_FROM_WRAPPING might be better than EXCLUDE_FROM_PYTHON_WRAPPING,
for consistency with the rest of the Utilities modules.
On Mon, Nov 26, 2018 at 11:56 AM Prabhu Ramachandran <prabhu at aero.iitb.ac.in>
> Hi Utkarsh,
> Yes, I can confirm that this fixes the issue. Can you please merge this
> to master and the 8.2.0 release? Thanks!
> On 11/26/18 9:42 AM, Utkarsh Ayachit wrote:
> It's getting added to all.py through the CMake code that simply adds
> all wrapped modules to it. I can't think of reason why the
> vtkPythonInterpreter module should be Python wrapped at all, however.
> Can you try the attached patch, please? Does it work?
> On Sun, Nov 25, 2018 at 8:30 PM Prabhu Ramachandran<prabhu at aero.iitb.ac.in> <prabhu at aero.iitb.ac.in> wrote:
> Hi all,
> With VTK 8.2.x (master), I run into a segfault when I "import vtk" on Python 3.7 (I doubt it is specific to a particular Python version). By simply commenting out
> from .vtkPythonInterpreter import *
> in the all.py module, the segfault is fixed. I am not sure why this module should be put into all.py? If someone desires it they can manually import it. Or is there something I am missing?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtk-developers