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