[GNC] Mac OS stock price update… location of application

Bill Seguin seguinbg at gmail.com
Sun Mar 16 19:53:55 EDT 2025


Thanks, I'll check it out!
May be a couple days

On Sun, Mar 16, 2025 at 4:19 PM David Reiser <dbreiser at icloud.com> wrote:

> The app install location doesn’t matter for Finance-Quote install. Perl
> manages that separately from gnucash. You will need the path to the app for
> one of the steps to follow.
>
> If you had quotes working, and you migrated your intel data container to
> the M1 machine, then you almost certainly have the x86_64 architecture
> version of Finance-Quote installed. That won’t run on an M1 machine.
>
> In my experience, the cpan Apple installs is too dumb to honor a request
> for the arm64 version if the x86_64 version is already installed. So you
> have to force it.
>
> If you have multiple versions of perl installed on your machine, you’re
> probably in a deeper hole than I can get you out of. But you can try these
> steps to see if they work.
>
> Finance-Quote is not the only wrong-arch perl module likely to be present.
> Encode is a builddep that also needs to be arm64. So, in a terminal window
> enter:
>
> sudo arch -arch arm64 cpan -f Encode
>
>
> When the terminal asks for your password, it’s the password to get into
> your mac.
>
>
> If that succeeds, then you can install Finance-Quote. At the moment the
> released version doesn’t work with yahoo_json, so you’ll have to install
> the author’s interim version:
>
>
> sudo arch -arch arm64 cpan -f BPSCHUCK/Finance-Quote-1.64_04.tar.gz
>
>
> Once F-Q 1.65 is released (probably soon), that last part of that command
> would only need to be “-f Finance::Quote"
>
>
> You’re not quite done. JSON-Parse needs an arch upgrade too:
>
>
> sudo arch -arch arm64 cpan -f JSON::Parse
>
>
> Now, if your system is similar enough to mine, you should be done. But
> it’s a good idea to test from terminal. Now enter:
>
>
> /path_to_gnucash.app/Gnucash.app/Contents/MacOS/gnucash-cli -Q info
>
>
> You should see a report of the Finance Quote version and the quote sources
> recognized by Finance Quote
>
>
> If there are no error messages from the -Q info command, you should be
> able to retrieve quotes from within Gnucash.
>
>
> Once Finance-Quote is working, you should be able to substitute “-i” for
> “-f” in the listed commands for version upgrades.
>
>
> TLDR
>
> sudo arch -arch arm64 cpan -f Encode
>
> sudo arch -arch arm64 cpan -f BPSCHUCK/Finance-Quote-1.64_04.tar.gz
>
> sudo arch -arch arm64 cpan -f JSON::Parse
>
>
> /path_to_gnucash.app/Gnucash.app/Contents/MacOS/gnucash-cli -Q info
>
> or
>
> /Applications/Gnucash.app/Contents/MacOS/gnucash-cli -Q info
>
>
> Dave
> --
> Dave Reiser
> dbreiser at icloud.com
>
>
>
> On Mar 14, 2025, at 08:13, Bill Seguin <seguinbg at gmail.com> wrote:
>
> I'm running latest osx on M1
> I've tried a couple times in past to get price update working again since
> upgrading to apple silicon
>
> Thought I'd try again
>
> My gnucash is in Applications ,.. in folder "gnucash 5_10"
>
> Wondering if path to gnucash is important when installing
> Finance::Quote
>
> I see the "intel" version terminal instructions
>
> Thx
> --
> Bill
>
>
>

-- 
Bill


More information about the gnucash-user mailing list