Hi all,

it seems that the message for bug 512373 arrived at bug 512373.

Never mind… thanks for sending patches :)

-- Charles Plessy, Debian Med packaging team, Tsurumi, Kanagawa, Japan

Le Tue, Mar 03, 2009 at 03:03:55PM +0300, Sergey B Kirpichev a écrit :
> tags 512373 patch
> thanks
> 
> Simple WA is just comment out "use warnings" in
> /usr/share/perl5/Geo/IPfree.pm ;-)
> 
> It looks, the problem is in handling arguments of the new() method in
> IPfree.pm.  
> 
> Try attached patch.
> 
> On Tue, Mar 03, 2009 at 09:58:40AM +0100, Enrique Garcia wrote:
> > With libgeo-ipfree-perl version 0.5-1 everything is still the same.
> > Is there any workaround to solve this bug? Cron sends a report almost every 
> > time.
> > 
> >    Subject: Cron <www-d...@machine> [ -x /usr/lib/cgi-bin/awstats.pl -a -f 
> > /etc/awstats/awstats.conf -a -r /var/log/apache2/access.log ] && 
> > /usr/lib/cgi-bin/awstats.pl -config=awstats -update >/dev/null
> > 
> >    Message: Use of uninitialized value $_[0] in pattern match (m//) at 
> > /usr/share/perl5/Geo/IPfree.pm line 81.

> --- /usr/share/awstats/plugins/geoipfree.pm   2009-03-03 14:59:31.000000000 
> +0300
> +++ geoipfree.pm      2009-03-03 14:52:57.000000000 +0300
> @@ -51,7 +51,7 @@
>       # ENTER HERE CODE TO DO INIT PLUGIN ACTIONS
>       debug(" Plugin geoipfree: InitParams=$InitParams",1);
>       %TmpDomainLookup=();
> -     $gi = Geo::IPfree::new();
> +     $gi = Geo::IPfree->new();
>  #    $gi->Faster;    # Do not enable Faster as the Memoize module is rarely 
> available
>       # ----->
>  

> _______________________________________________
> Debian-med-packaging mailing list
> debian-med-packag...@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/debian-med-packaging

-- 
Charles Plessy
Debian Med packaging team,
http://www.debian.org/devel/debian-med
Tsurumi, Kanagawa, Japan



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to