Running the abandon tool tool gives me the following message:
"Traceback (most recent call last):
File "T:\GIS\ESRI\WaterUtilityNetworkEditingA4W\MapsandGeodatabase\Local Government.tbx#AbandonFeatures_localgov.py", line 70, in <module>
AttributeError: DescribeData: Method nameString does not exist
Failed to execute (AbandonFeatures).
Failed at Thu Apr 07 14:58:11 2016 (Elapsed Time: 21.97 seconds)"
68 AbLinesShapeFieldName = str(descAbLines.shapeFieldName)
69 AbLinesOIDFieldName = str(descAbLines.OIDFieldName)
70 AbLinesNameString = str(descAbLines.nameString)
71 AbLinesFeatureType = str(descAbLines.featureType)
72 AbLinesShapeType = str(descAbLines.shapeType)
73 AbLinesLenFld = str(descAbLines.lengthFieldName)
I am in an edit mode and can edit either layer before I start. I thought my issue might be that I run the Canadian Data Model and also have additional fields in my Feature Class. However, if I run the sample ESRI map of Naperville I receive the same error. See the attached python script for full code.