keys method in FieldDataInformation Python object broken
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
In the FieldDataInformation object, which is supposed to act like a Python dictionary, the keys method is broken. To replicate, start the GUI, open the Python Shell, and type the following.
sphere = Sphere() elevation = Elevation() elevation.PointData.items() elevation.PointData.keys()
Everything works fine until the last line where you get an error like the following:
Traceback (most recent call last): File "", line 1, in ? File "/Users/kitware/ParaViewReleases/ParaView-3.6/ParaView3Bin/Utilities/VTKPythonWrapping/paraview/servermanager.py", line 1340, in keys NameError: global name 'ai' is not defined
This problem appears to already be fixed on the CVS trunk. It is only on the 3.6 branch where I am seeing it happen now.