Hello,
I am using python 3.6.8 to make an XY Event layer. I first use the arcpy.MakeXYEventLayer_management(inputCSV, "Longitude", "Latitude", TempFeatureLayer, WGS84, "")
where TempFeatureLayer is defined earlier as "XYTemp", and WGS84 is the variable holding the GCS_WGS84 coordinate system info.
I pass this and get an error the first time that is pretty extensive but the end says: "
SystemError: <built-in function isinstance> returned a result with an error set"
I am able to continue running the code successfully inspite of this seeming error. I would like for this to simply not show up as the code will go to someone with little experience and i dont want this to trigger concern.
Interestingly when I run the code again for the next input, this error does not appear again....
Does anyone know of an exception handling i can use to eliminate this?
I am currently running 10.7 desktop and have been working in the jupityer notebooks version that comes with this desktop version.
i have attached the error and the python code i wrote. the section happens at line 277
Thank you for the help