View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015878ParaView(No Category)public2015-12-13 18:042016-08-12 09:59
ReporterNico Schlömer 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0015878: Xdmf2Reader: Unknown Attribute Type None, number of components wrong
DescriptionI'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).
TagsNo tags attached.
ProjectTBD
Topic Name
Typeincorrect functionality
Attached Files? file icon test.xmf [^] (883 bytes) 2015-12-13 18:04

 Relationships

  Notes
(0038951)
Kitware Robot (administrator)
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.

 Issue History
Date Modified Username Field Change
2015-12-13 18:04 Nico Schlömer New Issue
2015-12-13 18:04 Nico Schlömer File Added: test.xmf
2015-12-13 18:07 Nico Schlömer Description Updated
2016-08-12 09:59 Kitware Robot Note Added: 0038951
2016-08-12 09:59 Kitware Robot Status backlog => closed
2016-08-12 09:59 Kitware Robot Resolution open => moved
2016-08-12 09:59 Kitware Robot Assigned To => Kitware Robot


Copyright © 2000 - 2018 MantisBT Team