Error during glyph object deletion with Python
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
I get the following error inside the Linux terminal when calling Delete() on a Glyph object:
ERROR: In /home/pvuser/software/ParaView/src/ParaViewCore/ServerManager/vtkSMProxyListDomain.cxx, line 189 vtkSMProxyListDomain (0x13449a0): Index 4 greater than max 3
The error is shown 3 times in total, with the Indices 4, 5 and 6 and the same memory address. However, it does not seem to have an impact on the execution of the macro.
To reproduce the error, please execute the following steps as ParaView Python macro:
reader = XMLPolyDataReader(FileName='/home/pvuser/foo.vtp') Glyph1 = Glyph(reader) Delete(Glyph1) # Error occurs here
The reader type seems not to play an important role, as it occurs also with an OpenFOAMReader. I also tried different variations on the setup, such as registering the Glyph proxy before deletion, or changing its representation data. However, these changes seem to have no impact on the error, so I posted the shortest version I could come up with.