laptop and a wrench

Erro

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

Última Publicação: April 22, 2022 ArcGIS API for Python
Número de ID do Erro BUG-000146786
EnviadoFebruary 10, 2022
Última ModificaçãoApril 17, 2024
Aplica-se àArcGIS API for Python
Versão encontrada1.9.1
Sistema OperacionalWindows OS
Versão do Sistema Operacional11.0
StatusIn Product Plan

Solução Provisória

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)

Etapas para Reproduzir

ID do Erro: BUG-000146786

Software:

  • ArcGIS API for Python

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download