laptop and a wrench

Error

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

Última publicación: April 22, 2022 ArcGIS API for Python
Número de ID del error BUG-000146786
EnviadoFebruary 10, 2022
Última modificaciónApril 17, 2024
Relacionado conArcGIS API for Python
Versión encontrada1.9.1
Sistema operativoWindows OS
Versión de sistema operativo11.0
EstadoIn Product Plan

Solución alternativa

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)

Pasos para reproducir

ID del error: BUG-000146786

Software:

  • ArcGIS API for Python

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga