I am using a Python script to do geocoding of several files. Some times it fails at the second call to the arcpy.GeocodeAddresses_geocoding function
Here is the function call. I define the local variables used as actual parameter values earlier in the program
arcpy.GeocodeAddresses_geocoding(in_table=infile_step1,
address_locator=myaddr_locator,
in_address_fields=address_fields,
out_feature_class=outfile_step1,
out_relationship_type="STATIC")
It works for the first file, and when I redefine infile_step1 and outfile_step1 and call it again, I get the following error:
File "C:\Program Files (x86)\ArcGIS\Desktop10.3\ArcPy\arcpy\geocoding.py", line 212, in GeocodeAddresses
raise e
ExecuteError: ERROR 999998: Unexpected Error.
Failed to execute (GeocodeAddresses).
What is in line 212 of the geocoding.py file?
Thanks
Carla