[GNC] Finance::Quote on Windows
Adam Baker
adamb924 at gmail.com
Tue Jan 21 05:29:38 EST 2020
I still don't know what the underlying problem was, but I was able to get
it working by uninstalling Strawbery Perl entirely, reinstalling it, and
then running GnuCash's installation script.
The previous version was “perl 5, version 30, subversion 0 (v5.30.0)”. The
current version is “perl 5, version 30, subversion 1 (v5.30.1).”
Adam
On Sun, Jan 19, 2020 at 12:30 PM Adam Baker <adamb924 at gmail.com> wrote:
> I am having trouble getting Finance::Quote to work on Windows (GnuCash
> 3.8; 64-bit Windows 10). I had it working sometime in the last couple of
> months, but it has stopped working for some reason.
>
> Specifically: 1) stock prices do not update; 2) in “Price Database” the
> “Get Quotes” button is grayed out; 3) in “Security Editor” when I open a
> stock it has the error, “Warning: Finance::Quote not installed properly.”
>
> I have run the “Install Online Price Retrieval for GnuCash” utility
> (several times), and it always ends with “Installation succeeded” — and no
> errors before that.
>
> I'm able to get stock quotes from the command line:
>
> C:\Program Files (x86)\gnucash\bin>echo (alphavantage "AMZN") | perl -w
> gnc-fq-helper
> (("AMZN" (symbol . "AMZN") (gnc:time-no-zone . "2020-01-17 12:00:00")
> (last . #e1864.7200) (currency . "USD")))
>
> The trace files do seem to have a a perl-related warning:
>
> * 12:00:58 WARN <gnc.app-utils> Could not spawn perl: Failed to execute
> child process (Bad file descriptor)
> * 12:00:58 ERROR <gnc.app-utils> gnc_process_get_fd: assertion 'proc'
> failed
> * 12:00:58 ERROR <gnc.app-utils> gnc_detach_process: assertion 'proc &&
> proc->pid' failed
>
> perl is available on the command line, however.
>
> I've googled all of these error messages, and haven't found anything that
> seemed relevant. I'd appreciate any pointers about how to move forward.
>
> Thanks,
> Adam
>
>
More information about the gnucash-user
mailing list