Select to view content in your preferred language

Abandon Feature fails in Water Utility Network Editing

3292
0
04-07-2016 11:24 AM
Labels (1)
RobertThomson
Frequent Contributor

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.

Tags (2)
0 Kudos
0 Replies