laptop and a wrench

Erro

Using in-line variable substitution in Calculate Field Python within ModelBuilder gives a correct but potentially misleading error message which gives the appearance the tool fails but it works as intended.

Última Publicação: February 17, 2021 ArcGIS Pro
Número de ID do Erro BUG-000137029
EnviadoJanuary 27, 2021
Última ModificaçãoApril 23, 2025
Aplica-se àArcGIS Pro
Versão encontrada2.7
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0
StatusWill Not Be Addressed

Informações Adicionais

This is as designed.

Solução Provisória

Ignore the error message but if there is other things wrong with the calculation this is to be overlooked.

Note: %-% is not valid Python, the validator correctly throws an error. Writing proper Python takes care of this. Enclose the variable needed to replace in a string.

Etapas para Reproduzir

ID do Erro: BUG-000137029

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