laptop and a wrench

Bogue

The StageService_server function fails on CreateGPSDDraft of the Extract Data (Server) tool result outside of ArcGIS Pro, returning ERROR 001249.

Dernière publication: April 22, 2022 ArcGIS API for Python
Numéro d’ID de bogue BUG-000146786
EnvoiFebruary 10, 2022
Dernière modificationApril 17, 2024
S’applique àArcGIS API for Python
Version trouvée1.9.1
Système d’exploitationWindows OS
Version du système d’exploitation11.0
StatutIn Product Plan

Solution de contournement

During staging, it cannot reach the source of the layers in the project map when the script is not running in the project that has the source layers. The workaround is to use the MakeFeatureLayer function to make real layers and pass the variables to the ExtractData function like to code sample below: arcpy.management.MakeFeatureLayer(layers[0], Layers_to_Clip) Area_of_Interest = "Area_of_Interest" arcpy.management.MakeFeatureLayer(layers[1], Area_of_Interest) result = arcpy.server.ExtractData(Layers_to_Clip, Area_of_Interest, "File Geodatabase - GDB - .gdb", "ESRI GRID - GRID", "Same As Input", None, outputfile)

Étapes pour reproduire

ID de bogue: BUG-000146786

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