I get the following error when running the Ordinary Least Squares script from the Spatial Statistics tools. It's very vague. Please can someone give me a clue about how to identify the error and resolve it?
Running script OrdinaryLeastSquares... <type 'exceptions.RuntimeError'>: ERROR 999999: Error executing function. A locator with this name does not exist.
I am very sorry to hear that you are having trouble! We do everything that we can to ensure that users never get 999999 errors, so that sounds like a bug, and I am hoping that we will be able to figure out what is going wrong and fix it as soon as possible. There are a few things that I'll need to know in order to reproduce the issue, and ultimately fix the problem. What version of ArcGIS are you working on? Is it possible for you to share your data so that we can reproduce your exact workflow, and what are the precise steps that you are taking in your analysis (i.e. all of the parameter choices, inputs, etc.)? If you can share your data, you can send it to me directly at email@example.com.
Again, I am very sorry for the trouble this has caused you!
Thanks to ESRI staff Lauren Rosenshein and Lauren Scott the problem is resolved. I had selected the events layer as the input file which is not capable of being processed by the OLS tool. By exporting the layer, saving it as a shapefile and then using the new shapefile as the input feature for the OLS tool everything worked fine.
The problem with the OLS tool allowing events layers to be visible (and therefore selectable) in the dropdown box for the input feature has apparantly been corrected in ARCGIS 10.0 (SP1). If you are using an earlier version, make sure that you don't try to use an events layer as the input feature - otherwise you will get the vague "catch all" error message "ERROR 999999: Error executing function. A locator with this name does not exist"