RHpec0312

Secret to edit.stopEditing(True)

Discussion created by RHpec0312 on Apr 21, 2014
Latest reply on Apr 21, 2014 by jamesfreddyc
Can someone please inform us/me on why the edit.stopEditing(True) method does not work?  I have been using it in a Python add-in with a da.UpdateCursor.  edit.isEditing prints True but when the script reaches edit.stopEditing(True), an exception is thrown and the e.message reads "Start Edit Session".  My solution is to comment out edit.stopEditing. 

I am at a dead end with this and after reading about versioned geodatabase states I have a feeling that they are related. 

Thanks

Outcomes