MantisBT - ParaView
View Issue Details
0009710ParaViewBugpublic2009-10-14 03:432010-06-16 16:31
Sven Buijssen 
Utkarsh Ayachit 
normalminoralways
closedfixed 
Development 
3.6.2 
0009710: Python Shell's Trace State fails to create ready-to-use Python script if ExodusIIReader is involved
Open test dataset can.ex2
Tools - Python Shell - Trace - Trace State - Save Trace (=> foo.py)
pvpython foo.py

=> will raises error messages like
vtkExodusFileSeriesReader (0x909f360): No files given.
vtkExodusFileSeriesReader (0x909f360): Expecting at least 1 file. Cannot proceed.

It is necessary to remove all three keywords
 FilePrefix
 FilePattern
 XMLFileName
from the argument list of the ExodusIIReader call in the python script:
Leaving one of them raises an error.
Leaving any permutation of two of them raises an error.

Pat confirmed that somehow the pvsm avoids the problem, but not python state.
No tags attached.
Issue History
2009-10-14 03:43Sven BuijssenNew Issue
2010-05-27 18:03Sven BuijssenNote Added: 0020849
2010-06-10 10:28Utkarsh AyachitNote Added: 0020965
2010-06-10 10:28Utkarsh AyachitStatusbacklog => @80@
2010-06-10 10:28Utkarsh AyachitFixed in Version => 3.6.2
2010-06-10 10:28Utkarsh AyachitResolutionopen => fixed
2010-06-10 10:28Utkarsh AyachitAssigned To => Utkarsh Ayachit
2010-06-16 16:31Alan ScottNote Added: 0021047
2010-06-16 16:31Alan ScottStatus@80@ => closed

Notes
(0020849)
Sven Buijssen   
2010-05-27 18:03   
Problem persists in PV 3.8.0
(0020965)
Utkarsh Ayachit   
2010-06-10 10:28   
commit 52d55c5b64e3f172006324aec65c52d0b85e760d
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Thu Jun 10 10:25:42 2010 -0400

    Fixed BUG 0009710.
    
    ExodusIIReader has bunch of properties with FileListDomain. Only 1 of which is
    not-optional and that's the one that should be set by the user -- typically.
    However when state file was loaded, the FilePrefix etc. properties were saved in
    state and as they were updated the reader would prematurely call
    UpdatePipelineInformation() resulting in the errors. Fixed by avoiding the
    FileNameProperty() creation for secondary file-name properties.

=======================
Pending migration to release branch
(0021047)
Alan Scott   
2010-06-16 16:31   
Trusting Utkarsh's fix. I am having troubles with my pvpython.