<?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 Why does ArcGIS 10.5 crash when my python script calculates summary statistics in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/why-does-arcgis-10-5-crash-when-my-python-script/m-p/173654#M13398</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The python script calculates drainage areas and land use. &amp;nbsp;It seems to run fine until the Summary Statistics part when ArcGIS crashes. &amp;nbsp;I'm running ArcGIS 10.5. &amp;nbsp;Any ideas what might be causing this? &amp;nbsp;I've attached the python script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Jul 2017 23:33:23 GMT</pubDate>
    <dc:creator>RobertRyan3</dc:creator>
    <dc:date>2017-07-18T23:33:23Z</dc:date>
    <item>
      <title>Why does ArcGIS 10.5 crash when my python script calculates summary statistics</title>
      <link>https://community.esri.com/t5/python-questions/why-does-arcgis-10-5-crash-when-my-python-script/m-p/173654#M13398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The python script calculates drainage areas and land use. &amp;nbsp;It seems to run fine until the Summary Statistics part when ArcGIS crashes. &amp;nbsp;I'm running ArcGIS 10.5. &amp;nbsp;Any ideas what might be causing this? &amp;nbsp;I've attached the python script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 23:33:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/why-does-arcgis-10-5-crash-when-my-python-script/m-p/173654#M13398</guid>
      <dc:creator>RobertRyan3</dc:creator>
      <dc:date>2017-07-18T23:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why does ArcGIS 10.5 crash when my python script calculates summary statistics</title>
      <link>https://community.esri.com/t5/python-questions/why-does-arcgis-10-5-crash-when-my-python-script/m-p/173655#M13399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;since the last parameter is optional, did you try to drop it?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; arcpy.Statistics_analysis (tabIntersectSave, sumStatsSave, [["AREA","SUM"]], siteNameColumn)&lt;/P&gt;&lt;P&gt;to&amp;nbsp;arcpy.Statistics_analysis (tabIntersectSave, sumStatsSave, [["AREA","SUM"]])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assuming all the other parameters are correct&lt;/P&gt;&lt;P&gt;and also as a check, your field is called 'AREA' and not SHAPE_Area or something... (this looks like it is the result of a modelbuilder output can you confirm)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 23:44:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/why-does-arcgis-10-5-crash-when-my-python-script/m-p/173655#M13399</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-07-18T23:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why does ArcGIS 10.5 crash when my python script calculates summary statistics</title>
      <link>https://community.esri.com/t5/python-questions/why-does-arcgis-10-5-crash-when-my-python-script/m-p/173656#M13400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan, thanks for your suggestion.  Once I deleted the last parameter as you&lt;/P&gt;&lt;P&gt;suggested, the code ran without causing ArcGIS to crash.  However, I then&lt;/P&gt;&lt;P&gt;got an error that  the parameter "Sum_Area" in the next line of code did&lt;/P&gt;&lt;P&gt;not exist.  However, when I open the sumStats file it is there. Any&lt;/P&gt;&lt;P&gt;thoughts about that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert J. Ryan, Ph.D., P.E.&lt;/P&gt;&lt;P&gt;Associate Professor&lt;/P&gt;&lt;P&gt;Senior Design Coordinator&lt;/P&gt;&lt;P&gt;Civil and Environmental Engineering Department&lt;/P&gt;&lt;P&gt;Temple University&lt;/P&gt;&lt;P&gt;1947 N 12th St&lt;/P&gt;&lt;P&gt;Philadelphia PA 19122&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Office:  EA515&lt;/P&gt;&lt;P&gt;Phone: 215-204-3054&lt;/P&gt;&lt;P&gt;Fax:     215-204-4696&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 03:01:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/why-does-arcgis-10-5-crash-when-my-python-script/m-p/173656#M13400</guid>
      <dc:creator>RobertRyan3</dc:creator>
      <dc:date>2017-07-19T03:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Why does ArcGIS 10.5 crash when my python script calculates summary statistics</title>
      <link>https://community.esri.com/t5/python-questions/why-does-arcgis-10-5-crash-when-my-python-script/m-p/173657#M13401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok modelbuilder outputs should be checked by at least one manual run per step and then examining the contents of the Results window.&lt;/P&gt;&lt;P&gt;When you edit the line above to make it stop crashing... you then have to examine the next line&lt;/P&gt;&lt;P&gt;arcpy.JoinField_management (tabIntersectSave, siteNameColumn, sumStatsSave, siteNameColumn, "SUM_AREA")&lt;/P&gt;&lt;P&gt;and unless you deleted the field, then it would obviously exist.&amp;nbsp; Always start with a clean version of the input files when testing a model or a script.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suggest you isolate that particular step in the workflow and check to see whether the fields do or do not exist in the prior step.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 03:16:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/why-does-arcgis-10-5-crash-when-my-python-script/m-p/173657#M13401</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-07-19T03:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Why does ArcGIS 10.5 crash when my python script calculates summary statistics</title>
      <link>https://community.esri.com/t5/python-questions/why-does-arcgis-10-5-crash-when-my-python-script/m-p/173658#M13402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.  I will try this and let you know how it works out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert J. Ryan, Ph.D., P.E.&lt;/P&gt;&lt;P&gt;Associate Professor&lt;/P&gt;&lt;P&gt;Senior Design Coordinator&lt;/P&gt;&lt;P&gt;Civil and Environmental Engineering Department&lt;/P&gt;&lt;P&gt;Temple University&lt;/P&gt;&lt;P&gt;1947 N 12th St&lt;/P&gt;&lt;P&gt;Philadelphia PA 19122&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Office:  EA515&lt;/P&gt;&lt;P&gt;Phone: 215-204-3054&lt;/P&gt;&lt;P&gt;Fax:     215-204-4696&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 03:19:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/why-does-arcgis-10-5-crash-when-my-python-script/m-p/173658#M13402</guid>
      <dc:creator>RobertRyan3</dc:creator>
      <dc:date>2017-07-19T03:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why does ArcGIS 10.5 crash when my python script calculates summary statistics</title>
      <link>https://community.esri.com/t5/python-questions/why-does-arcgis-10-5-crash-when-my-python-script/m-p/173659#M13403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert... resolved?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 03:13:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/why-does-arcgis-10-5-crash-when-my-python-script/m-p/173659#M13403</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-08-23T03:13:01Z</dc:date>
    </item>
  </channel>
</rss>

