1.Error:
LUV configuration file
invalid command name “Agent/LUV”
while executing
“Agent/LUV set sport_ 0”
(file “./luv.tcl” line 2)
invoked from within
“source.orig ./luv.tcl”
(“uplevel” body line 1)
invoked from within
“uplevel source.orig [list $fileName]”
invoked from within
“if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig [list $fileName]
…”
LUV configuration file
invalid command name “Agent/LUV”
while executing
“Agent/LUV set sport_ 0”
(file “./luv.tcl” line 2)
invoked from within
“source.orig ./luv.tcl”
(“uplevel” body line 1)
invoked from within
“uplevel source.orig [list $fileName]”
invoked from within
“if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig [list $fileName]
…”
Solution:
PS: Because I reinstalled ns2, then when I set the environment variables, I repeatedly executed source ~/.bashrc/, but found that the environment variables set did not take effect
Use echo $PATH to check the path, and found that there are duplicate paths
At the command line, enter.
export PATH=$(echo $PATH | tr : "\n"| sort | uniq | tr "\n" :) Remove duplicate path, re-execute ns XXX.tcl file, success!!!
Similar Posts:
- Mac ADB prompts command not found
- MYSQL Error: Out of sort memory, consider increasing server sort buffer size; nested exception is java.sql.SQLException: Out of sort memory, consider increasing server sort buffer size
- CentOS Error -bash:systemctl:command not found
- Solve the problem of ADB: command not found on MAC
- Linux use the man command error: Man: command not found [How to Solve]
- Super detail: command not found: the scratch solution (add the scratch environment variable to Zsh under MAC)
- Git Add The Public Key sign_and_send_pubkey: signing failed: agent refused operation
- How to install “CONDA command not found” in MAC Anaconda
- Solution to the error of cscope – Q option in Windows
- [Solved] JPype Error: FileNotFoundError: [Errno 2] No such file or directory: ‘/usr/lib/jvm’