Hi All,
I've been trawling around the forums for an answer to an issue with a general function failure on one of my arcpy script.
I've got a script that does a Select By Attribute query and export the selection out as another feature class. Then, it does a bit of field mapping through a list and then it also tries to delete unwanted fields from the feature class and does a few Calculate Field operations .
The script works fine as is but it starts breaking when it encounters a large dataset complaining about a General Function Failure . I tried debugging and found that the script crashes at the delete field management stage. If I reduce the amount of data queried , it works fine which is bizzare.
Since it works with a smaller dataset, it doesn't look like it is a filegdb locking issue.
Are there any known bugs with the delete field management arcpy module that causes this crash?