[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] problem running snoop!!



On Thu, 21 Jun 2001, Padmaparna Haldar wrote:

> I think you are running the older script. 

A perfectly reasonable thing to do, since it's in the distribution.

I see 
http://www.isi.edu/cgi-bin/nsnam/cvsweb/ns-2/tcl/ex/snoop/
hasn't been touched since 1998 or so.

Fixing this to match the existing ns snoop functionality would be
nice.

L.

thinks ns's lack of package modularity is a problem.

> Try the newer MySnoop.tcl
> provided by Benyuan liu in his snoop.patch.
> 
> --Padma
> 
> On 21 Jun 2001, stecve  jobs wrote:
> >
> >          i am using the ns8 version ..
> >          when i try to run snoop.tcl given in the
> >          source ....it gives the following error
> >
> >          //---------------------------------------------
> >          invalid command name "BaseTrace"
> >          while executing
> >          "BaseTrace instproc attach fp {
> >          $self instvar fp_
> >
> >          set fp_ $fp
> >          $self cmd attach $fp_
> >          }"
> >          (file "~/ns8/tcl/lib/ns-trace.tcl" line 65)
> >          invoked from within
> >          "source.orig ~/ns8/tcl/lib/ns-trace.tcl"
> >          ("uplevel" body line 1)
> >          invoked from within
> >          "uplevel source.orig $fileName"
> >          (procedure "source" line 12)
> >          invoked from within
> >          "source ~/ns8/tcl/lib/ns-trace.tcl"
> >          (file "snoop.tcl" line 71)

<[email protected]>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>