fc = r"xxx"
with arcpy.da.Editor(r"xxx") as edit:
with arcpy.da.UpdateCursor(fc, ["LINESEGMENTNAME", "TEMP"]) as cu:
for row in cu:
print "print row 0:" + str(row)
row = "test"
console output summary
print row 0:3
SystemError: error return without exception set
It is stopping on line 9. I see in the above post that locks are sometimes the problem. I have tried destroying all locks on the target feature class and still get the error.