View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009546ParaViewBugpublic2009-09-15 17:572010-04-20 16:51
ReporterKen Moreland 
Assigned ToUtkarsh Ayachit 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionunable to reproduce 
PlatformOSOS Version
Product Version 
Target Version3.8Fixed in Version3.8 
Summary0009546: keys method in FieldDataInformation Python object broken
DescriptionIn 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 "<console>", 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.
TagsNo tags attached.
Project
Topic Name
Type
Attached Files

 Relationships

  Notes
(0020217)
Utkarsh Ayachit (administrator)
2010-04-16 11:15

Unable to reproduce with 3.8.
(0020292)
Alan Scott (manager)
2010-04-20 16:51

Works for me. I am using trunk, python 2.6.5, Windows, local server. Followed directions as stated below.

 Issue History
Date Modified Username Field Change
2009-09-15 17:57 Ken Moreland New Issue
2009-09-15 17:58 Ken Moreland Status backlog => tabled
2009-09-15 17:58 Ken Moreland Assigned To => Utkarsh Ayachit
2009-10-02 10:12 Utkarsh Ayachit Target Version 3.6.2 => 3.8
2010-04-16 11:15 Utkarsh Ayachit Note Added: 0020217
2010-04-16 11:15 Utkarsh Ayachit Status tabled => @80@
2010-04-16 11:15 Utkarsh Ayachit Fixed in Version => 3.8
2010-04-16 11:15 Utkarsh Ayachit Resolution open => unable to reproduce
2010-04-20 16:51 Alan Scott Note Added: 0020292
2010-04-20 16:51 Alan Scott Status @80@ => closed


Copyright © 2000 - 2018 MantisBT Team