laptop and a wrench

Bogue

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

Dernière publication: March 9, 2023 ArcGIS API for Python
Numéro d’ID de bogue BUG-000144224
EnvoiNovember 3, 2021
Dernière modificationFebruary 14, 2025
S’applique àArcGIS API for Python
Version trouvée1.9
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutAs Designed

Informations supplémentaires

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

Étapes pour reproduire

ID de bogue: BUG-000144224

Logiciel:

  • ArcGIS API for Python

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement