<?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 ArcMap Crashes After Completing Script in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcmap-crashes-after-completing-script/m-p/552783#M43151</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am working on a script that makes geodatabases out of SAS data tables and writes the time of modification to a text file. The script executes fine if I run from a python shell, but crashes if I run it from a toolbox in ArcMap. The script runs to completion before crashing and only crashes some of the time that it is run (although I haven't been able to determine a pattern for when crashes do occur). I tried to look at the error report, but I am having some trouble interpreting what it says.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have any insight as to what the problem could be? Any help would be greatly appreciated and I am happy to provide more code or more of the error log if it would be helpful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ETA: It appears that the problem was related to my use of the Make Query Table tool. I had to set the in_key_field_option to Add Key Fields in order to prevent crashing from occurring.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jul 2013 13:20:58 GMT</pubDate>
    <dc:creator>BrittneyGibbons</dc:creator>
    <dc:date>2013-07-03T13:20:58Z</dc:date>
    <item>
      <title>ArcMap Crashes After Completing Script</title>
      <link>https://community.esri.com/t5/python-questions/arcmap-crashes-after-completing-script/m-p/552783#M43151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am working on a script that makes geodatabases out of SAS data tables and writes the time of modification to a text file. The script executes fine if I run from a python shell, but crashes if I run it from a toolbox in ArcMap. The script runs to completion before crashing and only crashes some of the time that it is run (although I haven't been able to determine a pattern for when crashes do occur). I tried to look at the error report, but I am having some trouble interpreting what it says.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have any insight as to what the problem could be? Any help would be greatly appreciated and I am happy to provide more code or more of the error log if it would be helpful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ETA: It appears that the problem was related to my use of the Make Query Table tool. I had to set the in_key_field_option to Add Key Fields in order to prevent crashing from occurring.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2013 13:20:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcmap-crashes-after-completing-script/m-p/552783#M43151</guid>
      <dc:creator>BrittneyGibbons</dc:creator>
      <dc:date>2013-07-03T13:20:58Z</dc:date>
    </item>
  </channel>
</rss>

