James hi, I believe your problem may not be solved just by changing myinfo[str(row[3])]["address"] to myinfo[row[3]]["address"]. Actually, I currently get stuck with the same issue with my code (below). I have printout saying "row[0] update OK" for all records but with the same error 'error return with exception set' at the line edit.stopOperation(). It would be great to learn if you got this issue resolved and if so, how? Cheers. Peter Lee ePlanning Data Specialist, NSW Dept of Planning edit = arcpy.da.Editor(workspace) edit.startEditing(False, True) edit.startOperation() rows = arcpy.da.UpdateCursor(fc, fieldnames, delimitedfield_1 + " = '" + epi_name + "'") for row in rows: row[2] = '2013-418' row[3] = 'http://www.legislation.nsw.gov.au/maintop/scanact/inforce/EPITITLE/B/0' row[4] = 'http://www.legislation.nsw.gov.au/maintop/view/inforce/epi+418+2013+cd+0+N' row[5] = 'http://www.legislation.nsw.gov.au/mapindex?type=epi&year=2013&no=418' rows.updateRow(row) print str(row[0]) + ' update OK ' edit.stopOperation() edit.stopEditing(True)
... View more