I cannot get the calculator to update currency exchange rates. This seems to be a recurring theme in other OS versions, but I did not find it posted here.

The currency exchange rate data for the Calculator app on my Mac Pro is ancient, and there is no apparent way to update it. (See Calculator app photo),. There is no Update button to press (as noted in discussions of this application for earlier versions of the OS) and no automatic update occurs, even though this computer seems to meet all known criteria for doing so: It is connected to the internet. The language, time and timezone are correct. Location data is allowed in the security preferences.


Additionally, the "Conversions" dashboard widget also hangs when attempting to get updates, with a "Retrieving data" status.


Have I missed something?



Calculator App:


Conversions dashboard widget:

Posted on Feb 10, 2021 5:52 AM

Reply
Question marked as Top-ranking reply

Posted on Feb 10, 2021 4:52 PM

Dashboard widgets are no longer functional for the most part so ignore them.


The Calculator should update as you open it and ask for Convert.


You can use Spotlight to do conversions also.


Might be worth restarting in Safe Mode,

How to use safe mode on your Mac – Apple Support

Safe Mode takes a long time to start up as it is running repairs and clearing caches.

Try Calculator in Safe Mode then restart normally and see if anything has changed.


Also create another User account with admin privileges to see if the problem occurs there.



8 replies
Question marked as Top-ranking reply

Feb 10, 2021 4:52 PM in response to Daniel O'Leary

Dashboard widgets are no longer functional for the most part so ignore them.


The Calculator should update as you open it and ask for Convert.


You can use Spotlight to do conversions also.


Might be worth restarting in Safe Mode,

How to use safe mode on your Mac – Apple Support

Safe Mode takes a long time to start up as it is running repairs and clearing caches.

Try Calculator in Safe Mode then restart normally and see if anything has changed.


Also create another User account with admin privileges to see if the problem occurs there.



Feb 11, 2021 8:40 PM in response to Daniel O'Leary

Is your mac set up correctly for your Time Zone and Date & Time etc, Location Services.


There is a calculate framework preference file in your Users/<Home>/ Library/Preferences folder which

has a currency cache.


Click once on your your Desktop, click on Go in the menubar and select Go To Folder, enter the text


~/Library/Preferences/com.apple.calculateframework.plist


press Go


A new Finder window will open with this file highlighted.

Move it to the Trash.

Restart your mac, open Calculator and see if it will now update the currency converter.


When the new Finder window opens with the file highlighted have a look to see if there is also

a similar file but with random alphanumeric characters after the .plist extension.

This is an indicator of a corrupted file and this should also be Trashed and deleted.


Feb 12, 2021 7:59 PM in response to Daniel O'Leary

Just wanted you to check that those options were in fact correct.

And that file was the only preference file I could find that contained currency cache.


If you Control click on the Calculator app itself and choose Show Package Contents then follow the path

Contents> Resources you will find a file called FinancialRates.xml which references the Yahoo URL.

I had the idea of replacing this file with the corresponding file from the Calculator app in macOS Mojave

which does up date the currency just to see if it would work in macOS Sierra (don't have High Sierra installed

here at the moment), sadly this didn't work.


Another thing I noticed with Calculator you can Control-click on Yahoo and it will open the Yahoo currency convertor page.


There is not a lot of information on the web about this issue and certainly none I can find that has any resolution.

It is just as easy to get a currency converter app or go to a converter website.

Feb 12, 2021 1:46 PM in response to Eau Rouge

Per my original post:

>>

even though this computer seems to meet all known criteria for doing so: It is connected to the internet. The language, time and timezone are correct. Location data is allowed in the security preferences.

<<


I located the preference file in my home directory and moved it to the trash, and restarted - this did not correct the problem.

It still indicates 11/15/12 as the date that currency data was updated. I did not really expect a change in my personal directory to correct the problem. The reasoning is that a whole set of new preference files were created directory for the new administrative privilege user and that user had the same problem. Is there a system-wide preference somewhere?


I did find other plist files in that location that were indicative of prior crashes and tossed them. Most of them were zero byte files, but a few had data - a pair related to ichat were 304KB and 317KB. They date back to Jan 2020 and April 2020 respectively.


Feb 13, 2021 1:32 AM in response to Eau Rouge

I made a copy of the calculator.app and tried replacing the "http://" with "https://" in rates file.. It did not update, but it otherwise seemed to function as the original unmodified one did.


I then tried removing the rates file to see if it would construct a new one, and had no success there - the app would work until I tried to do a financial conversion, then it would no longer function properly and had to be quit.

Feb 11, 2021 8:32 AM in response to Eau Rouge

Thanks for the reply.


I've noticed the loss of widget functionality with a bit of sadness - it is a shame and kind of a dumb idea to even have that Dashboard application at all, if they are not going to function.


As you can see the from my photos, the Calculator app is not automatically updating.


The problem persists between multiple existing accounts, and a newly created account with administrative privilege.


I will try safe mode and update this status.

Feb 13, 2021 12:54 AM in response to Daniel O'Leary

After looking at that rates file, I think I know what is wrong with it and possibly why dropping a new one in did not work. The existing one uses non-ssl references to yahoo's finance page, but a browser goes to an SSL version of it. A text replacement on the existing file or replacement with a later one would case a mismatch of the hash data in the CodeResources file found within the _CodeSignature folder. I don't know enough to determine if it would be possible to just replace the rates file and copy the hash data from the newer versions CodeResources file into the old versions CodeResources file, or if there was an easy way to generate new hash data to stick in there. UGH.


Here is what it looks like in Xcode (there is no formatting, I just drug the window to about the correct size to allow it to flow in mostly intelligible) :

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

I cannot get the calculator to update currency exchange rates. This seems to be a recurring theme in other OS versions, but I did not find it posted here.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.