[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [ns] nam1.0a10 problem for wireless?
The reason is: there is an extra space at the end of some lines in the nam
file.
I solved the problem in the following way:
# diff cmu-trace.cc cmu-trace.cc.old
628c628
< "+ -t %.9f -s %d -d %d -p %s -e %d -c 2 -a %d -i %d -k %3s",
---
> "+ -t %.9f -s %d -d %d -p %s -e %d -c 2 -a %d -i %d -k %3s ",
Hope it helps.
Alan
On Thu, 28 Jun 2001 [email protected] wrote:
> Hello,
>
> I had a same problem and I have modified parser.cc according to this patch.
> But as I run simulator it runs for a while without giving any errors /
> warnings. It also moves objects in nam. But, then it started giving same
> warning and stop displaying movement of nodes in nam till the end.
>
> Warnings are :
>
> Unexpected end of line : -t ...................
> Perhaps you have extra spaces at the end of the line.
> Last parsed attribute flag was -k
>
> In addition to this, Initially when I start simulation, it gives me warning
> about having -v instead of -V in .nam file.
>
> Is it normal behavior or it require more patches ?
>
> I am running in /ns2/ns-tutorial/examples/wireless2.tcl. I am running
> ns2.1b8.
>
> Yogesh Solanki
>
>
> -----Original Message-----
> From: ext Daichi Furusaka [mailto:[email protected]]
> Sent: Tuesday, June 26, 2001 11:16 AM
> To: [email protected]
> Cc: [email protected]
> Subject: Re: [ns] nam1.0a10 problem for wireless?
>
>
> I correctted this bug.
> You can find this bug in the file parser.cc
> Patch file is attached to this mail.
>
> Maybe you might find lots of warning messages around nam wireless
> formats. I guess wireless nam is not stable- yet.
>
> hope it helps.
>
> -- furu
>
>
> From: Alan Wang <[email protected]>
> Subject: [ns] nam1.0a10 problem for wireless?
> Date: Tue, 26 Jun 2001 11:39:06 -0400 (EDT)
>
> >
> > I found that NONE of the nam files generated by
> > the wireless-related example tcl scripts can be
> > displayed correctly by nam 1.0a10.
> >
> > Besides the following warning:
> > "Perhaps you have extra spaces at the end of the line.
> > Last parsed attribute flag was -k",
> >
> > NO moving node changes its position in Nam.
> >
> > Does anyone else notice this problem? Any feedback
> > is appreciated. Thanks.
> >
> > Alan
> >
> >
> >
> >
>