Problem installing Finance::Quote 1.27 SOLVED

Chris Good chris.good at ozemail.com.au
Thu Mar 20 07:28:08 EDT 2014


Hi Erik,

I tested installing Test::Perl::Critic
under Strawberry Perl 5.18.2.1 64-bit msi McAfee with Real-Time Scanning ON
:
	cpan install Test::Perl::Critic

It failed installing Config::Tiny with 'No such file or directory'
so it seems the problem WAS fixed by your removal of the 2 dependencies in
FQ 1.28,
and not by the McAfee Engine update.

I captured most of the log and will post it under 
https://rt.cpan.org/Ticket/Display.html?id=93659
(Bug #93659 for Perl-Dist-Strawberry: Bizarre copy of ARRAY in list
assignment at 
C:\strawberry\perl\lib/Carp.pm line 228)

I tested GnuCash FQ without Date::Manip.

echo '(yahoo "CSCO" "JDSU" "^IXIC")' | perl gnc-fq-helper
Undefined subroutine &main::Date_Init called at gnc-fq-helper line 351.

You are quite correct, FQ doesn't need Date::Manip so it would be wrong to
include a dependency for Date::Manip in FQ.
Unfortunately GnuCash does need Date::Manip, as I think it uses
gnc-fq-helper to interface between GnuCash & FQ, 
and gnc-fq-helper contains:

# The following include is needed for the ParseDateString function.
# This should eventually be replaced with a requirement for F::Q
# version 1.11 (or better) and the use of the 'isodate' field to
# handle the date part of the conversion.  Still need a method to
# handle the time conversion.
use Date::Manip;


Sounds complicated, and maybe risky to change  - I'll have a look when I get
a chance.

Thanks for your help again,

Regards,	Chris Good

> -----Original Message-----
> From: Erik Colson [mailto:eco at ecocode.net]
> Sent: Thursday, 20 March 2014 1:03 AM
> To: Chris Good
> Cc: gnucash-user at gnucash.org; finance-quote-news at lists.sourceforge.net
> Subject: Re: Problem installing Finance::Quote 1.27 SOLVED
> 
> "Chris Good" <chris.good at ozemail.com.au> writes:
> 
> > Hi Erik,
> >
> > I've done some testing on the same PC I was having problems with
> > Strawberry Perl and McAfee, and your new Finance::Quote 1.28 and found
> > some good, but confusing results!
> [..]
> > > Can you please advise what dependencies you removed in 1.28 so I can
> > > try to
> > install them and see if the problem recurs?
> 
> Hi Chris,
> 
> You've done an awesome job ! Thanks for figuring this out.
> 
> The removed dependencies are authortest-specific:
> - Test::Perl::Critic
> - Test::Kwalitee
> 
> > Also, if possible, could you please add Finance::Quote dependency on
> > Date::Manip into your next build?
> > (I assume it is actually required as GnuCash specifically checks for
> > it before enabling Finance::Quote to be used).
> 
> AFAIK Date::Manip is _not_ in dependency list of F::Q. I checked and
couldn't
> find any reference to it... So I think there's no need to add that
depency.
> --
> erik colson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6091 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20140320/5d16ecc0/attachment.p7s>


More information about the gnucash-user mailing list