<?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 Removing a Schema Lock in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/removing-a-schema-lock/m-p/618936#M20550</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have several scripts that I have running through tasking manager that perform various functions on a file geodatabase.&amp;nbsp; However when they run the generate a schema lock.&amp;nbsp; Is there a graceful way to end a python script or should I use os.remove(schema.ini)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Mar 2015 19:43:26 GMT</pubDate>
    <dc:creator>DanielErklauer</dc:creator>
    <dc:date>2015-03-04T19:43:26Z</dc:date>
    <item>
      <title>Removing a Schema Lock</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/removing-a-schema-lock/m-p/618936#M20550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have several scripts that I have running through tasking manager that perform various functions on a file geodatabase.&amp;nbsp; However when they run the generate a schema lock.&amp;nbsp; Is there a graceful way to end a python script or should I use os.remove(schema.ini)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 19:43:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/removing-a-schema-lock/m-p/618936#M20550</guid>
      <dc:creator>DanielErklauer</dc:creator>
      <dc:date>2015-03-04T19:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Removing a Schema Lock</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/removing-a-schema-lock/m-p/618937#M20551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know the graceful answer, but I'll mention a workaround suggested by ESRI Tech support to me several months ago when I had some ongoing weirdness with File Geodatabase Schema locks.&amp;nbsp; Their solution was to run the "Compact" tool, which includes in its functioning a Schema lock release.&amp;nbsp; This cleaned up the issues on several FGDB. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Important Note - the similar-sounding process in ArcCatalog (right-click on FGDB, Administration, Compact Geodatabase) does not include as comprehensive a Schema lock clearing, so use the tool instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Compact&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//00170000000n000000" title="http://resources.arcgis.com/en/help/main/10.2/index.html#//00170000000n000000"&gt;ArcGIS Help (10.2, 10.2.1, and 10.2.2)&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris Donohue, GISP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 20:52:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/removing-a-schema-lock/m-p/618937#M20551</guid>
      <dc:creator>ChrisDonohue__GISP</dc:creator>
      <dc:date>2015-03-04T20:52:56Z</dc:date>
    </item>
  </channel>
</rss>

