Bruno, No, there's no reason to install a fake-linux package manager.
You said "Library/Perl", does that mean /Users/backlin/Library/Perl or /Library/Perl? It should be the latter. If it's the former, what's in /Library/Perl? Assuming that it *is* /Library/Perl, there are several packages that should be there and aren't. I suggest sudo rm -rf /Library/Perl/5.18/Finance sudo rm -rf ~/.cpan/build/Finance-Quote* sudo rm -rf -/.cpan/build/Date-Manip* sudo cpan -i Date::Manip sudo cpan -i Finance::Quote Check the output of those last two to make sure that they complete successfully. Reinstalling Finance::Quote should pull in the other packages. After it's done /Library/Perl/5.18 should contain Date, DateTime, Finance, LWP, and LWP.pm in addition to the modules already there. Regards, John Ralls > On Mar 24, 2019, at 2:36 PM, Bruno Acklin <back...@gmail.com> wrote: > > Hi John, > > Sorry for the omission and delay. > > No, I have none of these “fake-Linux package managers”(?) installed - should > I? > > The reply to backlin$ which perl is > /usr/bin/perl > > In usr/bin I find two entries: > perl and > perl5.18 > > The directory Library/Perl contains > /5.18 > /Darwin-thread-multi-2level > /Finance > /HTML > /JSON > /Mozilla > /AppendToPath > /JSON.pm > /Updates > /5.18.2 > /Darwin-thread-multi-2level > > Looking up contents of > ~/.cpan/build/ : > Date-Manip-6.75-JzZ9Wt ExtUtils-MakeMaker-7.34-_6iXcq > Date-Manip-6.76-9mWyaN Finance-Quote-1.47-_BUlzK > Date-Manip-6.76-NE8c76 Finance-Quote-1.47-nChsgf > Date-Manip-6.76-QNnn65 HTML-TableExtract-2.15-dP4w2A > ExtUtils-MakeMaker-7.34-695wh2 JSON-4.02-RrPsdw > ExtUtils-MakeMaker-7.34-DVwu8U Mozilla-CA-20180117-TgJL7x > ExtUtils-MakeMaker-7.34-U01uzs > > Trying your suggestion with /stockdump.pm for both fnq builds I get a > delayed, identical result, even if I misspell aap(l) for a non-existing > ticker: > > backlin$ ~/.cpan/build/Finance-Quote-1.47-_BUlzK/Examples/stockdump.pl > yahoo_json aapl > $VAR1 = { > 'aaplsymbol' => 'aapl', > 'aaplsuccess' => 0, > 'aaplerrormsg' => 'Error retrieving quote for aapl. Attempt to fetch > the URL https://query1.finance.yahoo.com/v7/finance/quote?symbols=aapl > resulted in HTTP response 500 (Internal Server Error)' > > and > backlin$ ~/.cpan/build/Finance-Quote-1.47-nChsgf/Examples/stockdump.pl > yahoo_json aap > $VAR1 = { > 'aapsymbol' => 'aap', > 'aapsuccess' => 0, > 'aaperrormsg' => 'Error retrieving quote for aap. Attempt to fetch > the URL https://query1.finance.yahoo.com/v7/finance/quote?symbols=aap > resulted in HTTP response 500 (Internal Server Error)' > }; > > I am hoping this might give you a clue. I have no idea what could have gone > wrong. Just that finance quote stopped working on my desktop and my laptop > the same week, when I did not do anything on my system, not even reboot, > other than changing the network access updating the router configuration. > > Thanks, and best, Bruno > > >> On Mar 22, 2019, at 7:46 PM, John Ralls <jra...@ceridwen.fremont.ca.us> >> wrote: >> >> Please remember to copy the list on all replies. >> >> Curl and your browser working exonerates your router. >> >> *Re*-installing perl would I think be challenging; it's provided as part of >> MacOS so I'd think that the only safe way to do it would be to reinstall the >> OS. >> >> That said, do you have any of the fake-Linux package managers--Homebrew, >> MacPorts, or Fink--installed? >> >> What's the output of running >> which perl >> from the command line? >> How about >> ~/.cpan/build/Finance-Quote-1.47-XXXXXX/Examples/stockdump.pl yahoo_json aapl >> (the XXXXXX bit is random characters that depends on the installation). >> >> Regards, >> John Ralls >> >>> On Mar 22, 2019, at 3:31 PM, Bruno Acklin <back...@gmail.com> wrote: >>> >>> No, I get an instant reply with content: >>> {"quoteResponse":{"result":[{"language":"en-US","region":"US","quoteType":"EQUITY","quoteSourceName":"Nasdaq >>> Real Time Price","currency":"USD","regularMarketPrice":191.05,.. >>> >>> Same if I use the fnc query from my browser: >>> https://query1.finance.yahoo.com/v7/finance/quote?symbols=aapl >>> >>> Any other ideas, especially related to the router change? >>> >>> Is there a point and safe way in reinstalling all of PERL on MacOS Mojave? >>> >>> Best, Bruno >>> >>>> On Mar 22, 2019, at 12:05 PM, John Ralls <jra...@ceridwen.fremont.ca.us> >>>> wrote: >>>> >>>> https://query1.finance.yahoo.com/v7/finance/quote?symbols=aapl >>> >> > > _______________________________________________ > gnucash-user mailing list > gnucash-user@gnucash.org > To update your subscription preferences or to unsubscribe: > https://lists.gnucash.org/mailman/listinfo/gnucash-user > If you are using Nabble or Gmane, please see > https://wiki.gnucash.org/wiki/Mailing_Lists for more information. > ----- > Please remember to CC this list on all your replies. > You can do this by using Reply-To-List or Reply-All. _______________________________________________ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.