MantisBT - ParaView
View Issue Details
0015878ParaView(No Category)public2015-12-13 18:042016-08-12 09:59
Nico Schlömer 
Kitware Robot 
normalminorhave not tried
closedmoved 
 
 
TBD
incorrect functionality
0015878: Xdmf2Reader: Unknown Attribute Type None, number of components wrong
I've noticed some oddities with the vtkXdmfReader. The following script
```
import vtk

reader = vtk.vtkXdmfReader()
reader.SetFileName('test.xmf')
reader.Update()
grid = reader.GetOutputDataObject(0)


point_data = grid.GetPointData()

for k in range(point_data.GetNumberOfArrays()):
    array = point_data.GetArray(k)
    print(array)
```
produces
```
XDMF Error in
/build/vtk6-01UJ_h/vtk6-7.1.0~20151212165543/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfAttribute.cxx
line 183 (Unknown Attribute Type None)
```
on `GetPointData()`. This is with a simple test file, attached.

The supposed "Error" doesn't stop the execution though. However, for the point data, one gets
```
  NumberOfComponents: 1
```
while it is actually 2 (as can be seen by inspecting the file).
No tags attached.
? test.xmf (883) 2015-12-13 18:04
https://www.vtk.org/Bug/file/9980/test.xmf
Issue History
2015-12-13 18:04Nico SchlömerNew Issue
2015-12-13 18:04Nico SchlömerFile Added: test.xmf
2015-12-13 18:07Nico SchlömerDescription Updatedbug_revision_view_page.php?rev_id=1428#r1428
2016-08-12 09:59Kitware RobotNote Added: 0038951
2016-08-12 09:59Kitware RobotStatusbacklog => closed
2016-08-12 09:59Kitware RobotResolutionopen => moved
2016-08-12 09:59Kitware RobotAssigned To => Kitware Robot

Notes
(0038951)
Kitware Robot   
2016-08-12 09:59   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.