Hi,<br><br>I filled a bug entry concerning volume rendering (<a href="http://public.kitware.com/Bug/view.php?id=12180">http://public.kitware.com/Bug/view.php?id=12180</a>) and I wish I could provide a python script that reproduces the bug. However, I went into a simple seg fault, without any additional error message (git-master). I tracked what would cause the crash by using python trace and commenting out the line one by one. The pipeline is a simple Wavelet source -&gt; Volume rendering and python trace outputs the following script :<br>
<br>#### simple volume rendering from Trace<br>try: paraview.simple<br>except: from paraview.simple import *<br>paraview.simple._DisableFirstRenderCameraReset()<br><br>Wavelet2 = Wavelet()<br><br>RenderView1 = GetRenderView()<br>
DataRepresentation2 = Show()<br>DataRepresentation2.ScalarOpacityUnitDistance = 1.7320508075688779<br>DataRepresentation2.Representation = &#39;Outline&#39;<br>DataRepresentation2.EdgeColor = [0.0, 0.0, 0.5000076295109483]<br>
<br>a1_RTData_PVLookupTable = GetLookupTableForArray( &quot;RTData&quot;, 1, NanColor=[1.0, 0.0, 0.0], RGBPoints=[37.35310363769531, 0.0, 0.0, 0.0, 276.8288269042969, 1.0, 1.0, 1.0], VectorMode=&#39;Magnitude&#39;, ColorSpace=&#39;RGB&#39;, ScalarRangeInitialized=1.0 )<br>
<br>a1_RTData_PiecewiseFunction = CreatePiecewiseFunction( Points=[37.35310363769531, 0.0, 276.8288269042969, 1.0] )<br><br>RenderView1.CameraClippingRange = [46.35209125603439, 92.97512386351]<br><br>DataRepresentation2.Representation = &#39;Volume&#39;<br>
DataRepresentation2.ScalarOpacityFunction = a1_RTData_PiecewiseFunction<br>DataRepresentation2.ColorArrayName = &#39;RTData&#39;<br>DataRepresentation2.LookupTable = a1_RTData_PVLookupTable<br><br>Render()<br>##########################################################<br>
<br>It turns out that commenting the line<br>   DataRepresentation2.ColorArrayName = &#39;RTData&#39;<br>effectively throws the segfault.<br>To confirm the fact, I simply entered the following command in the python shell:<br>
Wavelet()<br>rep = Show()<br>rep.Representation = &#39;Volume&#39;<br><br>And it crashed. entering rep.ColorArrayName=&#39;RTData&#39; before asking for Volume representation is the solution.<br>Furthermore, the step-by-step bug tracking showed me that the Lookup table bug (#12180) is reproducible when I comment out both ScalarOpacityFunction and LookupTable variable initialisation.<br>
<br>So, well... I don&#39;t know: Do I have to fill another bug entry on mantis focusing on Python, linked to the previous report ? Or is it better to add a note to the already reported bug ? I guess there was a &quot;VTK default scalar name&quot; bug reported months ago. it seems to be related to...<br>
<br>Jerome<br><br><br>