laptop and a wrench

Bug

:After publishing content to ArcGIS Online using the function "Folder.add()", ArcGIS Pro continues to hold onto the file, and you get this error: "PermissionError: [WinError 32] The process cannot access the file because it is being used by another process." This error prevents you from deleting or removing the file geodatabase you just uploaded.

ArcGIS API for Python
Bug-ID-Nummer BUG-000178289
EingereichtJuly 29, 2025
Zuletzt geändertNovember 21, 2025
Gilt fürArcGIS API for Python
Gefunden in Version2.4
BetriebssystemWindows OS
Betriebssystemversion11.0 64 bit
Behoben in Version2.4.2
StatusFixed

Workaround

Replace folder.add() with gis.content.add()*

*gis.content.add() will populate a deprecation warning

Schritte zur Reproduzierung

Bug-ID: BUG-000178289

Software:

  • ArcGIS API for Python

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln