laptop and a wrench

Bug

In ArcPy, the arcpy.Exists function creates a lock file when executed against a file geodatabase.

Last Published: October 1, 2022 ArcGIS Pro
Bug ID Number BUG-000151419
SubmittedAugust 9, 2022
Last ModifiedOctober 8, 2024
Applies toArcGIS Pro
Version found2.9.3
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusNon-Reproducible

Additional Information

The lock on the file geodatabase could not be reproduced in ArcGIS Pro 3.0.3 and 3.1.3. The existence of the file geodatabase was verified and deleted using the Python command prompt. If a lock is still encountered, use os.path.exists() instead.

Workaround

Use the os.path.exists() function instead.

Steps to Reproduce

Bug ID: BUG-000151419

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