Select to view content in your preferred language

Arcpy Summarize Within fails after one iteration with 100014

331
2
03-27-2024 12:24 PM
AmalPerera
New Contributor

Going through a batch of shp files to obtain a geospatial aggregate count of a feature. When using, Summarize Within fails with 100014 on arcpy after one iteration. But same code executes within the ArcGIS pro pythin notebook. I have a large number of files to process and want to get it running on arcpy as it runs much faster than the notebook. I have noticed that a lock is placed on the aggregation polygon layer when executing the first iteration and after that most probably due to the lock, Summarize Within fails. Error thrown is very generic 100014. Any thoughts on fixing this? 

2 Replies
DanPatterson
MVP Esteemed Contributor

There is an error explanation in this link

Error: 100014: Summarize within Failed (esri.com)


... sort of retired...
0 Kudos
AmalPerera
New Contributor

Thanks for the pointer. But this is not raised due to the issue indicated in the link. 

I have taken care of that problem earlier and do have a very short path. And in my case it runs for the first file in a list of files and fails with the next file. And also, this code works without any issue when used via ArcGIS Pro python notebook. As I mentioned I suspect it to be related to locking done for executing the first input file though I delete all the inputs that go into the operation using arcpy.Delete_management(), some file/s seem to be still locked. Any help ?

0 Kudos