My Python script is supposed to perform batch lookups. It works ok for about 1,000 addresses, then runs into error 000010. Here is the skeleton of the script:
# 2 - SAVE TEXT FILE WITH ADDRESS INFORMATION TO GDB.
arcpy.TableToTable_conversion( ...)
# 3 - GEOCODE ADDRESS FILE THAT WAS SAVED IN GDB.
arcpy.GeocodeAddresses_geocoding( ...)
The script geocodes about 1,000 addresses, then aborts with:
File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\geocoding.py", line 192, in GeocodeAddresses
raise e
arcgisscripting.ExecuteError: ERROR 000010: Geocode addresses failed.
Failed to execute (GeocodeAddresses).
Anybody has excperience with this? Any help would be MUCH appreciated.
Wolf
Is this running in python 2.7 (ArcMap) or python 3.x (Pro)?
Michael,
This is under 2.7. is the memory problem catching up with me. I have started looking for an arcpy for 3.4, no luck yet.
Thanks for responding
Wolf
Wolf Metzner
This is running under 2.7. I tried a 3.4 (3.6?) Version that is started from within the ArcGIS start folder, however:
. The DOS script ran into an error (sorry, I don't rent specifics)
. I could start putting 3.x fine
. "import arcpy" failed
Any hints how to get arcpy to run under python 3.x would be appreciated.
Wolf
Wolf Metzner
It helps to provide the actual arguments that were passed to the functions/methods, especially for the function or method that is failing. What address locator are you using, that is what I am particularly interested in.
Sharing with Python
Also, check to see if the geocoder you are using has an arbitrary limit of 1000 addresses that it will process. You maybe able to raise this limit or ask the geocoder owner to raise the limit.
You say it bails out 'at about a thousand addresses'. You might want to figure out exactly which address tosses the curve ball. I've had that hapen to me; something weird like a special character can do it...