Let us asume we are using GnuCash to track our finances. We also make use of the Price Database to track our Cryptoinvestment. Now as the title suggests, we are using an Apple Silicon based computer. Chances are that we are encountering a problem with JSON::Parse. We are unable to fetch online quotes.
The vast knowledge of the Internet gives us an answer to this problem. It seems that JSON::Parse will be installed for ARM instead of x86.
Thanks to nbrulois we can quickly fix this.
Identifying the Problem
sudo /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-updat
/Applications/Gnucash.app/Contents/MacOS/gnucash-cli --quotes info
Fixing the Problem
Remove JSON::Parse
sudo perl -MCPAN -e shell
install App::cpanminus
exit
sudo cpanm --uninstall Finance::Quote
sudo cpanm --uninstall JSON::Parse
exit
Restart Terminal App with Rosetta
We need to start the Terminal App with Rosetta. To do this we first need to quit the Terminal App.
Right click on the Terminal App and select Get Info. Check the box Open using Rosetta. Close and relaunch the Terminal App.
sudo /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-update
/Applications/Gnucash.app/Contents/MacOS/gnucash-cli --quotes info
Revert Terminal App changes
After we have verified that the issue is fixed, we can revert the changes we did to the Terminal App.
Conclusion
Launch GunCash and enjoy as you are able to get your online quotes!