(_o22 cmd line 1) error
by cendana from LinuxQuestions.org on (#4VP2H)
Hi,
I have successfully installed ns-2.35-allinone. I have run a few tcl files in tcl/ex and it working fine. But when I run script.tcl file in /tcl/ex/mdart, it has the following errors.._o22 cmd line1...
I have gone through the similar threads but still couldn't get the solution.
Please help me on how to solve this problem.
Thank you in advance.
num_nodes is set 16
(_o22 cmd line 1)
invoked from within
"_o22 cmd addr"
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 "_o22" line 2)
(SplitObject unknown line 2)
invoked from within
"_o22 addr"
("eval" body line 1)
invoked from within
"eval $node addr $args"
("default" arm line 2)
invoked from within
"switch -exact $routingAgent_ {
DSDV {
set ragent [$self create-dsdv-agent $node]
}
DSR {
$self at 0.0 "$node start-dsr"
}
AODV {
set ragent [$self cre..."
(procedure "_o12" line 13)
(Simulator create-wireless-node line 13)
invoked from within
"_o12 create-wireless-node"
("eval" body line 1)
invoked from within
"eval $self create-wireless-node $args"
(procedure "_o12" line 23)
(Simulator node line 23)
invoked from within
"$ns node"
("for" body line 2)
invoked from within
"for {set i 0} {$i < $val(n) } {incr i} {
set node($i) [$ns node]
$node($i) random-motion 0 ;# disable random motion
}"


I have successfully installed ns-2.35-allinone. I have run a few tcl files in tcl/ex and it working fine. But when I run script.tcl file in /tcl/ex/mdart, it has the following errors.._o22 cmd line1...
I have gone through the similar threads but still couldn't get the solution.
Please help me on how to solve this problem.
Thank you in advance.
num_nodes is set 16
(_o22 cmd line 1)
invoked from within
"_o22 cmd addr"
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 "_o22" line 2)
(SplitObject unknown line 2)
invoked from within
"_o22 addr"
("eval" body line 1)
invoked from within
"eval $node addr $args"
("default" arm line 2)
invoked from within
"switch -exact $routingAgent_ {
DSDV {
set ragent [$self create-dsdv-agent $node]
}
DSR {
$self at 0.0 "$node start-dsr"
}
AODV {
set ragent [$self cre..."
(procedure "_o12" line 13)
(Simulator create-wireless-node line 13)
invoked from within
"_o12 create-wireless-node"
("eval" body line 1)
invoked from within
"eval $self create-wireless-node $args"
(procedure "_o12" line 23)
(Simulator node line 23)
invoked from within
"$ns node"
("for" body line 2)
invoked from within
"for {set i 0} {$i < $val(n) } {incr i} {
set node($i) [$ns node]
$node($i) random-motion 0 ;# disable random motion
}"