命令名称无效" GoddardStreaming"

时间:2016-08-21 04:54:34

标签: ns2

伙计们请帮我解决这个问题。我按照安装此应用程序时找到的所有步骤进行操作。安装工作正常,但运行测试文件时仍然出现此错误。

    invalid command name "GoddardStreaming"
    while executing
"GoddardStreaming create _o92 _o3 _o16 _o19 TCP 1000 0"
    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 GoddardStreaming $ns $node_s(0) $node_r(0) TCP 1000 0"
    invoked from within
"set gs(0) [new GoddardStreaming $ns $node_s(0) $node_r(0) TCP 1000 0]"
    (file "test-goddard.tcl" line 54)

这只是测试文件,所以我想我不应该得到这个错误。

0 个答案:

没有答案
相关问题