Python arcpy.GeocodeAddresses_geocoding Aborts after 1,000 Lookups

1166
7
09-21-2018 10:13 AM
WolfMetzner
New Contributor

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

0 Kudos
7 Replies
MichaelVolz
Esteemed Contributor

Is this running in python 2.7 (ArcMap) or python 3.x (Pro)?

0 Kudos
WolfMetzner
New Contributor

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

0 Kudos
WolfMetzner
New Contributor

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

0 Kudos
JoshuaBixby
MVP Esteemed Contributor

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.

JoshuaBixby
MVP Esteemed Contributor

Sharing with Python

0 Kudos
ShawnHelm
New Contributor II

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.

0 Kudos
JoeBorgione
MVP Emeritus

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...

That should just about do it....