laptop and a wrench

Bug

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

Zuletzt veröffentlicht: May 28, 2019 ArcGIS Pro
Bug-ID-Nummer BUG-000122086
EingereichtMay 1, 2019
Zuletzt geändertJune 25, 2025
Gilt fürArcGIS Pro
Gefunden in Version2.3.2
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusWill Not Be Addressed

Zusätzliche Informationen

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.

Workaround

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000122086

Software:

  • ArcGIS Pro

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln