LINUX programming

Moderators: ITA
Number of threads: 1339
Number of posts: 2924

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Error while running example in tcl script Posted by mini123 on 31 Oct 2008 at 2:36 PM
Hi,

I am working on ns-2.33 on linux RedHat 9.0 machine. I am trying to run an example for FTP application on wired network having 4 nodes. When I run using ns sample_2.tcl I get following error:

invalid command name "Queue/ms"
while executing
"Queue/ms create _o22 DropTail"
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 Queue/$qtype $args"
("default" arm line 5)
invoked from within
"switch -exact $qtype {
ErrorModule {
if {[llength $args] > 0} {
set q [eval new $qtype $args]
}
else {
set q[new $qtype Fid]
}
}
intserv {
set qtyp..."
(procedure "_o3" line 14)
invoked from within
"$ns simplex-link $n0 $n2 5Mb 2ms DropTail"
(file "sample_2.tcl" line 13)

I don't understand how to deal with this error. Please help me with this. It is urgent! Please!

Thanks



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.