laptop and a wrench

Error

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

Última publicación: May 28, 2019 ArcGIS Pro
Número de ID del error BUG-000122086
EnviadoMay 1, 2019
Última modificaciónJune 25, 2025
Relacionado conArcGIS Pro
Versión encontrada2.3.2
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoWill Not Be Addressed

Información adicional

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.

Solución alternativa

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.

Pasos para reproducir

ID del error: BUG-000122086

Software:

  • ArcGIS Pro

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