<?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 and the editor in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-and-the-editor/m-p/650245#M50612</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I resolved this by adding error checking to the script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt; errors = arcpy.GetMessages(2) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Does not have exclusive access to the database &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if 'ERROR 000464' in errors: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; errorString = 'WARNING: There is an active editing session Editing MUST be stopped'&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Mar 2013 19:45:55 GMT</pubDate>
    <dc:creator>JonPedder</dc:creator>
    <dc:date>2013-03-27T19:45:55Z</dc:date>
    <item>
      <title>arcpy and the editor</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-and-the-editor/m-p/650244#M50611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you detect in a script if an editing session is active?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm running a tabletodomains function that requires exclusive database access, I'd like to check if an editor session is active.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 14:31:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-and-the-editor/m-p/650244#M50611</guid>
      <dc:creator>JonPedder</dc:creator>
      <dc:date>2013-03-27T14:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy and the editor</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-and-the-editor/m-p/650245#M50612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I resolved this by adding error checking to the script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt; errors = arcpy.GetMessages(2) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Does not have exclusive access to the database &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if 'ERROR 000464' in errors: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; errorString = 'WARNING: There is an active editing session Editing MUST be stopped'&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2013 19:45:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-and-the-editor/m-p/650245#M50612</guid>
      <dc:creator>JonPedder</dc:creator>
      <dc:date>2013-03-27T19:45:55Z</dc:date>
    </item>
  </channel>
</rss>

