<?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: arcpy crashing mid-process in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-crashing-mid-process/m-p/131947#M10243</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you add some debugging to your python script to see if variables are getting passed the expected values, especially after the initial loop of your script?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jan 2013 14:25:58 GMT</pubDate>
    <dc:creator>MichaelVolz</dc:creator>
    <dc:date>2013-01-03T14:25:58Z</dc:date>
    <item>
      <title>arcpy crashing mid-process</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-crashing-mid-process/m-p/131946#M10242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've had multiple experiences where arcpy crashes for no apparent reason as I'm running my code. Usually, it happens when I attempt to run a tool on the product of another tool. This time around, the problem is running MultipartToSinglepart on a Union product in a feature dataset, attempting to output to a different file geodatabase. This step occurs after I've completed the entire process for one feature class, and I am attempting to run it again on another one with different names. When I run this particular case again after the Python engine has been restarted, it runs to completion. As the Python engine itself crashes when it errors, I get no informative message as to what occurred and why. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For some background on my code, as I have taken a few safety measures already, I delete all cursor objects, delete all layers after their utility has run up, and am working in a file geodatabase. Is there anything else that may be lingering in my file geodatabase after some processing that will make Python crash so hard? If there is a fix, I'd like to try and implement it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 21:17:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-crashing-mid-process/m-p/131946#M10242</guid>
      <dc:creator>JamieKass</dc:creator>
      <dc:date>2013-01-02T21:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy crashing mid-process</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-crashing-mid-process/m-p/131947#M10243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you add some debugging to your python script to see if variables are getting passed the expected values, especially after the initial loop of your script?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 14:25:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-crashing-mid-process/m-p/131947#M10243</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2013-01-03T14:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy crashing mid-process</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-crashing-mid-process/m-p/131948#M10244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I managed to get around this particular problem by throwing in a couple of RepairGeometry's after some geoprocessing steps. This technique works I suppose, but it brings up a new question: why does ArcGIS produce geometry errors after operations like Erase and Union? Shouldn't the product be free of errors? I suppose there is no internal error checking before the output is returned.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 16:02:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-crashing-mid-process/m-p/131948#M10244</guid>
      <dc:creator>JamieKass</dc:creator>
      <dc:date>2013-01-09T16:02:18Z</dc:date>
    </item>
  </channel>
</rss>

