laptop and a wrench

Bogue

arcpy.GetCount generates arcgisscripting.ExecuteError on result objects from arcpy.SelectByAttribute/Location when passed to a feature/map layer.

Dernière publication: May 28, 2019 ArcGIS Pro
Numéro d’ID de bogue BUG-000122086
EnvoiMay 1, 2019
Dernière modificationJune 25, 2025
S’applique àArcGIS Pro
Version trouvée2.3.2
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutWill Not Be Addressed

Informations supplémentaires

We apologize that we were unable to address this issue within the current product support cycle.  If the issue continues to affect your work in a supported release, please contact Technical Support.

Solution de contournement

Use the result object from arcpy.MakeFeatureLayer, its output, or its output name in GetCount.

Or run the SelectBy on the result object from MakeFeatureLayer or the output name and then use that result object in GetCount.

Étapes pour reproduire

ID de bogue: BUG-000122086

Logiciel:

  • ArcGIS Pro

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