[Paraview] How to save data to xmf format?

David E DeMarle dave.demarle at kitware.com
Thu Apr 3 12:50:54 EDT 2014


You are seeing a bug that was fixed after paraview 4.1 was released.
Specifically this VTK fix corrected it:

commit 0679bf4054088ee15408bcfda4b28539fb66bc1d
Author: Tristan Coulange <tristan.coulange at kitware.com>
Date:   Tue Feb 4 17:34:43 2014 +0100

    BUG: fix some xdmf writer crashes

    - Sets the number of output ports to 0, which avoid an error message in
      Paraview because the writer is used in a pipeline.
    - Manages a potential null pointer, avoiding a crash which occurs when
the
      user unchecks some blocks in Paraview for instance.

    Change-Id: I09c69bc6ac715bcb4297df4e2a012514a7817c57

Try a ParaView nightly build which you can get a binary for from the
download page, or build from source to obtain.


David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Thu, Apr 3, 2014 at 12:20 PM, Su, Simon M CTR USAF (US) <
simon.m.su.ctr at mail.mil> wrote:

>  Hello,
>
> 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.
>
> thanks
> -simon
>
>  ------------------------------
> *From:* ParaView [paraview-bounces at paraview.org] on behalf of Su, Simon M
> CTR USAF (US) [simon.m.su.ctr at mail.mil]
> *Sent:* Thursday, April 03, 2014 12:07 PM
> *To:* paraview at paraview.org
> *Subject:* [Paraview] How to save data to xmf format?
>
>   Hello,
>
> 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
>
>  ERROR: In
> /home/utkarsh/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx,
> line 815
>
> 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.
>
>
>
>  ERROR: In
> /home/utkarsh/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx,
> line 815
>
> 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.
>
>
>  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.
>
>
>  What would be the correct way to get my data into xmf format? And what
> would be the corresponding python script to do that?
>
>
>  thanks
>
> -simon
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20140403/87a0b67d/attachment.html>


More information about the ParaView mailing list