laptop and a wrench

Bug

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

Zuletzt veröffentlicht: April 22, 2022 ArcGIS API for Python
Bug-ID-Nummer BUG-000146786
EingereichtFebruary 10, 2022
Zuletzt geändertApril 17, 2024
Gilt fürArcGIS API for Python
Gefunden in Version1.9.1
BetriebssystemWindows OS
Betriebssystemversion11.0
StatusIn Product Plan

Workaround

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)

Schritte zur Reproduzierung

Bug-ID: BUG-000146786

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