[GNC] Finance::Quote failed to initialize

John Ralls jralls at ceridwen.us
Thu Oct 3 15:21:53 EDT 2024


Flavio,

I bet HomeBrew didn’t pick up the Apple Silicon build, but to make sure you can run
   file /Applications/Gnucash.app/Contents/MacOS/Gnucash
Which will return something like
  /Applications/Gnucash.app/Contents/MacOS/Gnucash: Mach-O 64-bit executable x86_64
For an Intel build; the end will be arm64e for an Apple Silicon one. If it’s an Intel build the simpler option is to get the Apple Silicon build from https;//www.gnucash.org <http://www.gnucash.org/>, but if you’d rather not you’ll have to reinstall Finance::Quote, see https://wiki.gnucash.org/wiki/Online_Quotes#Installing_Finance::Quote_on_macOS_from_a_Terminal_prompt.

That doesn’t explain why perldoc can’t find Finance::Quote though. Does /Library/Perl/5.34/Finance/Quote.pm exist?

Regards,
John Ralls


> On Oct 2, 2024, at 21:45, Boniforti Flavio <boniforti.f at gmail.com> wrote:
> 
> Hi John.
> I installed GnuCash with HomeBrew. I did not manually install Perl - it was already there:
> 
> me at MacBook-Pro ~ % perl -v
> 
> This is perl 5, version 34, subversion 1 (v5.34.1) built for darwin-thread-multi-2level
> (with 2 registered patches, see perl -V for more detail)
> 
> Copyright 1987-2022, Larry Wall
> 
> Perl may be copied only under the terms of either the Artistic License or the
> GNU General Public License, which may be found in the Perl 5 source kit.
> 
> Complete documentation for Perl, including FAQ lists, should be found on
> this system using "man perl" or "perldoc perl".  If you have access to the
> Internet, point your browser at http://www.perl.org/, the Perl Home Page.
> 
> My MBP is an M1.
> 
> Thanks for helping,
> F.
> 
> https://www.instagram.com/boniforti_music
> https://soundcloud.com/boniforti_music
> https://bonny-j.bandcamp.com <https://bonny-j.bandcamp.com/>
> 
> Am Do., 3. Okt. 2024 um 01:13 Uhr schrieb John Ralls <jralls at ceridwen.us <mailto:jralls at ceridwen.us>>:
>> Flavio,
>> 
>> What did you actually do? Do you by any chance have a perl installed that isn’t from Apple, perhaps HomeBrew or MacPorts? Is your MBP an Intel or Apple Silicon one and did you install the GnuCash that matches the architecture?
>> 
>> Regards,
>> John Ralls
>> 
>> 
>> > On Oct 2, 2024, at 12:03, Boniforti Flavio <boniforti.f at gmail.com <mailto:boniforti.f at gmail.com>> wrote:
>> > 
>> > Hi all.
>> > 
>> > On MacOS Sonoma 14.6.1 I've just followed the instructions from the GnuCash
>> > documentation to install the Finance::Quote module.
>> > After finishing without errors, I tried to use it but it won't initialize -
>> > see here:
>> > 
>> > me at MacBook-Pro ~ %
>> > /System/Volumes/Data/Applications/Gnucash.app/Contents/MacOS/gnucash-cli -Q
>> > info
>> > 
>> > Application Path
>> > /System/Volumes/Data/Applications/Gnucash.app/Contents/MacOS/gnucash-cli
>> > 
>> > Failed to initialize Finance::Quote: missing_modules Finance::Quote
>> > JSON::Parse
>> > 
>> > 
>> > Even Perl doesn't know about its existence:
>> > 
>> > me at MacBook-Pro ~ % perldoc Finance::Quote
>> > 
>> > No documentation found for "Finance::Quote".
>> > 
>> > Is anybody able to help me understand what's gone wrong and how to fix it?
>> > 
>> > Thanks,
>> > F.
>> > 
>> > https://www.instagram.com/boniforti_music
>> > https://soundcloud.com/boniforti_music
>> > https://bonny-j.bandcamp.com <https://bonny-j.bandcamp.com/>
>> > _______________________________________________
>> > gnucash-user mailing list
>> > gnucash-user at gnucash.org <mailto:gnucash-user at gnucash.org>
>> > To update your subscription preferences or to unsubscribe:
>> > https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> > -----
>> > Please remember to CC this list on all your replies.
>> > You can do this by using Reply-To-List or Reply-All.
>> 



More information about the gnucash-user mailing list