<?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 Cryptic arcpy.da.Editor error in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/cryptic-arcpy-da-editor-error/m-p/366798#M28940</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I run this code (in a try/except statement and amongst much more):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.ClearWorkspaceCache_management()
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "1"
&amp;nbsp;&amp;nbsp;&amp;nbsp; SdeVersion = ProductionDatabase(VersionName)
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "2"
&amp;nbsp;&amp;nbsp;&amp;nbsp; SdeFishboneFC = SdeVersion.Fishbone()
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "3"
&amp;nbsp;&amp;nbsp;&amp;nbsp; SdeAddressPointFC = SdeVersion.AddressPoint()
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "4"
&amp;nbsp;&amp;nbsp;&amp;nbsp; AddressPointLayer = AddressPointLayer + "_versioned"
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "5"
&amp;nbsp;&amp;nbsp;&amp;nbsp; FishboneLayer = "Fishbones_versioned"
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "6"
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.MakeFeatureLayer_management(SdeAddressPointFC, AddressPointLayer)
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "7"
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.MakeFeatureLayer_management(SdeFishboneFC, FishboneLayer)
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "8"
&amp;nbsp;&amp;nbsp;&amp;nbsp; print SdeVersion.Path()
&amp;nbsp;&amp;nbsp;&amp;nbsp; edit = arcpy.da.Editor(SdeVersion.Path())&amp;nbsp; # Create an edit session.
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "9"
&amp;nbsp;&amp;nbsp;&amp;nbsp; edit.startEditing(False, True)&amp;nbsp;&amp;nbsp;&amp;nbsp; # Start the edit session
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "10"
&amp;nbsp;&amp;nbsp;&amp;nbsp; edit.startOperation()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Start an edit operation
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "11"
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And I get this output:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
1
2
3
4
5
6
7
8
C:\temp\scratchfolder1\Basemap_QcAddress_Fishbone.sde
9
ERROR: FATAL ERROR: Error during post analysis processing: error return without
exception set
FATAL ERROR: Error during post analysis processing: error return without excepti
on set
Traceback (most recent call last):
&amp;nbsp; File "R:\DanN\Automation\Development\CountywideFishboneAnalysis.py", line 216,
 in &amp;lt;module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; raise inst
SystemError: error return without exception set
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My custom class [SdeVersion = ProductionDatabase(VersionName)] uses arcpy.CreateDatabaseConnection_management() and returns a functioning connection file (as tested manually in ArcCatalog after the script errors out).&amp;nbsp; Line 216 (cited in the error message) is the "raise" statement in my try/except block.&amp;nbsp; Am I utilizing arcpy.da.Editor incorrectly?&amp;nbsp; Is this "without exception set" thing a bug in the data access module itself?&amp;nbsp; Is 9AM too early for a beer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Nov 2012 14:12:27 GMT</pubDate>
    <dc:creator>DanNarsavage</dc:creator>
    <dc:date>2012-11-30T14:12:27Z</dc:date>
    <item>
      <title>Cryptic arcpy.da.Editor error</title>
      <link>https://community.esri.com/t5/python-questions/cryptic-arcpy-da-editor-error/m-p/366798#M28940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I run this code (in a try/except statement and amongst much more):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.ClearWorkspaceCache_management()
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "1"
&amp;nbsp;&amp;nbsp;&amp;nbsp; SdeVersion = ProductionDatabase(VersionName)
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "2"
&amp;nbsp;&amp;nbsp;&amp;nbsp; SdeFishboneFC = SdeVersion.Fishbone()
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "3"
&amp;nbsp;&amp;nbsp;&amp;nbsp; SdeAddressPointFC = SdeVersion.AddressPoint()
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "4"
&amp;nbsp;&amp;nbsp;&amp;nbsp; AddressPointLayer = AddressPointLayer + "_versioned"
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "5"
&amp;nbsp;&amp;nbsp;&amp;nbsp; FishboneLayer = "Fishbones_versioned"
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "6"
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.MakeFeatureLayer_management(SdeAddressPointFC, AddressPointLayer)
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "7"
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.MakeFeatureLayer_management(SdeFishboneFC, FishboneLayer)
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "8"
&amp;nbsp;&amp;nbsp;&amp;nbsp; print SdeVersion.Path()
&amp;nbsp;&amp;nbsp;&amp;nbsp; edit = arcpy.da.Editor(SdeVersion.Path())&amp;nbsp; # Create an edit session.
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "9"
&amp;nbsp;&amp;nbsp;&amp;nbsp; edit.startEditing(False, True)&amp;nbsp;&amp;nbsp;&amp;nbsp; # Start the edit session
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "10"
&amp;nbsp;&amp;nbsp;&amp;nbsp; edit.startOperation()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Start an edit operation
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "11"
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And I get this output:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
1
2
3
4
5
6
7
8
C:\temp\scratchfolder1\Basemap_QcAddress_Fishbone.sde
9
ERROR: FATAL ERROR: Error during post analysis processing: error return without
exception set
FATAL ERROR: Error during post analysis processing: error return without excepti
on set
Traceback (most recent call last):
&amp;nbsp; File "R:\DanN\Automation\Development\CountywideFishboneAnalysis.py", line 216,
 in &amp;lt;module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; raise inst
