[Paraview] Errors with 2.2

Karpf, Henry J hjkarpf at sandia.gov
Thu Jun 30 10:09:45 EDT 2005


Is there any other reason, as it displays the correct information, and
works just fine.  The name is also PVDReader0, so that is not the issue?
--------------------------
Henry Karpf
(505) 844 - 3087
Org. 9237 - Electrical and Microsystems Modeling
Sandia National Laboratories
P.O. Box 5800, MS 0316
Albuquerque, NM 87185-0316



-----Original Message-----
From: Berk Geveci [mailto:berk.geveci at gmail.com] 
Sent: Thursday, June 30, 2005 7:45 AM
To: Karpf, Henry J
Cc: paraview at paraview.org
Subject: Re: [Paraview] Errors with 2.2


It looks like you created a special tcl script to put the name of a file
on the annotation. However, this script hardcodes the name of the reader
(PVDReader0). I am guessing that when you load the script, you get a
different name. Maybe because you already had another reader. I don't
know how to get around it other than deleting the offending lines from
the script. I hope to work on better annotation support in the future
but I don't know when I will have the time.

-Berk

On 6/29/05, Karpf, Henry J <hjkarpf at sandia.gov> wrote:
>  
> 
> Hello, so I load up a session trace, included below the error message,

> and get this error upon exiting paraview:  [hjkarpf at habanero new]$ 
> paraview paraviewtrace.pvs  ErrorMessage
>  # Error or warning: There was a VTK Error in file:
>
/home2/hjkarpf/Paraview/paraview-2.2.0/GUI/Widgets/vtkKWTkUtilities.cxx
> (194) 
>      Script:
>  set pvCATemp "Time = [[[[$Application GetMainWindow] GetPVSource
Sources
> PVDReader0] GetDataInformation] GetName]"
>      Returned Error on line 1:
>  invalid command name ""
>  ErrorMessage end
>  [hjkarpf at habanero new]$
>  
>  set kw(vtkTemp5) [$Application GetMainWindow]
>  set kw(vtkTemp23) [$kw(vtkTemp5) GetMainView]
>  set kw(vtkTemp660) [$kw(vtkTemp5) InitializeReadCustom "PVDReader" 
> "/home/hjkarpf/Chisels/examples/new/paraview.pvd"]
>  $kw(vtkTemp5) ReadFileInformation $kw(vtkTemp660) 
> "/home/hjkarpf/Chisels/examples/new/paraview.pvd"
>  $kw(vtkTemp5) FinalizeRead $kw(vtkTemp660) 
> "/home/hjkarpf/Chisels/examples/new/paraview.pvd"
>  set kw(vtkTemp665) [$kw(vtkTemp660) GetPVWidget {Filename}]
>  $kw(vtkTemp665) SetValue 
> "/home/hjkarpf/Chisels/examples/new/paraview.pvd"
>  set kw(vtkTemp662) [$kw(vtkTemp660) GetPVWidget {TimeStep}]
>  $kw(vtkTemp662) SetValue 0
>  $kw(vtkTemp5) SetCenterOfRotation 0.000000 -5.000000 0.000000  set 
> kw(vtkTemp673) [$kw(vtkTemp5) GetPVColorMap {point_scalars} 1]
>  $kw(vtkTemp673) SetScalarBarTitle {point_scalars}
>  $kw(vtkTemp660) AcceptCallback
>  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"]
>  $kw(vtkTemp660) AcceptCallback
>  set kw(vtkTemp39) [$kw(vtkTemp660) GetPVOutput]
>  $kw(vtkTemp39) DrawWireframe
>  set kw(vtkTemp762) [$kw(vtkTemp5) CreatePVSource Contour]
>  set kw(vtkTemp807) [$kw(vtkTemp762) GetPVWidget {Input}]
>  $kw(vtkTemp807) SetCurrentValue $kw(vtkTemp660)
>  set kw(vtkTemp808) [$kw(vtkTemp762) GetPVWidget {Scalars}]
>  $kw(vtkTemp808) SetValue {point_scalars}
>  set kw(vtkTemp770) [$kw(vtkTemp762) GetPVWidget {Contour Values}]
>  $kw(vtkTemp770) RemoveAllValues
>  $kw(vtkTemp770) AddValue 0
>  set kw(vtkTemp796) [$kw(vtkTemp762) GetPVWidget {Compute Normals}]
>  $kw(vtkTemp796) SetState 1
>  set kw(vtkTemp799) [$kw(vtkTemp762) GetPVWidget {Compute Gradients}]
>  $kw(vtkTemp799) SetState 0
>  set kw(vtkTemp802) [$kw(vtkTemp762) GetPVWidget {Compute Scalars}]
>  $kw(vtkTemp802) SetState 0
>  $kw(vtkTemp762) AcceptCallback
>  $kw(vtkTemp39) SetLineWidth 3
>  set kw(vtkTemp231) [$kw(vtkTemp23) GetCornerAnnotation]
>  $kw(vtkTemp231) SetCornerText {TimeStep = [smGet Sources PVDReader0
> TimeStep]} 2
>  $kw(vtkTemp231) SetCornerText {Time = [[[[$Application GetMainWindow]
> GetPVSource Sources PVDReader0] GetDataInformation] GetName]} 3
>  $kw(vtkTemp231) SetVisibility 1
>  $kw(vtkTemp5) ShowAnimationPanes
>  #$kw(vtkTemp5) SetHorizontalPaneVisibility 1
>  set kw(vtkTemp458) [$kw(vtkTemp746) GetVAnimationInterface]
>  $kw(vtkTemp458) SetCacheGeometry 0
>  set kw(vtkTemp483) [$kw(vtkTemp746) GetAnimationScene]
>  $kw(vtkTemp483) Play
>  
>  
>  --------------------------
>  Henry Karpf
>  (505) 844-3087
>  Org. 9237 - Electrical and Microsystems Modeling
>  Sandia National Laboratories
>  PO Box 5800, MS 0316
>  Albuquerque, NM 87185-0316
>  
>  
>  
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org 
> http://www.paraview.org/mailman/listinfo/paraview
> 
> 
>




More information about the ParaView mailing list