View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013999ParaView(No Category)public2013-04-10 08:562015-01-11 08:26
ReporterUtkarsh Ayachit 
Assigned ToUtkarsh Ayachit 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Versiongit-master 
Target VersionFixed in Version4.0 
Summary0013999: pvpython: OpenDataFile(): AttributeError: Attribute FileName does not exist.
DescriptionI'm trying to read in a binary *.raw file:

>>> reader = OpenDataFile("z.raw")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/paraview-3.10/site-packages/paraview/simple.py", line 132, in OpenDataFile
    reader = globals()[xml_name](FileName=filename, **extraArgs)
  File "/usr/local/lib/paraview-3.10/site-packages/paraview/simple.py", line 583, in CreateObject
    setattr(px, param, params[param])
  File "/usr/local/lib/paraview-3.10/site-packages/paraview/servermanager.py", line 207, in __setattr__
    "to add this attribute.")
AttributeError: Attribute FileName does not exist. This class does not allow addition of new attributes to avoid mistakes due to typos. Use add_attribute() if you really want to add this attribute.
>>>
TagsNo tags attached.
ProjectTBD
Topic Name13999_fix_open_datafile
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0030550)
Utkarsh Ayachit (administrator)
2013-04-10 08:59

commit b94a4040c9463326b362112dccf0da94a592b9ae
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Wed Apr 10 08:57:06 2013 -0400

    BUG 0013999. Fix OpenDataFile().
    
    Adding new vtkSMCoreUtilities class that can consolidate miscellaneous utility
    methods. Added a method to vtkSMCoreUtilities to locate the "file-name"
    property. Making the UI and Python use the same method to locate the file-name
    property. This addresses the issue when ImageReader was created to open a *.raw
    file.
    
    Change-Id: I700ea9aad2b6e393231a9c6f3e81ebce7b22e36a
(0030566)
Utkarsh Ayachit (administrator)
2013-04-12 12:17

SUMMARY
---------------------------------------------
Topics merged into master:
(VTK) 0014001-plot3d-improvements
        13997_disable_phasta_adaptor
        13999_fix_open_datafile
(VTK) 14000-multi-block-table-cut
        14003_fix_view_updates
        14006-add-filters-to-paraview-vtk-python
        fix_cthadaptor_compile_warnings
        fix-warnings
        multiblock-chart-array-as-axis
        pvw-mobile-interaction-integration
        pvw-web-viz-improvement
        renable_catalyst_tests
        13989_fix_segfault
(0032061)
Alan Scott (manager)
2013-12-24 19:36

Old bug, closing.

 Issue History
Date Modified Username Field Change
2013-04-10 08:56 Utkarsh Ayachit New Issue
2013-04-10 08:59 Utkarsh Ayachit Topic Name => 13999_fix_open_datafile
2013-04-10 08:59 Utkarsh Ayachit Note Added: 0030550
2013-04-10 08:59 Utkarsh Ayachit Status backlog => gatekeeper review
2013-04-10 08:59 Utkarsh Ayachit Fixed in Version => git-next
2013-04-10 08:59 Utkarsh Ayachit Resolution open => fixed
2013-04-10 08:59 Utkarsh Ayachit Assigned To => Utkarsh Ayachit
2013-04-12 12:17 Utkarsh Ayachit Fixed in Version git-next => git-master
2013-04-12 12:17 Utkarsh Ayachit Status gatekeeper review => customer review
2013-04-12 12:17 Utkarsh Ayachit Note Added: 0030566
2013-05-18 20:00 Utkarsh Ayachit Fixed in Version git-master => 4.0
2013-12-24 19:36 Alan Scott Note Added: 0032061
2013-12-24 19:36 Alan Scott Status customer review => closed
2015-01-11 08:26 Utkarsh Ayachit Source_changeset_attached => ParaView master 7588dab1
2015-01-11 08:26 Utkarsh Ayachit Source_changeset_attached => ParaView master b94a4040


Copyright © 2000 - 2018 MantisBT Team