← Back to team overview

rohc team mailing list archive

Re: Running auto.pl generates errors

 

Hi Didier,

The following error was generated when I tried to use the patch file:


:~/rohc-1.2.0$ patch < fix_statistics_tool.patch
(Stripping trailing CRs from patch.)
can't find file to patch at input line 4
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|=== modified file '.bzrignore'
|--- .bzrignore    2009-08-04 16:04:51 +0000
|+++ .bzrignore    2009-08-05 21:37:33 +0000
--------------------------
File to patch:


Regards,
Josephine

On Thu, Aug 6, 2009 at 12:13 PM, Didier Barvaux <
didier.barvaux@xxxxxxxxxxxxxxxxxxxx> wrote:

> Josephine,
>
> > I'm trying to test the statistics tool in rohc-1.2.0. Running
> >
> >     $auto.pl
> >
> > generated this error:
> > 'Use of uninitialized value in addition (+) at ./stats.pl line 249,
> > <PACKETS_SIZE> line 1'
> >
> > [...]
> >
> > Can anyone help out with this? I'm using Ubuntu 8.0.4.
>
> I confirm the problem you encounter. I didn't test this tool for a long
> time. I opened a bug to track the problem. You can consult it at:
> https://bugs.launchpad.net/rohc/trunk/+bug/409562
>
> I committed a fix in the 1.2.x branch.
>
> To get the fix, you can either apply the attached patch on release
> 1.2.0 or download the source code from the Bazaar repository:
> https://code.launchpad.net/~didier-barvaux/rohc/1.2.x<https://code.launchpad.net/%7Edidier-barvaux/rohc/1.2.x>
>
> If you use the attached patch, you have to manually change the
> permissions of some scripts:
>  $ chmod a+x statistics/analyse_log.pl statistics/auto.pl
>  $ chmod a+x statistics/gnuplot.sh statistics/stats.pl
>  $ chmod a+x statistics/test.sh
>
> Let me known if it does not fix your problem.
>
> Didier Barvaux
> Viveris Technologies
>
> _______________________________________________
> Mailing list: https://launchpad.net/~rohc <https://launchpad.net/%7Erohc>
> Post to     : rohc@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~rohc <https://launchpad.net/%7Erohc>
> More help   : https://help.launchpad.net/ListHelp
>
>

References