"Could not determine array range" when loading vtm via Python
I created a simple vtm file (box + cylinder -> group dataset -> save as *vtm) and the resulting files are below: vtm_files.tar.gz
Next I did a trace to open the dataset with Python (and default colour by vtkBlockColors) and the resulting file is here: vtm_load.py Note that the trace itself is not the issue afaik, it's just the quickest way to generate the Python code.
When I load paraview with the script I get the following output:
Warning: In /home/arnom/work/software/paraview/ParaView-v5.2.0/ParaViewCore/ServerManager/Rendering/vtkSMPVRepresentationProxy.cxx, line 276 vtkSMPVRepresentationProxy (0x57586a0): Could not determine array range. Warning: In /home/arnom/work/software/paraview/ParaView-v5.2.0/ParaViewCore/ServerManager/Rendering/vtkSMPVRepresentationProxy.cxx, line 276 vtkSMPVRepresentationProxy (0x57586a0): Could not determine array range.
Is there a way to quickly fix this issue in my Python script? I don't know what causes this warning to be printed, but imho it should not happen.
Best, Arno