laptop and a wrench

Bogue

The ArcGIS API for Python export() or delete() call creates occasional ghost indexes on ArcGIS Online.

Dernière publication: September 23, 2021 ArcGIS Online
Numéro d’ID de bogue BUG-000119033
EnvoiDecember 26, 2018
Dernière modificationDecember 20, 2023
S’applique àArcGIS Online
Version trouvéeN/A
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutUnder Consideration

Solution de contournement

The script calls the following functions:

 

exported_backup_feature = backup_feature.export(backup_feature.title,

                            'File Geodatabase', parameters=None, wait='True')

fgdb = gis.content.get(exported_backup_feature['exportItemId']) # backup_feature ID

fgdb.download(save_path=output_folder)

fgdb.delete()

 

By amending the order of functions called, and calling delete on the output of fgbd.export(), running the script does not produce ghost indexes. Below are the amended script calls:

fgdb = gis.content.get('<itemID>')

toExport = fgdb.export('name','File Geodatabase')

toExport.download(save_path=r"FIlePath")

toExport.delete()

Étapes pour reproduire

ID de bogue: BUG-000119033

Logiciel:

  • ArcGIS Online

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