<div dir="ltr">EXCLUDE_FROM_WRAPPING might be better than EXCLUDE_FROM_PYTHON_WRAPPING, for consistency with the rest of the Utilities modules.<div><div><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 26, 2018 at 11:56 AM Prabhu Ramachandran <<a href="mailto:prabhu@aero.iitb.ac.in">prabhu@aero.iitb.ac.in</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div class="m_3710213364491668145moz-cite-prefix">Hi Utkarsh,</div>
    <div class="m_3710213364491668145moz-cite-prefix"><br>
    </div>
    <div class="m_3710213364491668145moz-cite-prefix">Yes, I can confirm that this fixes the
      issue.  Can you please merge this to master and the 8.2.0
      release?  Thanks!</div>
    <div class="m_3710213364491668145moz-cite-prefix"><br>
    </div>
    <div class="m_3710213364491668145moz-cite-prefix">Regards,</div>
    <div class="m_3710213364491668145moz-cite-prefix">Prabhu</div>
    <div class="m_3710213364491668145moz-cite-prefix"><br>
    </div>
    <div class="m_3710213364491668145moz-cite-prefix">On 11/26/18 9:42 AM, Utkarsh Ayachit
      wrote:<br>
    </div>
    <blockquote type="cite">
      <pre class="m_3710213364491668145moz-quote-pre">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?

Thanks
Utkarsh
On Sun, Nov 25, 2018 at 8:30 PM Prabhu Ramachandran
<a class="m_3710213364491668145moz-txt-link-rfc2396E" href="mailto:prabhu@aero.iitb.ac.in" target="_blank"><prabhu@aero.iitb.ac.in></a> wrote:
</pre>
      <blockquote type="cite">
        <pre class="m_3710213364491668145moz-quote-pre">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?

Thanks!

cheers,

Prabhu</pre></blockquote></blockquote></div>
</blockquote></div></div></div></div>