invalid command command "agent/myudp"during using ns2 and evalvid
Hi,
I am using evalvid and ns2 and i use ubuntu 14.04 to evaluate video traffic ,I am using ns2.35 and evalvid 2.7.but when I run the tcl script be.tcl the following error is coming.. invalid command name "Agent/myUDP" while executing "Agent/myUDP create _o82 " invoked from within "catch "$className create $o $args" msg" invoked from within "if [catch "$className create $o $args" msg] { if [string match "__FAILED_SHADOW_OBJECT_" $msg] { delete $o return "" } global errorInfo error "class $..." (procedure "new" line 3) invoked from within "new Agent/myUDP" invoked from within "set udp1 [new Agent/myUDP]" (file "be.tcl" line 24) does anyone has a solution to this problem..Any sort of help will be appreciated plz reply to me..Knowing that I am beginner Thanks & Regards |
please reply
|
This appears to be set course work for a course in India and people have posted about this problem in the past.
Have a search around for "Agent/myUDP create _o82" (a string I selected because I figured it would be unique enough to lead to info on people having encountered the same problem). You will find at least one potential solution. |
tcl8.5.10 installation failed.
Hi
I have taken this step: cd ns-allinone-2.35/ patch -p0 < myevalvid2_ns235.patch https://drive.google.com/file/d/0B7S...ew?usp=sharing export CC=gcc-4.4 CXX=g++-4.4 && ./install cd ns-2.35/ sudo make install cp ns ns235-evalvid2 sudo cp ns235-evalvid2 /usr/local/bin/ but when i run export CC=gcc-4.4 CXX=g++-4.4 && ./install the following error is coming.. tcl8.5.10 make succeeded. Installing libtcl8.5.a to /home/messaouda/ns-allinone-2.35/lib/ Installing tclsh as /home/messaouda/ns-allinone-2.35/bin/tclsh8.5 Installing tclConfig.sh to /home/messaouda/ns-allinone-2.35/lib/ Installing libtclstub8.5.a to /home/messaouda/ns-allinone-2.35/lib/ Installing message catalogs Creating msgs error deleting "/home/messaouda/ns-allinone-2.35/lib/tcl8.5/msgs/it_ch.msg": not owner while executing "file delete -force -- $d2" (procedure "copyDir" line 5) invoked from within "copyDir [file normalize [lindex $argv 0]] [file normalize [lindex $argv 1]]" (file "/home/messaouda/ns-allinone-2.35/tcl8.5.10/unix/../tools/installData.tcl" line 50) make: *** [install-msgs] Error 1 tcl8.5.10 installation failed. Tcl is not part of the ns project. Please see www.Scriptics.com to see if they have a fix for your platform. does anyone has a solution to this problem...plz reply to me.. thanks |
plz reply to me,does anyone has a solution to this problem.
|
Re #5.
? May be you used 'sudo' (or a GUI tool) for the unpack of ns-allinone-2.35.tar.gz ? ( No sudo for any ns2 command. EDIT : (Except 'sudo cp [ns-name] /usr/local/bin/' and 'sudo make install' ). Please delete all ns-allinone-2.35/ and do : $ tar xvf ns-allinone-2.35.tar.gz - |
Dear knudfl,
Thanks sir,i do this command:$ tar xvf ns-allinone-2.35.tar.gz and after doing "make install" i am getting this for d in /usr/local/man/man1; do \ if [ ! -d $d ]; then \ mkdir -p $d ;\ fi;\ done /usr/bin/install -c -m 755 ns /usr/local/bin /usr/bin/install: cannot remove ‘/usr/local/bin/ns’: Permission denied make: *** [install-ns] Error 1 what will i do? |
Re #7.
The 'make install' command is $ sudo make install : See #4. As post #6 suggests, it's recommended to do like $ sudo cp ns-evalvid2 /usr/local/bin/ Also included in post #4. |
Dear knudfl,thanks for reply
i run $ sudo make install but i am getting this for d in /usr/local/man/man1; do \ if [ ! -d $d ]; then \ mkdir -p $d ;\ fi;\ done /usr/bin/install -c -m 755 ns /usr/local/bin /usr/bin/install -c -m 644 ns.1 /usr/local/man/man1 what will i do??!!!! |
Dear knudfl,
Although following the above steps, but it remained the same error "invalid command agent/myudp" when i run ns235-evalvid2 be.tcl I do not know what to do, please I want some advice to solve this problem. thanks and Best regards |
Quote:
the file named "be.tcl" at line 24 is causing the problem. perhaps a bad naming or invalid prams being passed into function, OR a bad function call itself. Code:
invalid command name "Agent/myUDP" |
Quote:
you weren't kidding about it being from the PAST. this was posted in 2008 same exact problem. LMAO Quote:
|
All times are GMT -5. The time now is 10:36 PM. |