<div dir="ltr"><div><div><div></div>So I just found out I can't run make install without the proper privileges, so I was wondering where I should point my PYTHONPATH or if there was another way to import VTK into a python script.<br><br></div>Thanks,<br></div>Andrew<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 14, 2017 at 7:11 AM, Andy Bauer <span dir="ltr"><<a href="mailto:andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi Andrew,<br><br></div>Thanks for helping find this bug. <br><br></div>Good luck with your class!<br><br></div>Best,<br></div>Andy<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 13, 2017 at 10:31 PM, Andrew Lam <span dir="ltr"><<a href="mailto:werdna.mal222@gmail.com" target="_blank">werdna.mal222@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>SUCCESS!!! The VTK fix worked! Thank you all very much for taking time out of your days to help me I really appreciate it.<br><br></div>Thanks,<br></div>Andrew<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 13, 2017 at 1:14 PM, Andrew Lam <span dir="ltr"><<a href="mailto:werdna.mal222@gmail.com" target="_blank">werdna.mal222@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>David,<br><br></div>Thanks I will pull and try building with the fix. My last attempt did not work. I'll let you know my results.<br><br></div>Thanks,<br></div>Andrew<br></div><div class="m_8607581274725691627m_-8778792228698699141HOEnZb"><div class="m_8607581274725691627m_-8778792228698699141h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 13, 2017 at 1:00 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I've merged a fix for '//' into the VTK master branch, so the fix will be in VTK 8.0. There was a small but crucial mistake in the code for vtkWrapPython.<span class="m_8607581274725691627m_-8778792228698699141m_-8761355094184533090HOEnZb"><font color="#888888"><div><br></div></font></span><div><span class="m_8607581274725691627m_-8778792228698699141m_-8761355094184533090HOEnZb"><font color="#888888"> - David</font></span><div><div class="m_8607581274725691627m_-8778792228698699141m_-8761355094184533090h5"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 13, 2017 at 9:44 AM, Andrew Lam <span dir="ltr"><<a href="mailto:werdna.mal222@gmail.com" target="_blank">werdna.mal222@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Cory,<br><br></div>Haha I'll show my professor your email and see if he'll buy it. I'm currently building VTK with all the // paths switched to /. I'll report back when it finishes.<br><br></div>Thanks,<br></div>Andrew<br></div><div class="m_8607581274725691627m_-8778792228698699141m_-8761355094184533090m_-4565134461117699471HOEnZb"><div class="m_8607581274725691627m_-8778792228698699141m_-8761355094184533090m_-4565134461117699471h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 13, 2017 at 8:34 AM, Cory Quammen <span dir="ltr"><<a href="mailto:cory.quammen@kitware.com" target="_blank">cory.quammen@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Andrew, you should get extra credit in your course for uncovering a VTK bug!<br>
<div><div class="m_8607581274725691627m_-8778792228698699141m_-8761355094184533090m_-4565134461117699471m_-2074921341663208448h5"><br>
On Thu, Apr 13, 2017 at 11:28 AM, David Gobbi <<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>> wrote:<br>
> Thanks, Pierre. I tried this on my own system, and there is indeed a bug<br>
> that causes the command to fail if the input or output filename begins with<br>
> "//". I have a few guesses as to where this bug occurs, I'll see if I can<br>
> track it down.<br>
><br>
> - David<br>
><br>
><br>
> On Thu, Apr 13, 2017 at 7:08 AM, Pierre Turlais <<a href="mailto:pturlais@seismith.com" target="_blank">pturlais@seismith.com</a>><br>
> wrote:<br>
>><br>
>> Hi,<br>
>><br>
>> I have been able to reproduce the problem ( vtkWrapPython error ) on a<br>
>> CentOS 7 machine with the following :<br>
>><br>
>> cmake3 //d4-2/VTK/VTK-7.1.1 # Note the double // which kind of match you<br>
>> //home/alam38 .....<br>
>><br>
>> May you should try reconfigure with /home/alam38 ( or understand how/why<br>
>> you get //home/alam38 ).<br>
>><br>
>> Running the vtkWrapPython command alone with or without the // shows the<br>
>> problem.<br>
>><br>
>> [turlais@wk6 Python]$ pwd<br>
>> /d4-2/VTK/BLD/Wrapping/Python<br>
>><br>
>> [turlais@wk6 Python]$ ../../bin/vtkWrapPython-7.1<br>
>> @/d4-2/VTK/BLD/Wrapping/Python<wbr>/vtkCommonCorePython.Debug.arg<wbr>s -o<br>
>> /d4-2/VTK/BLD/Wrapping/Python/<wbr>vtkAbstractArrayPython.cxx<br>
>> /d4-2/VTK/VTK-7.1.1/Common/Cor<wbr>e/vtkAbstractArray.h<br>
>><br>
>> [turlais@wk6 Python]$ ../../bin/vtkWrapPython-7.1<br>
>> @/d4-2/VTK/BLD/Wrapping/Python<wbr>/vtkCommonCorePython.Debug.arg<wbr>s -o<br>
>> //d4-2/VTK/BLD/Wrapping/Python<wbr>/vtkAbstractArrayPython.cxx<br>
>> /d4-2/VTK/VTK-7.1.1/Common/Cor<wbr>e/vtkAbstractArray.h<br>
>> Usage: vtkWrapPython-7.1 [options] infile...<br>
>> --help print this help message<br>
>> --version print the VTK version<br>
>> -o <file> the output file<br>
>> -I <dir> add an include directory<br>
>> -D <macro[=def]> define a preprocessor macro<br>
>> -U <macro> undefine a preprocessor macro<br>
>> @<file> read arguments from a file<br>
>> --hints <file> the hints file to use<br>
>> --types <file> the type hierarchy file to use<br>
>> --concrete force concrete class (ignored, deprecated)<br>
>> --abstract force abstract class (ignored, deprecated)<br>
>> --vtkobject vtkObjectBase-derived class (ignored, deprecated)<br>
>> --special non-vtkObjectBase class (ignored, deprecated)<br>
>><br>
>> Regards,<br>
>> Pierre TURLAIS<br></div></div></blockquote></div></div></div></div></blockquote></div><br></div></div></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>