On-line price updating?

John Ralls jralls at ceridwen.us
Sat Jul 23 15:43:12 EDT 2016


> On Jul 23, 2016, at 7:14 AM, John Ralls <jralls at ceridwen.us> wrote:
> 
>> 
>> On Jul 22, 2016, at 4:02 PM, Alain Belzile <abe_qt01 at videotron.ca> wrote:
>> 
>> I have been using GnuCash for over a year on a Windows system and now I
>> would like to add the stock price updating module.
>> 
>> Per the instructions in the help file, I launched « install-fq-mods.cmd »,
>> which yielded the attached result.
>> 
>> What is the error referring to?
>> 
>> 
>> Any clue would be much appreciated.
>> 
>> 
>> Alain Belzile
>> Montréal, QC, Canada
>> 
>> 
>> <install-fq-mods.txt>_
> 
> It failed for an HTTP-401 error, authentication required. After a bit of looking around I find that manual downloads from ActiveState require a business edition license ($1200US/year/seat!), so I guess we'll have to drop ActivePerl support from the install-fq-mods script.
> 
> If you want to continue to use ActivePerl you'll have to install the two modules Date::Manip and Finance::Quote plus their dependencies using the module installation tool that came with ActivePerl. If you've got an older version of ActivePerl (5.16 or earlier) you'll need to upgrade that first, as Active State supports modules for those versions only for business edition licensees.
> 
> Another solution, and the one I recommend if you don't have some particular reason to use ActivePerl, would be to uninstall ActivePerl. Then install-fq-mods will install Strawberry Perl for you, which has two advantages: First, Strawberry Perl uses the usual CPAN infrastructure for modules so you don't have to wait for ActiveState to build a new ppm after a module is updated. That's a major advantage for Finance::Quote that changes often because of website changes at the quote sources. Second, ActiveState is a closed-source commercial distribution (legal under the Perl license) while Strawberry is an open-source project on Github.

After looking at our fq scripts I see that about a year ago we changed to using CPAN for ActiveState, so you shouldn't need to change your Perl, just update GnuCash to a more recent one, ideally 2.6.13 but at least 2.6.9.

Regards,
John Ralls




More information about the gnucash-user mailing list