laptop and a wrench

Bogue

: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
Numéro d’ID de bogue BUG-000178289
EnvoiJuly 29, 2025
Dernière modificationNovember 21, 2025
S’applique àArcGIS API for Python
Version trouvée2.4
Système d’exploitationWindows OS
Version du système d’exploitation11.0 64 bit
Version de correction2.4.2
StatutFixed

Solution de contournement

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

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

Étapes pour reproduire

ID de bogue: BUG-000178289

Logiciel:

  • ArcGIS API for Python

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement