# Initializing FinancialData indices … never finishes

Bug introduced in 10.3.0 and fixed in 10.3.1

Retrieving data using FinancialData became more unreliable in the last couple of months, but simply retrying was enough to finally get the data. Now it seems to be nearly completely broken in Mathematica v10.3 under Windows 10. However, it is still working fine in v9.0.1.

In the following GIF v9.0.1 is on the left side and v10.3 is on the right side.

FinancialData["SPY", "Price"]

FinancialData["^VIX", "Price"]


Is this malfunction reproducible with your v10.3 installation or is it limited to mine?
With what settings can I make retrieving data using FinancialData in v10.3 working and more reliable?

PacletFind["*FinancialData*"]


returns

{Paclet["FinancialData_Symbols_Y3","7.1.15",<>]}

in version 9.0.1 and

{Paclet["FinancialData_Symbols_Y3","10.1.19",<>]}

in version 10.3.

Other *Data functions seem to be affected, too. For example

WeatherData["Chicago", "Temperature"]


will never show anything if it doesn't work.

However, after a couple of retries it worked, showing some initializations. In such a situation FinancialData also does work. Unfortunately, after restarting Mathematica it failed again and again.

I don't witness any problems using

Entity["Financial", "^VIX"][EntityProperty["Financial", "Last"]]


Deleting the pacletSiteData_10.pmd2 file, as described in the comment by FredrikD provides a temporary workaround. It is enough to restart the kernel after deleting that file, but unfortunately after another kernel restart retrieving data is broken again.

• Both work fine for me. MMA 10.3 on OSX 10.10.5 – Quantum_Oli Dec 6 '15 at 13:59
• CalendarData hanging in Mma 10.3 on Windows 10. Can work if it's the first thing called. – Chris Degnen Dec 6 '15 at 20:57
• @Karsten7. - It sometimes works if the first thing run is CalendarData[], but it's intermittent. – Chris Degnen Dec 6 '15 at 21:26
• @Karsten7. I've tried in different combinations - it works fine (sometimes faster or slower). Your last request returns output '{ PacletManagerPaclet[ "Name" -> "FinancialData_Symbols_Y3", "Version" -> "10.1.19", "MathematicaVersion" -> "10.0+", "BackwardCompatible" -> "*", "Extensions" -> {{ "Resource", "Root" -> "Data", "Resources" -> {"FinancialData_Symbols_Y3.wdx"}}}, "Location" -> "C:\\Users\\...\\AppData\\Roaming\\Mathematica\\\ Paclets\\Repository\\FinancialData_Symbols_Y3-10.1.19"]}' – garej Dec 7 '15 at 22:50
• When this happens with my Wolfram Desktop Producer, I remove the "pacletSiteData_10.pmd2" file from C:\Users\<user>\AppData\Roaming\WolframDesktop\Paclets\Configuration Restart the computer, Wolfram recreates the file and then it works. Seems to be a bug that is related to initializing the system. Not only for FinancialData, also sometimes for other curated data – FredrikD Dec 8 '15 at 8:47

Fixed in 10.3.1

It seems to be fixed in 10.3.1. Not able to reproduce it. Windows 7, 64 bit

And the weather data also works. (it takes few seconds to read all the data)

• Where you able to reproduce it with version 10.3. It is fixed also for me with version 10.3.1, but I used that update as an opportunity to reset my Mathematica installation and wanted to see if it keeps working. With version 10.3 it wasn't completely broken, but got worse and worse. – Karsten 7. Dec 18 '15 at 11:07
• @Karsten7. When I installed 10.3.1 I removed 10.3, so I do not know if it worked or not in 10.3 now. – Nasser Dec 19 '15 at 10:15

A temporary workaround based on the comment by FredrikD is to start any new notebook, in which a *Data function will be used with

DeleteFile[
FileNameJoin[{$UserBasePacletsDirectory, "Configuration", "pacletSiteData_10.pmd2"}]]; Quit  and to add SetOptions[$FrontEndSession, "ClearEvaluationQueueOnKernelQuit" -> False];

DeleteFile[
FileNameJoin[{\$UserBasePacletsDirectory, "Configuration", "pacletSiteData_10.pmd2"}]];
Quit


to the beginning of every notebook that contains a *Data` function and is supposed to work reliably when evaluated as a whole. (Reference for the option setting: https://stackoverflow.com/a/13740555)

During the restart of the kernel pacletSiteData_10.pmd2 will be recreated and managerData_10.3.0.0.pmd2 will be updated.

• Great ref to the Stackoverflow question. Didn't know that was possible – FredrikD Dec 10 '15 at 16:03