Re: F::Q 1.45 AlphaVantage quote failure

2017-11-12 Thread Greg Etling
Yeah it's not a key problem for me, it's in my environment file and I source it in the shell. Without the key, I get a different specific error about the key being absent. Greg 917-664-0083 http://gregetling.com -- "The credit belongs to the man who is actually in the arena, whose face is marred b

Re: F::Q 1.45 AlphaVantage quote failure

2017-11-12 Thread D via gnucash-user
AlphaVantage. Be sure to get the key in the right places. There are two, one for the app, one for command line. See the FAQ. David On November 13, 2017, at 6:50 AM, Greg Etling wrote: David, using alphavantage, or yahoo_json? The latter still works for me with 1.47. Greg 917-664-0083 http:

Re: F::Q 1.45 AlphaVantage quote failure

2017-11-12 Thread Greg Etling
David, using alphavantage, or yahoo_json? The latter still works for me with 1.47. Greg 917-664-0083 http://gregetling.com -- "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and ag

Re: F::Q 1.45 AlphaVantage quote failure

2017-11-12 Thread D via gnucash-user
For what it's worth, my Mac is using 5.18 without problem with F::Q 1.45. David On November 13, 2017, at 3:15 AM, Erik Colson wrote: Greg Etling writes: > I'm on OSX Sierra, and I'd prefer not to try to overlay a new perl if at > all possible as I've already had to blow away one profile over

Re: F::Q 1.45 AlphaVantage quote failure

2017-11-12 Thread Erik Colson
Greg Etling writes: > I'm on OSX Sierra, and I'd prefer not to try to overlay a new perl if at > all possible as I've already had to blow away one profile over the years > due to too much tinkering with perl. I'll take it under consideration, but > for now I'll just have to leave this broken. Th

Re: F::Q 1.45 AlphaVantage quote failure

2017-11-12 Thread Greg Etling
I'm on OSX Sierra, and I'd prefer not to try to overlay a new perl if at all possible as I've already had to blow away one profile over the years due to too much tinkering with perl. I'll take it under consideration, but for now I'll just have to leave this broken. Thanks anyway. Greg 917-664-0083

Re: F::Q 1.45 AlphaVantage quote failure

2017-11-12 Thread Erik Colson
Greg Etling writes: > Lots of output follows, most tests failed: hmmm... I'm out of ideas for now. Your Perl is pretty old. Although it should be working AFAIK, would you mind upgrading to a recent version ? best -- erik colson ___ gnucash-user mai

Re: F::Q 1.45 AlphaVantage quote failure

2017-11-12 Thread Greg Etling
Lots of output follows, most tests failed: # prove -lvof t/alphavantage.t t/alphavantage.t .. 1..110 ok 1 not ok 2 - IBM success # Failed test 'IBM success' # at t/alphavantage.t line 27. Use of uninitialized value in string eq at t/alphavantage.t line 28, line 1. not ok 3 - IBM defined #

Re: F::Q 1.45 AlphaVantage quote failure

2017-11-12 Thread Erik Colson
Greg Etling writes: >> perl -MFinance::Quote -e 'print $Finance::Quote::VERSION' >> > > 1.47 > > >> and >> >> perl -v >> > > This is perl 5, version 18, subversion 2 (v5.18.2) built for > darwin-thread-multi-2level > (with 2 registered patches, see perl -V for more detail) That should be OK

Re: F::Q 1.45 AlphaVantage quote failure

2017-11-12 Thread Greg Etling
On Sun, Nov 12, 2017 at 4:05 PM, Erik Colson wrote: > > Greg Etling writes: > > > Same result when I cd into that directory and run as either: > > perl -Ilib ~/.cpan/build/Finance-Quote-1.47-IUv7sO/Examples/stockdump.pl > > alphavantage SCHB > > or > > perl -Ilib Examples/stockdump.pl alphavanta

Re: F::Q 1.45 AlphaVantage quote failure

2017-11-12 Thread Erik Colson
Greg Etling writes: > Same result when I cd into that directory and run as either: > perl -Ilib ~/.cpan/build/Finance-Quote-1.47-IUv7sO/Examples/stockdump.pl > alphavantage SCHB > or > perl -Ilib Examples/stockdump.pl alphavantage SCHB Well, that is weird... Can you send the response to follow

Re: F::Q 1.45 AlphaVantage quote failure

2017-11-12 Thread Greg Etling
On Sun, Nov 12, 2017 at 1:58 PM, Erik Colson wrote: > > Greg Etling writes: > > > #perl -Ilib ~/.cpan/build/Finance-Quote-1.47-IUv7sO/Examples/stockdump. > pl > > alphavantage SCHB > > you need to run this command from the directory > ~/.cpan/build/Finance-Quote-1.47-IUv7sO > > otherwise the -Il

Re: F::Q 1.45 AlphaVantage quote failure

2017-11-12 Thread Erik Colson
Greg Etling writes: > #perl -Ilib ~/.cpan/build/Finance-Quote-1.47-IUv7sO/Examples/stockdump.pl > alphavantage SCHB you need to run this command from the directory ~/.cpan/build/Finance-Quote-1.47-IUv7sO otherwise the -Ilib won't use the correct library best -- erik colson __

Re: F::Q 1.45 AlphaVantage quote failure

2017-11-12 Thread Greg Etling
Erik, Thanks for the quick reply. The error message is gone with 1.47, although I'm still unsuccessful in retrieving any quotes from what looks like an issue on the AlphaVantage site: #perl /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-dump alphavantage SCHB Finance::Quote fields Gnucas

Re: F::Q 1.45 AlphaVantage quote failure

2017-11-12 Thread Erik Colson
Greg Etling writes: > Commands: > export ALPHAVANTAGE_API_KEY=XXX... > perl /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-dump -v > alphavantage SCHB.US > > Note: same exact behavior happens with 'SCHB' and 'US:SCHB' formulations > and other ticker symbols. > > Output: > malformed JSON

F::Q 1.45 AlphaVantage quote failure

2017-11-12 Thread Greg Etling
Like many others, I'm trying to get AlphaVantage up and running, but running into an error I haven't seen discussed yet. I followed the FAQ instructions ( https://wiki.gnucash.org/wiki/FAQ#Q:_Why_doesn.27t_online_quoting_work.3F) to add an ALPHAVANTAGE_API_KEY to /Applications/Gnucash.app/Contents/

F::Q 1.45 AlphaVantage quote failure

2017-11-12 Thread Greg Etling
Like many others, I'm trying to get AlphaVantage up and running, but running into an error I haven't seen discussed yet. I followed the FAQ instructions (https://wiki.gnucash.org/wiki/FAQ#Q:_Why_doesn.27t_ online_quoting_work.3F) to add an ALPHAVANTAGE_API_KEY to / Applications/Gnucash.app/Contents