<div>On Sun, Feb 28, 2010 at 9:04 AM, Charl Botha <span dir="ltr">&lt;<a href="mailto:cpbotha@medvis.org">cpbotha@medvis.org</a>&gt;</span> wrote:</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 28 February 2010 01:10, David Gobbi &lt;<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>&gt; wrote:<br>
&gt; On Sat, Feb 27, 2010 at 10:34 AM, David Doria &lt;<a href="mailto:daviddoria%2Bvtk@gmail.com">daviddoria+vtk@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Thanks for looking at this. You are right that wxVTKRenderWindow doesn&#39;t<br>
&gt;&gt; crash. You didn&#39;t say explicitly - did wxVTKRenderWindowInteractor crash on<br>
&gt;&gt; your system, too?<br>
&gt;<br>
&gt; Yes, it does crash.<br>
<br>
</div>Strange.  The Linux binaries of DeVIDE use wxVTKRenderWindowInteractor<br>
quite extensively and were built on Ubuntu 8.04 (both 32 and 64 bit).<br>
They don&#39;t usually crash.<br>
<br>
David D, will you try running wxVTKRenderWindowInteractor itself?<br>
Looking at your example <a href="http://www.rpi.edu/~doriad/wxPython/david.py" target="_blank">http://www.rpi.edu/~doriad/wxPython/david.py</a><br>
you&#39;re for example currently not adding a renderer to the RWI&#39;s<br>
renderwindow.  The example right at the bottom of<br>
wxVTKRenderWindowInteractor shows the correct sequence of calls you<br>
need to make.<br>
<br>
Now that I&#39;m here in anycase, I would of course recommend that you use<br>
the DeVIDE Runtime Environment to run your Python+wxPython examples.<br>
There are binaries for 64 and 32 bit linux, and after unpacking the<br>
tarball you can run your example with:<br>
unpacked-dir/dre david.py<br>
(no environment or any other setup required)<br>
<br>
See here: <a href="http://code.google.com/p/devide/wiki/Downloads?tm=2" target="_blank">http://code.google.com/p/devide/wiki/Downloads?tm=2</a><br>
</blockquote></div><div><br></div>Charl,<div><br></div><div>I only didn&#39;t add the renderer because I was trying to get the minimal script that would crash. Running wxVTKRenderWindowInteractor directly also crashes:</div>
<div><br><div><div>[doriad@davedesktop wx]$ pwd</div><div>/home/doriad/src/VTK/Wrapping/Python/vtk/wx</div><div>[doriad@davedesktop wx]$ python wxVTKRenderWindowInteractor.py </div><div>Segmentation fault</div><div><br></div>
<div>Any thoughts on what to try next?</div><div><br></div>Thanks,<br><br>David<br></div></div>