<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Issue with Python for Everyone Tutorial - Step 4 in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/issue-with-python-for-everyone-tutorial-step-4/m-p/1054381#M61025</link>
    <description>&lt;P&gt;For those of us not familiar with step 4, could you elaborate and perhaps include the code that would have generated the error?&lt;/P&gt;&lt;P&gt;A quick look, suggests that the file already exists and perhaps the arcpy.env.overwriteOutputs wasn't set in the script.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe go in and do a manual delete of the SD_Stream100 featureclass before doing any more scripting&lt;/P&gt;</description>
    <pubDate>Tue, 04 May 2021 19:20:19 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2021-05-04T19:20:19Z</dc:date>
    <item>
      <title>Issue with Python for Everyone Tutorial - Step 4</title>
      <link>https://community.esri.com/t5/python-questions/issue-with-python-for-everyone-tutorial-step-4/m-p/1054373#M61024</link>
      <description>&lt;P&gt;I am taking the Python for Everyone Tutorial and am stuck on Step 4. When I run my SpatialRef script, it generates the following error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="2"&gt;Traceback (most recent call last):&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" size="2"&gt;File "C:/Users/lvc3/Documents/PythonPractice/PythEveryone/HandleErrors/Debugging.py", line 10, in &amp;lt;module&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" size="2"&gt;&amp;nbsp; arcpy.Buffer_analysis(streams, streams + str(buff), buff)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" size="2"&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\analysis.py", line 1125, in Buffer&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" size="2"&gt;&amp;nbsp; raise e&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" size="2"&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\analysis.py", line 1122, in Buffer&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" size="2"&gt;&amp;nbsp; 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)))&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" size="2"&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 511, in &amp;lt;lambda&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" size="2"&gt;&amp;nbsp; return lambda *args: val(*gp_fixargs(args, True))&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="2"&gt;arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" size="2"&gt;ERROR 000725: Output Feature Class: Dataset C:\Users\lvc3\Documents\PythonPractice\PythEveryone\HandleErrors\SanDiego.gdb\SD_Stream100 already exists.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" size="2"&gt;Failed to execute (Buffer).&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I haven't touched the ArcPy analysis or _base files but I have edited the Debugging file to change the pathway and fix a couple errors. Thank you for any assistance!!&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 19:11:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/issue-with-python-for-everyone-tutorial-step-4/m-p/1054373#M61024</guid>
      <dc:creator>LCostes</dc:creator>
      <dc:date>2021-05-04T19:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Python for Everyone Tutorial - Step 4</title>
      <link>https://community.esri.com/t5/python-questions/issue-with-python-for-everyone-tutorial-step-4/m-p/1054381#M61025</link>
      <description>&lt;P&gt;For those of us not familiar with step 4, could you elaborate and perhaps include the code that would have generated the error?&lt;/P&gt;&lt;P&gt;A quick look, suggests that the file already exists and perhaps the arcpy.env.overwriteOutputs wasn't set in the script.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe go in and do a manual delete of the SD_Stream100 featureclass before doing any more scripting&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 19:20:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/issue-with-python-for-everyone-tutorial-step-4/m-p/1054381#M61025</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-05-04T19:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Python for Everyone Tutorial - Step 4</title>
      <link>https://community.esri.com/t5/python-questions/issue-with-python-for-everyone-tutorial-step-4/m-p/1054399#M61028</link>
      <description>&lt;P&gt;Thank you very much, that fixed it!!&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 19:59:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/issue-with-python-for-everyone-tutorial-step-4/m-p/1054399#M61028</guid>
      <dc:creator>LCostes</dc:creator>
      <dc:date>2021-05-04T19:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Python for Everyone Tutorial - Step 4</title>
      <link>https://community.esri.com/t5/python-questions/issue-with-python-for-everyone-tutorial-step-4/m-p/1054407#M61029</link>
      <description>&lt;P&gt;Glad it worked... Enjoy your pythonista journey &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 20:28:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/issue-with-python-for-everyone-tutorial-step-4/m-p/1054407#M61029</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-05-04T20:28:14Z</dc:date>
    </item>
  </channel>
</rss>

