laptop and a wrench

Erro

The env.workspace parameter is reset after using a tool in the Spatial Analyst toolbox.

Última Publicação: September 23, 2020 ArcGIS Pro
Número de ID do Erro BUG-000132851
EnviadoAugust 5, 2020
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS Pro
Versão encontrada2.5.2
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
StatusNon-Reproducible

Informações Adicionais

This issue is fixed and not reproducible in ArcGIS Pro 2.6.

Solução Provisória

The following workarounds are based on the findings of the user from the related case and GeoNet post:

  • No need to reset, simply printing it [the workspace] works fine.
  • Use full paths instead of the relative paths.
  • Use a ‘with arcpy.EnvManager(workspace = ‘\path\to\workspace):’ indent block rather than simply setting arcpy.env.workspace.

Etapas para Reproduzir

ID do Erro: BUG-000132851

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