SystemError: error return without exception set
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My custom class [SdeVersion = ProductionDatabase(VersionName)] uses arcpy.CreateDatabaseConnection_management() and returns a functioning connection file (as tested manually in ArcCatalog after the script errors out).&amp;nbsp; Line 216 (cited in the error message) is the "raise" statement in my try/except block.&amp;nbsp; Am I utilizing arcpy.da.Editor incorrectly?&amp;nbsp; Is this "without exception set" thing a bug in the data access module itself?&amp;nbsp; Is 9AM too early for a beer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2012 14:12:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cryptic-arcpy-da-editor-error/m-p/366798#M28940</guid>
      <dc:creator>DanNarsavage</dc:creator>
      <dc:date>2012-11-30T14:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Cryptic arcpy.da.Editor error</title>
      <link>https://community.esri.com/t5/python-questions/cryptic-arcpy-da-editor-error/m-p/366799#M28941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;An interesting twist to this story is that shortly after the above error started happening, ArcMap started crashing whenever I try to start editing (regardless of the workspace or type of workspace).&amp;nbsp; Lovely.&amp;nbsp; I've restarted &amp;amp; even reinstalled, and now I wish I could retire.&amp;nbsp; I'll be logging a service call here in not too long . . .&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 18:02:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cryptic-arcpy-da-editor-error/m-p/366799#M28941</guid>
      <dc:creator>DanNarsavage</dc:creator>
      <dc:date>2012-12-03T18:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cryptic arcpy.da.Editor error</title>
      <link>https://community.esri.com/t5/python-questions/cryptic-arcpy-da-editor-error/m-p/366800#M28942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dan, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you haven't retired, I'd be interested to know how you resolved this issue (if at all).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;James&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;An interesting twist to this story is that shortly after the above error started happening, ArcMap started crashing whenever I try to start editing (regardless of the workspace or type of workspace).&amp;nbsp; Lovely.&amp;nbsp; I've restarted &amp;amp; even reinstalled, and now I wish I could retire.&amp;nbsp; I'll be logging a service call here in not too long . . .&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 15:50:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cryptic-arcpy-da-editor-error/m-p/366800#M28942</guid>
      <dc:creator>JamesGraham</dc:creator>
      <dc:date>2014-01-22T15:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cryptic arcpy.da.Editor error</title>
      <link>https://community.esri.com/t5/python-questions/cryptic-arcpy-da-editor-error/m-p/366801#M28943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Wow, I had to dig a little for this one.&amp;nbsp; Sorry I never posted anything answering this question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I contacted ESRI support, and we winnowed it down to a problem only with SDE connections.&amp;nbsp; I was in the process of doing more testing when things began working all on their own.&amp;nbsp; From the best we could tell, the only thing that changed was that I uninstalled a .NET add-in that I'd created a couple years earlier.&amp;nbsp; We decided to blame the arcpy problem on some unspecified .NET code that was not entirely compatible with the most recent ArcThis or ArcThat, and we closed the support call at that point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 16:09:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cryptic-arcpy-da-editor-error/m-p/366801#M28943</guid>
      <dc:creator>DanNarsavage</dc:creator>
      <dc:date>2014-01-22T16:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Cryptic arcpy.da.Editor error</title>
      <link>https://community.esri.com/t5/python-questions/cryptic-arcpy-da-editor-error/m-p/366802#M28944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Rats.&amp;nbsp; I'm having a completely different issue (I think), but I truly appreciate your speedy reply, Dan.&amp;nbsp; I'll post a new (but related) question to the forums shortly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Posted question about the same error here: &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/101241-Problem-committing-edits-with-arcpy.da.updatecursor"&gt;http://forums.arcgis.com/threads/101241-Problem-committing-edits-with-arcpy.da.updatecursor&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;James&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 16:55:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cryptic-arcpy-da-editor-error/m-p/366802#M28944</guid>
      <dc:creator>JamesGraham</dc:creator>
      <dc:date>2014-01-22T16:55:55Z</dc:date>
    </item>
  </channel>
</rss>

