laptop and a wrench

Bug

In ArcGIS Pro, ListFeatureClasses() creates a lock which cannot be deleted with shutil.rmtree().

Last Published: December 21, 2020 ArcGIS Pro
Bug ID Number BUG-000136131
SubmittedDecember 14, 2020
Last ModifiedJuly 7, 2025
Applies toArcGIS Pro
Version found2.7 Beta
Operating SystemWindows OS
Operating System Version10.0
Version Fixed2.8
StatusFixed

Workaround

  • If ArcMap is an option, use ArcMap instead of ArcGIS Pro.
  • Use arcpy.Delete_management().

Steps to Reproduce

Bug ID: BUG-000136131

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options