[ns] ns2- Class Schedular/calender pbm

prashant chaudary prashantism2209 at gmail.com
Sun Sep 13 08:07:03 PDT 2009


Hi ,
          I have successfully installed and validate ns2.33. but when
running following script i m getting following error.

script:
              set ns [new Simulator]
$ns at 1 “puts \“Hello World!\””
$ns at 1.5 “exit”
$ns run


after running:
(_o5 cmd line 1)
    invoked from within
"_o5 cmd at 1 “puts “Hello World!””"
    invoked from within
"catch "$self cmd $args" ret"
    invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
    (procedure "_o5" line 2)
    (SplitObject unknown line 2)
    invoked from within
"_o5 at 1 “puts “Hello World!””"
    ("eval" body line 1)
    invoked from within
"eval $scheduler_ at $args"
    (procedure "_o3" line 3)
    (Simulator at line 3)
    invoked from within
"$ns at 1 “puts \“Hello World!\””"
    (file "simple.tcl" line 2)
prashant at prashant-desktop:~/Desktop$




Help will be highly appreciated. Thank u in advance

Prashant Kumar
Btech CS


More information about the Ns-users mailing list