Skip Menu |

This queue is for tickets about the Finance-QuoteHist CPAN distribution.

Report information
The Basics
Id: 52017
Status: resolved
Priority: 0/
Queue: Finance-QuoteHist

People
Owner: MSISK [...] cpan.org
Requestors: andrew.kavalov [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.14



Subject: Warning messages in package Finance::QuoteHist::Generic v 1.1
Date: Mon, 23 Nov 2009 21:41:53 -0500
To: bug-Finance-QuoteHist [...] rt.cpan.org
From: Andrew KAVALOV <andrew.kavalov [...] gmail.com>
package Finance::QuoteHist::Generic v 1.1 perl, v5.10.0 built for x86_64-linux-thread-multi Linux localhost.localdomain 2.6.31.6-134.fc12.x86_64 #1 SMP Mon Nov 16 20:38:45 EST 2009 x86_64 x86_64 x86_64 GNU/Linux Dear Matt, Thank you for a wonderful package! When run with all warnings included (i.e. #!/usr/bin/perl -W) for one date (i.e. start_date=today, end_date=today) and for tickers which are not yet populated on YAHOO the program returns warning as below. The same warning many many times over. I am not sure this is a bug, leaving it to your judgment. However it would be really nice if it can be fixed in the future. Use of uninitialized value $pat_slice[0] in array slice at /usr/local/lib/perl5/site_perl/5.10.0/Finance/QuoteHist/Generic.pm line 1002. Use of uninitialized value $pat_slice[0] in array slice at /usr/local/lib/perl5/site_perl/5.10.0/Finance/QuoteHist/Generic.pm line 1002. Use of uninitialized value $pat_slice[0] in array slice at /usr/local/lib/perl5/site_perl/5.10.0/Finance/QuoteHist/Generic.pm line 1002. Use of uninitialized value $pat_slice[0] in array slice at /usr/local/lib/perl5/site_perl/5.10.0/Finance/QuoteHist/Generic.pm line 1002. Use of uninitialized value $pat_slice[0] in array slice at /usr/local/lib/perl5/site_perl/5.10.0/Finance/QuoteHist/Generic.pm line 1002. Use of uninitialized value $pat_slice[0] in array slice at /usr/local/lib/perl5/site_perl/5.10.0/Finance/QuoteHist/Generic.pm line 1002. Use of uninitialized value $pat_slice[0] in array slice at /usr/local/lib/perl5/site_perl/5.10.0/Finance/QuoteHist/Generic.pm line 1002. Use of uninitialized value $pat_slice[0] in array slice at /usr/local/lib/perl5/site_perl/5.10.0/Finance/QuoteHist/Generic.pm line 1002. Use of uninitialized value $pat_slice[0] in array slice at /usr/local/lib/perl5/site_perl/5.10.0/Finance/QuoteHist/Generic.pm line 1002. Use of uninitialized value $pat_slice[0] in array slice at /usr/local/lib/perl5/site_perl/5.10.0/Finance/QuoteHist/Generic.pm line 1002. Regards, Andrew
Thanks for the report, Andrew. This turned out to be a much deeper and subtle bug involving a) how the automatic column-mapping takes place and b) properly handling a UTF-8 byte order mark at the beginning of some sources. It's fixed now, though there are still a couple of unrelated messages that will appear while using -W.
Subject: Re: [rt.cpan.org #52017] Warning messages in package Finance::QuoteHist::Generic v 1.1
Date: Tue, 08 Jun 2010 21:41:52 -0400
To: bug-Finance-QuoteHist [...] rt.cpan.org
From: Andrew KAVALOV <andrew.kavalov [...] gmail.com>
Thanks you very much for this. Regards, Andrew ..................... On Tue, 2010-06-08 at 10:44 -0400, MSISK via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=52017 > > > Thanks for the report, Andrew. > > This turned out to be a much deeper and subtle bug involving a) how the > automatic column-mapping takes place and b) properly handling a UTF-8 > byte order mark at the beginning of some sources. > > It's fixed now, though there are still a couple of unrelated messages > that will appear while using -W.