Executing: AbandonFeatures 'Water Mains' "Water Abandoned Lines" "Water Abandoned Points" true LINETYPE POINTTYPE "Record Set" Start Time: Fri May 10 09:05:12 2013 Running script AbandonFeatures... Starting Abandon Selected Features Script Processing Parameters Abandoning Selected Features in GISData.GISADMIN.wMain Water Mains is a Polyline with 1 selected Traceback (most recent call last): File "C:\IS_Support\UtilityNetworkEditingfor10.1\Application\Abandon Tools\AbandonSelectedFeatures.py", line 204, in <module> newRow.setValue(fieldName, row.getValue(fieldName)) File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\arcobjects\arcobjects.py", line 1040, in setValue return convertArcObjectToPythonObject(self._arc_object.SetValue(*gp_fixargs(args))) RuntimeError: ERROR 999999: Error executing function. Field is not editable. ERROR 999999: Error executing function. Field is not editable. Script Complete Completed script AbandonFeatures... Failed to execute (AbandonFeatures). Failed at Fri May 10 09:05:13 2013 (Elapsed Time: 1.00 seconds)
Solved! Go to Solution.
Paul,
This link appears to be dead. Is there a new version of the tools that includes this fix?
Thanks
Allyson,
The most recent version is available at Esri/local-government-desktop-addins
I'm experiencing a problem with the most recent version of the tool. In this instance, I'm attempting to abandon features in two feature classes: water mains and fittings. All feature classes are editable and exist in the same SDE database. When I execute the Abandon Features tool, I receive this result:
Executing: AbandonFeatures 'Water Network\Watermain';'Water Network\Fitting' "Water Network\Abandoned\ABD Line" "Water Network\Abandoned\ABD Point" false LAYER_NAME LAYER_NAME "Record Set"
Start Time: Thu Feb 15 10:55:36 2018
Running script AbandonFeatures...
error on line: line 266
error in file name: <string>
with error message: IOError: "\watd.DBO.WaterAbandonedFeatures\watd.DBO.ABDPoint" does not exist
Completed script AbandonFeatures...
Failed to execute (AbandonFeatures).
Failed at Thu Feb 15 10:55:38 2018 (Elapsed Time: 2.56 seconds)
Any help would be greatly appreciated. Thanks!
Alex,
Does the tools work when you have just a single water main or a single fitting selected to be abandoned?
It does not. The tool works fine if I move the abandon layers to a file geodatabase.
A few more questions/suggestions:
Do you get the same error for linear features that references the appropriate abandon feature class, ie lines for lines?
From the MXD you are using to abandon the features to the SDE connection:
Did this paste into the abandoned FC? If not, you have a permissions issue with the DB.
Try the same for a point feature and the abandon point layer
When you are using the abandoned feature tool, try dragging the abandoned line layer and abandoned point layer from your TOC to the appropriate drop down on the tool and drop them. Then try and abandon a single feature. The path name in the error message you provided does not look correct for an SDE connection. I am working on a production system at the moment so I cannot experiment to get a error message for comparison.
We've been able to troubleshoot the issue. The features I'm attempting to abandon are in a geometric network and therefore in a feature dataset. The ABDPoint and ABDLine FCs are also contained in this feature dataset. The tool is failing to recognize the catalog path to the feature dataset. The tool will work if the features being abandoned and the ABD FCs are all outisde of a feature dataset.
This makes this tool unusable for anyone attempting to abandon any features in a feature dataset or geometric network?