<div dir="ltr">You are seeing a bug that was fixed after paraview 4.1 was released. <div>Specifically this VTK fix corrected it:</div><div><div><br></div><div>commit 0679bf4054088ee15408bcfda4b28539fb66bc1d</div><div>Author: Tristan Coulange <<a href="mailto:tristan.coulange@kitware.com">tristan.coulange@kitware.com</a>></div>

<div>Date:   Tue Feb 4 17:34:43 2014 +0100</div><div><br></div><div>    BUG: fix some xdmf writer crashes</div><div>    </div><div>    - Sets the number of output ports to 0, which avoid an error message in</div><div>      Paraview because the writer is used in a pipeline.</div>

<div>    - Manages a potential null pointer, avoiding a crash which occurs when the</div><div>      user unchecks some blocks in Paraview for instance.</div><div>    </div><div>    Change-Id: I09c69bc6ac715bcb4297df4e2a012514a7817c57</div>

</div><div><br></div><div>Try a ParaView nightly build which you can get a binary for from the download page, or build from source to obtain.</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div>David E DeMarle<br>

Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div>
<br><br><div class="gmail_quote">On Thu, Apr 3, 2014 at 12:20 PM, Su, Simon M CTR USAF (US) <span dir="ltr"><<a href="mailto:simon.m.su.ctr@mail.mil" target="_blank">simon.m.su.ctr@mail.mil</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">Hello,<br>
<br>
Sorry, I actually have an update. Some data was saved even I am getting those error with xmf format.  In this cone case, I am seeing everything in the legacy vtk file format  with the two error I am getting. However, with my other dataset, I am seeing missing
 object in the outputted xmf file format. <br>
<br>
thanks<br>
-simon<br>
<br>
<div style="font-size:16px;font-family:Times New Roman">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b> ParaView [<a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@paraview.org</a>] on behalf of Su, Simon M CTR USAF (US) [<a href="mailto:simon.m.su.ctr@mail.mil" target="_blank">simon.m.su.ctr@mail.mil</a>]<br>


<b>Sent:</b> Thursday, April 03, 2014 12:07 PM<br>
<b>To:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> [Paraview] How to save data to xmf format?<br>
</font><br>
</div><div><div class="h5">
<div></div>
<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">Hello,<br>
<br>
I have a visualization pipeline output that I am seeing on the ParaView GUI that I would like to use File->Save Data into xmf format. However, I am getting the following error when I try to save the file<br>
<br>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
<span style="font-family:'Courier';font-size:9pt;color:#800000">ERROR: In /home/utkarsh/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx, line 815</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
<span style="font-family:'Courier';font-size:9pt;color:#800000">vtkPVPostFilterExecutive (0x4407890): Input for connection index 0 on input port index 0 for algorithm vtkPVPostFilter(0x4472160) is of type vtkDataObject, but a vtkPolyData is required.</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px;font-family:'Courier';font-size:9pt;color:#800000">
<br>
</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px;font-family:'Courier';font-size:9pt;color:#800000">
<br>
</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
<span style="font-family:'Courier';font-size:9pt;color:#800000">ERROR: In /home/utkarsh/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx, line 815</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
<span style="font-family:'Courier';font-size:9pt;color:#800000">vtkPVPostFilterExecutive (0x4407890): Input for connection index 0 on input port index 0 for algorithm vtkPVPostFilter(0x4472160) is of type vtkDataObject, but a vtkPolyData is required.</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
<br>
</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
I got the error above when I open ParaView-4.1.0, and then load a cone using Source->Cone option and hit apply. And then do a File->Save Data and pick xmf file format.<br>
</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
<br>
</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
What would be the correct way to get my data into xmf format? And what would be the corresponding python script to do that?<br>
</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
<br>
</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
thanks</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
-simon<br>
<span style="font-family:'Courier';font-size:9pt;color:#800000"></span></p>
</div>
</div>
</div></div></div>
</div>
</div>

<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>