[Paraview] Loading a session trace

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Sat Jun 25 09:36:53 EDT 2005


This bug has been fixed a few days ago on the CVS trunk.
If you need to reuse the broken trace file, simply
insert
   $kw(vtkTemp660) AcceptCallback
before the line
   set kw(vtkTemp746) [$kw(vtkTemp5) GetAnimationManager]

Utkarsh



Karpf, Henry J wrote:
> So I am trying to save a session trace, and then reopen it later, here 
> is the session trace:
> set kw(vtkTemp5) [$Application GetMainWindow]
> set kw(vtkTemp23) [$kw(vtkTemp5) GetMainView]
> set kw(vtkTemp660) [$kw(vtkTemp5) InitializeReadCustom "PVDReader" 
> "/home/hjkarpf/Chisels/examples/new/vtkout.pvd"]
> $kw(vtkTemp5) ReadFileInformation $kw(vtkTemp660) 
> "/home/hjkarpf/Chisels/examples/new/vtkout.pvd"
> $kw(vtkTemp5) FinalizeRead $kw(vtkTemp660) 
> "/home/hjkarpf/Chisels/examples/new/vtkout.pvd"
> set kw(vtkTemp665) [$kw(vtkTemp660) GetPVWidget {Filename}]
> $kw(vtkTemp665) SetValue "/home/hjkarpf/Chisels/examples/new/vtkout.pvd"
> set kw(vtkTemp662) [$kw(vtkTemp660) GetPVWidget {TimeStep}]
> $kw(vtkTemp662) SetValue 0
> $kw(vtkTemp5) SetCenterOfRotation 0.000000 -5.000000 0.000000
> $kw(vtkTemp5) SetCenterOfRotation 0.000000 -5.000000 0.000000
> set kw(vtkTemp673) [$kw(vtkTemp5) GetPVColorMap {point_scalars} 1]
> $kw(vtkTemp673) SetScalarBarTitle {point_scalars}
> set kw(vtkTemp746) [$kw(vtkTemp5) GetAnimationManager]
> set kw(vtkTemp447) [$kw(vtkTemp746) GetHAnimationInterface]
> set kw(vtkTemp450) [$kw(vtkTemp447) GetParentTree]
> set kw(vtkTemp734) [$kw(vtkTemp450) GetChild "Sources.[$kw(vtkTemp660) 
> GetName]"]
> set kw(vtkTemp738) [$kw(vtkTemp734) GetChild "Sources.[$kw(vtkTemp660) 
> GetName].TimeStep.0"]
> set kw(vtkTemp742) [$kw(vtkTemp738) GetKeyFrame "KeyFrameName_0"]
> $kw(vtkTemp742) SetKeyTime 0.000000
> $kw(vtkTemp742) SetKeyValue 0.000000
> $kw(vtkTemp742) SetKeyValue 0.000000
> $kw(vtkTemp742) SetKeyValue 0.000000
> set kw(vtkTemp748) [$kw(vtkTemp738) GetKeyFrame "KeyFrameName_1"]
> $kw(vtkTemp748) SetKeyTime 1.000000
> $kw(vtkTemp748) SetKeyValue 0.000000
> $kw(vtkTemp748) SetKeyValue 0.000000
> $kw(vtkTemp748) SetKeyValue 24.000000
> $kw(vtkTemp660) AcceptCallback
> 
> But when i try to reopen this at a later time I get this error, and the 
> loading just stops:
> # Error or warning:
> # There was a VTK Error in file: 
> /home/hjkarpf/temp/Paraview/paraview-2.0.3/GUI/Widgets/vtkKWApplication.cxx 
> (1397)
> # 
> #     Script:
> # /home/hjkarpf/untitled folder/test.pvs
> #     Returned Error on line 18:
> #       invalid command name ""
> #
> 
> Looking at the above code line 18 is:
> set kw(vtkTemp738) [$kw(vtkTemp734) GetChild "Sources.[$kw(vtkTemp660) 
> GetName].TimeStep.0"]
> 
> Can anyone help fix this problem? Thanks in advance.
> 
> --------------------------
> Henry Karpf
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview



More information about the ParaView mailing list