Using ArcMap 10.6 to load a Python script that will geocode 25,000 addresses. It looks like it fail during the actual gecoding attempt with an error: ERROR 000010: Geocode addresses failed.Failed to execute (GeocodeAddresses). I've tried switching forward slashes to back slashes, removing spaces in my file directories, and tried using a DBF outside of the GDB or tried using the table as a GDB table.
import arcpy from arcpy import env env.overwriteOutput = True arcpy.env.workspace = "C:/Data_Projects/OCHIN_CVS/Scripting/OCHIN_Scripting.gdb" # GEOCODE OCHIN RECORDS address_table = r"C:/Data_Projects/OCHIN_CVS/Scripting/OCHIN_Geocoding.dbf" address_locator = "C:/StreetMapPremium/Locators/USA_ZIP4_LocalComposite" address_fields = "Provider_Prefer_Add_Street Address;Provider_Prefer_Add_City City;Provider_Prefer_Add_State State;Provider_Prefer_Add_Zip Zip" geocode_result = "C:/Data_Projects/OCHIN_CVS/Scripting/OCHIN_Scripting.gdb/geocode_result" arcpy.GeocodeAddresses_geocoding(address_table, address_locator, address_fields, geocode_result, "STATIC") # DELETE LOCAL VARIABLES del mxd, df, code print "Success!"
EDIT: I have run this script on a machine that has a Basic license, and on another machine that has an Advanced license. Can anyone shed light on why this might fail?