Original User: TingLee
Hi Dan,
The traceback you see is a bug that had been fixed since 10.2. It�??s a missing error ID that we used caused the traceback. Sorry for bringing that trouble to you. The workaround I will suggest is to edit �??ErrorUtils.py�?� in your ArcGIS install directory, [ArcGIS dir]\Desktop10.1\ArcToolbox\Scripts. Locate to line 223, and replace
ARCPY.AddIDMessage("ERROR", 303, fieldName)
with
ARCPY.AddIDMessage("ERROR", 728, fieldName).
I'm assuming you are using 10.1 Service Pack 1, and the attached python script would work for you.
However, although that would fix the traceback problem, the error is actually indicating that the analysis fields or some of them are not existing in the input data. If you reselect the fields from the input data in the module, you won�??t encounter the traceback either.
Thanks,
Ting-Hwan
Geoprocessing Product Engineer
Esri | Redlands, CA