[Paraview] Bug in XDMF reader ?
Joachim Pouderoux
joachim.pouderoux at kitware.com
Wed May 25 11:57:43 EDT 2016
Franck,
Feel free to fill a bug on ParaView bug tracker here:
http://www.paraview.org/Bug
Best,
Joachim
*Joachim Pouderoux*
*PhD, Technical Expert*
*Kitware SAS <http://www.kitware.fr>*
2016-05-25 16:33 GMT+02:00 houssen <houssen at ipgp.fr>:
> Got no news. Should I file a bug ? If yes, how ?
>
> Franck
>
>
> Le 2016-05-21 18:57, houssen a écrit :
>
>> I've just tried to visualize KO.xdmf with visit-2.10.2 : it works
>> fine ! So I guess it's a bug in paraview. How to file a bug ?
>>
>> Franck
>>
>> Le 2016-05-17 15:07, houssen a écrit :
>>
>>> Just to clarify, the scenario that makes problem is : select all
>>> cells, go to selection inspector, visualize (in 3D viewer) values on
>>> cells and / or points (this triggers errors).
>>> My understanding is that both xdmf (OK and KO) are valid and should
>>> work. OK.xdmf works (whatever PV version), but, KO.xdmf do not
>>> (whatever PV version).
>>> The problem appears when attribute names differ on different grids :
>>> this looks (not sure) like a bug to me.
>>>
>>> With PV5.0.0 + default XDMF reader (which should be XDMF2 if I
>>> understand correctly), I get :
>>> Warning: In
>>>
>>>
>>> /scratch/ParaView-v5.0.0-source/VTK/Rendering/Label/vtkLabeledDataMapper.cxx,
>>> line 439
>>> vtkLabeledDataMapper (0x36cc600): Could not find label array
>>> (NodeValues) in input.
>>> Warning: In
>>>
>>>
>>> /scratch/ParaView-v5.0.0-source/VTK/Rendering/Label/vtkLabeledDataMapper.cxx,
>>> line 439
>>> vtkLabeledDataMapper (0x36cc600): Could not find label array
>>> (NodeVal) in input.
>>>
>>> Note : I tested with all point and cell values, only node values
>>> triggers error, cell values "do nothing".
>>>
>>> With PV5.0.0 + XDMF3 reader, I get:
>>> 'Content' not found in itemProperties in XdmfArray::populateItem
>>> Qt has caught an exception thrown from an event handler. Throwing
>>> exceptions from an event handler is not supported in Qt. You must
>>> reimplement QApplication::notify() and catch all exceptions there.
>>> terminate called after throwing an instance of 'XdmfError'
>>> what(): 'Content' not found in itemProperties in
>>> XdmfArray::populateItem
>>> Aborted
>>>
>>> With PV4.0.1 + default XDMF reader (which should be XDMF2 if I
>>> understand correctly), I get :
>>> Warning: In
>>>
>>>
>>> /scratch/ParaView-v4.0.1-source/VTK/Rendering/Label/vtkLabeledDataMapper.cxx,
>>> line 442
>>> vtkLabeledDataMapper (0x97f2140): Could not find label array
>>> (CellVal) in input.
>>> Warning: In
>>>
>>>
>>> /scratch/ParaView-v4.0.1-source/VTK/Rendering/Label/vtkLabeledDataMapper.cxx,
>>> line 442
>>> vtkLabeledDataMapper (0x97d32d0): Could not find label array
>>> (NodeVal) in input.
>>>
>>> Note : I tested with all point and cell values, only CellVal and
>>> NodeVal triggers error, NodesValues and CellValues are visualized
>>> correctly.
>>>
>>> Franck
>>>
>>> ~> diff OK.xdmf KO.xdmf
>>> 48c48
>>> < <Attribute Name="NodeValues" AttributeType="Scalar"
>>> Center="Node">
>>> ---
>>>
>>>> <Attribute Name="NodeVal" AttributeType="Scalar" Center="Node">
>>>>
>>> 52c52
>>> < <Attribute Name="CellValues" AttributeType="Scalar"
>>> Center="Cell">
>>> ---
>>>
>>>> <Attribute Name="CellVal" AttributeType="Scalar" Center="Cell">
>>>>
>>>
>>>
>>> Le 2016-05-17 13:57, Joachim Pouderoux a écrit :
>>>
>>>> Houssen,
>>>>
>>>> Could you specify which reader you are using? xdmf2 or xdmf3?
>>>> You mention PV5.0.0 - do you mean it used to work with previous
>>>> releases?
>>>>
>>>> Best,
>>>>
>>>> JOACHIM POUDEROUX
>>>>
>>>> _PhD, Technical Expert_
>>>>>
>>>>
>>>> 2016-05-16 16:55 GMT+02:00 houssen <houssen at ipgp.fr [6]>:
>>>>
>>>> Hello,
>>>>>
>>>>> I have 2 grids (sharing the same nodes). On ParaView-5.0.0, when
>>>>> attribute names differ in grids, data can not be visualized : is
>>>>> this intended ? If yes why ? If no, how to file a bug ?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Franck
>>>>>
>>>>> ~> diff OK.xdmf KO.xdmf
>>>>> 48c48
>>>>> < <Attribute Name="NodeValues" AttributeType="Scalar"
>>>>> Center="Node">
>>>>> ---
>>>>>
>>>>> <Attribute Name="NodeVal" AttributeType="Scalar"
>>>>>> Center="Node">
>>>>>>
>>>>> 52c52
>>>>> < <Attribute Name="CellValues" AttributeType="Scalar"
>>>>> Center="Cell">
>>>>> ---
>>>>>
>>>>> <Attribute Name="CellVal" AttributeType="Scalar"
>>>>>> Center="Cell">
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Powered by www.kitware.com [1]
>>>>>
>>>>> Visit other Kitware open-source projects at
>>>>> http://www.kitware.com/opensource/opensource.html [2]
>>>>>
>>>>> Please keep messages on-topic and check the ParaView Wiki at:
>>>>> http://paraview.org/Wiki/ParaView [3]
>>>>>
>>>>> Search the list archives at:
>>>>> http://markmail.org/search/?q=ParaView [4]
>>>>>
>>>>> Follow this link to subscribe/unsubscribe:
>>>>> http://public.kitware.com/mailman/listinfo/paraview [5]
>>>>>
>>>>
>>>>
>>>>
>>>> Links:
>>>> ------
>>>> [1] http://www.kitware.com
>>>> [2] http://www.kitware.com/opensource/opensource.html
>>>> [3] http://paraview.org/Wiki/ParaView
>>>> [4] http://markmail.org/search/?q=ParaView
>>>> [5] http://public.kitware.com/mailman/listinfo/paraview
>>>> [6] mailto:houssen at ipgp.fr
>>>>
>>>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160525/bad7c2bb/attachment.html>
More information about the ParaView
mailing list