invalidated UpdateCursor when unsing GDB

4612
1
01-09-2015 02:17 AM
StefanKaps1
New Contributor

Dear collegues,

I have written an arcpy script which gets its input from a shapefile. Everything worked fine. Now I am trying to change the script to a file geodatabase (script is nealry the same) an I get the error massage "The cursor has been invalidated because the edit operation has stopped."

The script includes an UpdateCursor and the error appears at updateRow(). Another strange thing is, that the first iteration works fine, and the error appears when doing the second iteration.. Does somebody know where the difference between "updateCursor - shapefile" and "updateCursor - file geodatabase" is?

I am working with ArcGIS 10.2, Python 2.7, Windows7.

Does anybody know this kind of error?

Best regards,

Stefan

0 Kudos
1 Reply
JakeSkinner
Esri Esteemed Contributor

Hi Stefan,

It may help to post the script you are using.  If you're able to do this, see this post about how to do so.

0 Kudos