AnsweredAssumed Answered

Error code 000229 after running script

Question asked by jfritz on Sep 26, 2018
Latest reply on Sep 26, 2018 by bixb0012

In the attached script I'm getting an "ERROR 000229".  I have attached the script.  Please note that the line of code to run the clip to raster is not part of the script yet.

 

Thanks,

Jim

 

import arcpy
arcpy.env.overwriteOutput = 1
arcpy.env.workspace = r"S:\General-Offices-GO-Trans\SLR-Mapping\GIS_Projects_2018\Smart_T_Line_Model\geodata\TEST_LINES.gdb"
outbufferpath = r"S:\General-Offices-GO-Trans\SLR-Mapping\GIS_Projects_2018\Smart_T_Line_Model\geodata\TEST_BUFFER.gdb"
outrasterpath = r"S:\General-Offices-GO-Trans\SLR-Mapping\GIS_Projects_2018\Smart_T_Line_Model\geodata\TEST_RASTERCLIP.gdb"
raster = r"S:\General-Offices-GO-Trans\SLR-Mapping\GIS_Projects_2018\Smart_T_Line_Model\geodata\STLM_NSP.gdb\MN_DEM3second"
featureClassList = arcpy.ListFeatureClasses()
for featureClass in featureClassList:
    arcpy.Buffer_analysis(featureClass, outbufferpath, "1250 Feet", "FULL", "ROUND")
Traceback (most recent call last):
  File "<string>", line 2, in <module>
  File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\analysis.py", line 1098, in Buffer
    raise e
  File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\analysis.py", line 1095, in Buffer
    retval = convertArcObjectToPythonObject(gp.Buffer_analysis(*gp_fixargs((in_features, out_feature_class, buffer_distance_or_field, line_side, line_end_type, dissolve_option, dissolve_field, method), True)))
  File "c:\program files\arcgis\pro\Resources\arcpy\arcpy\geoprocessing\_base.py", line 496, in <lambda>
    return lambda *args: val(*gp_fixargs(args, True))
arcgisscripting.ExecuteError: ERROR 000229: Cannot open T_0517__BRI_DJS_TP_34_5_1
Failed to execute (Buffer).

Outcomes