Hello,

> warning:no class variable Trafficfile::debug_
>       see tcl-object.tcl in tclcl for info about this warning

I was having a similar problem, and I found the solution here, as I  
posted a few days ago to this list:
http://nile.wpi.edu/NS/
Click on Otcl linkage, and search for 'warning' on the page and read  
about that.

Basically, you need to set this variable (debug_) in ns-default.tcl  
(located here in my case:
cphelps/ns-allinone-2.31/ns-2.31/tcl/lib/ns-default.tcl). The format  
of how to set the variable is as shown in the file:
SuperClass/Class set _variable_name_ #
eg
Trafficfile set debug_ 1.0

Hope that helps. 8-)

> I tried adding "Trafficfile set debug_ false" in
> ./tcl/lib/ns-default.tcl as mentioned in very old posts but
> unfortunetly it doesnt work in my case.

I think this "solution" was a work-around to ignore the problem.



-- 
Sincerely,

Candace Phelps
3rd Yr Honors CS Student


Quoting Francesco Trebbi <[EMAIL PROTECTED]>:

>
> Hi,
>
> I am trying to use some trace files to generate traffic but When I run
> the simulation I get
> the warning message:
>
> warning:no class variable Trafficfile::debug_
>       see tcl-object.tcl in tclcl for info about this warning
>
>
>
> I tried adding "Trafficfile set debug_ false" in
> ./tcl/lib/ns-default.tcl as mentioned in very old posts but
> unfortunetly it doesnt work in my case.
>
> Does anyone has any ideas to solve this problem?
>
>
> Thanks, I appreciate.
>
> Francesco
>
>



Reply via email to