laptop and a wrench

Error

ArcPy functions fail and returns the error, "RuntimeError: Object: Error in executing tool." when providing the arcgis.features.layer.FeatureLayer class as an input.

Última publicación: March 9, 2023 ArcGIS API for Python
Número de ID del error BUG-000144224
EnviadoNovember 3, 2021
Última modificaciónFebruary 14, 2025
Relacionado conArcGIS API for Python
Versión encontrada1.9
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoAs Designed

Información adicional

The tool is behaving as designed. When using the ArcPy arcpy.management.CalculateField() function, a URL can be passed as the in_table. It is not necessary to use a Python API FeatureLayer object. Instead, use the calculate operation on the FeatureLayer object, as demonstrated in the documentaton: https://developers.arcgis.com/python/api-reference/arcgis.features.toc.html#featurelayer

Pasos para reproducir

ID del error: BUG-000144224

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