<?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: Python Script in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-script/m-p/683026#M52915</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wes thank you for your prompt answer. I have to run some back-up process during night that are very critical, What I am trying to catch is , if the script start running and it is half way through, suddenly stop for some reason, I would like to come back or RollBack my transaction to the 0 stage that why I am looking for type sort Begin transaction and Commit/rollback transaction as it is in SQL server. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 May 2015 22:51:15 GMT</pubDate>
    <dc:creator>Jose_LuisGarcinuno-Oporto</dc:creator>
    <dc:date>2015-05-26T22:51:15Z</dc:date>
    <item>
      <title>Python Script</title>
      <link>https://community.esri.com/t5/python-questions/python-script/m-p/683024#M52913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any way to setup a&lt;/P&gt;&lt;P&gt;Begin Transaction&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;Commit or rollback&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in a python script beside the try and except:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 21:58:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script/m-p/683024#M52913</guid>
      <dc:creator>Jose_LuisGarcinuno-Oporto</dc:creator>
      <dc:date>2015-05-26T21:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script</title>
      <link>https://community.esri.com/t5/python-questions/python-script/m-p/683025#M52914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what your trying to do. You may find this link helpful &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//018w00000005000000" title="http://resources.arcgis.com/en/help/main/10.1/index.html#//018w00000005000000"&gt;ArcGIS Help 10.1&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 22:33:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script/m-p/683025#M52914</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2015-05-26T22:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script</title>
      <link>https://community.esri.com/t5/python-questions/python-script/m-p/683026#M52915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wes thank you for your prompt answer. I have to run some back-up process during night that are very critical, What I am trying to catch is , if the script start running and it is half way through, suddenly stop for some reason, I would like to come back or RollBack my transaction to the 0 stage that why I am looking for type sort Begin transaction and Commit/rollback transaction as it is in SQL server. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 22:51:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script/m-p/683026#M52915</guid>
      <dc:creator>Jose_LuisGarcinuno-Oporto</dc:creator>
      <dc:date>2015-05-26T22:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script</title>
      <link>https://community.esri.com/t5/python-questions/python-script/m-p/683027#M52916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This article &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//002z0000000q000000" title="http://resources.arcgis.com/en/help/main/10.1/index.html#//002z0000000q000000"&gt;ArcGIS Help 10.1&lt;/A&gt; will help with error catching and traceback for where the script fails. If you are backing up shapefiles or geodatabases i would simply rerun the script. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 23:05:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script/m-p/683027#M52916</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2015-05-26T23:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script</title>
      <link>https://community.esri.com/t5/python-questions/python-script/m-p/683028#M52917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you are going to be stuck using a try catch block as it sounds like the python script is controlling how the update happens in your process. As &lt;A href="https://community.esri.com/migrated-users/16710"&gt;Wes Miller&lt;/A&gt; suggests you could use an edit session to provide rollback capabilities but it is the try/catch block that will end up triggering the &lt;EM&gt;stopOperation&lt;/EM&gt; or &lt;EM&gt;abortOperation&lt;/EM&gt; calls for the edit session.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 23:07:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-script/m-p/683028#M52917</guid>
      <dc:creator>OwenEarley</dc:creator>
      <dc:date>2015-05-26T23:07:00Z</dc:date>
    </item>
  </channel>
</rss>

