| Bug-ID-Nummer |
BUG-000136135 |
| Eingereicht | December 14, 2020 |
| Zuletzt geändert | July 1, 2024 |
| Gilt für | ArcGIS Pro |
| Gefunden in Version | 2.7 Beta |
| Betriebssystem | Windows OS |
| Betriebssystemversion | 10.0 |
| Status | Will Not Be Addressed
Das Entwicklungsteam hat das Problem bzw. die Anforderung sorgfältig geprüft und ist zu dem Schluss gekommen, es nicht zu beheben bzw. keine weiteren Schritte zu unternehmen. Weitere Erläuterungen finden Sie ggf. im Abschnitt "Zusätzliche Informationen" des jeweiligen Problems.
|
Zusätzliche Informationen
This behavior is by design. Running arcpy.management.MakeFeatureLayer creates two objects which reference the feature class inside the FGDB (thus the .lock file). These two objects are the result object, and the internal gp layer object.
Workaround
To successfully remove the locks, add arcpy.Delete_management(res[0].name) and del res . Then the lock is released.
Schritte zur Reproduzierung