Select to view content in your preferred language

InsertCursor failing when indexed GlobalID field is present

285
0
08-07-2022 09:11 PM
CarlBeyerhelm
Frequent Contributor

I'm using an arcpy insert cursor in ArcMap 7.1 to add features to an in_memory feature class, and this works fine except when the source feature class includes an indexed GlobalID field.  The error I receive is "SystemError: error return without exception set".

If I use FeatureClassToFeatureClass to convert the source FC to a new feature class, and drop the GlobalID field, the insert works fine again.

The in_memory guidance warns that in_memory "does not support extended geodatabase elements such as subtypes, domains, representations, topologies, geometric networks, and network datasetsabout", but I don't see anything about GlobalIDs being an issue.  Any insights would be appreciated.

0 Kudos
0 Replies