Errors saving Hypertree grids and reloading into Paraview
We have found some issues with some tasks about saving hypertree (HTG) grids as either .htg or .vtm, and reloading them in Paraview. I tested on both the master branch and release branch. I'll detail the results of each branch. Perhaps some of these issues may be that things have not moved over to the master branch, yet.
Task #1: Load a .pio file as a HTG, save data as vtm file, and load that vtm file into Paraview. Here is the data I used: todd2.zip
Master branch: when loading the vtm file, I got the following error:
ERROR: In /Users/boonth/workspace/ParaView-git/VTK/IO/XMLParser/vtkXMLParser.cxx, line 379
vtkXMLDataParser (0x7fe87869e830): Error parsing XML in stream at line 1, column 9, byte index 9: not well-formed (invalid token)
ERROR: In /Users/boonth/workspace/ParaView-git/VTK/IO/XML/vtkXMLReader.cxx, line 517
vtkXMLHyperTreeGridReader (0x7fe87868e6f0): Error parsing input file. ReadXMLInformation aborting.
ERROR: In /Users/boonth/workspace/ParaView-git/VTK/Common/ExecutionModel/vtkExecutive.cxx, line 753
vtkCompositeDataPipeline (0x60000259be20): Algorithm vtkXMLHyperTreeGridReader(0x7fe87868e6f0) returned failure for request: vtkInformation (0x60000027da40)
Debug: Off
Modified Time: 598096
Reference Count: 1
Registered Events: (none)
Request: REQUEST_INFORMATION
ALGORITHM_AFTER_FORWARD: 1
FORWARD_DIRECTION: 0
Release branch: this worked fine
Task #2: Create a random HTG source. Save as a .htg file. Load .htg into Paraview
Master branch: Able to save .htg file. When trying to open .htg file, Paraview does not know how to load it, and gives me a list of readers.
Release branch: Works fine in release branch
Task #3: Create a random HTG source. Save as a .vtm file. Load .vtm file into Paraview.
Master branch: Does not have an option to save as vtm file.
Release branch: When trying to save the vtm file, gives the following error:
ERROR: In /Users/boonth/workspace/ParaView-git-release/VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx, line 760 vtkPVCompositeDataPipeline (0x60000302da40): Input for connection index 0 on input port index 0 for algorithm vtkXMLPMultiBlockDataWriter(0x7feb8f1451c0) is of type vtkHyperTreeGrid, but a vtkMultiBlockDataSet is required.