laptop and a wrench

Erro

Including arcpy.env.workspace in a string in a Python argument in an embedded script tool in ArcGIS Pro results in a g_ESRI_variable being added to the script when the project is shared as a template which can sometimes break the script.

Última Publicação: March 26, 2019 ArcGIS Pro
Número de ID do Erro BUG-000115414
EnviadoJuly 17, 2018
Última ModificaçãoJuly 17, 2025
Aplica-se àArcGIS Pro
Versão encontrada2.2
Sistema OperacionalWindows OS
Versão do Sistema Operacional7.0 64 Bit
Versão Fixa2.5.1
StatusFixed

Solução Provisória

1. Add the toolbox manually rather than saving as a template.

2. Replace the arcpy.env.workspace with the equivalent variable.

3. Remove the arcpy.env.workspace variable completely if not necessary.

Etapas para Reproduzir

ID do Erro: BUG-000115414

Software:

  • ArcGIS Pro

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