laptop and a wrench

Bug

When creating a user, the ArcGIS API for Python documentation states the role is optional. If the role is left as none, the following error message is returned: "'NoneType' object has no attribute 'lower'".

ArcGIS API for Python
Bug-ID-Nummer BUG-000161671
EingereichtSeptember 26, 2023
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS API for Python
Gefunden in VersionN/A
BetriebssystemWindows Server
Betriebssystemversion2019 64 Bit
Behoben in Version2.2.0
StatusFixed

Workaround

Make the role required, or change line 3986 in geosaurus\src\arcgis\gis_init_.py to:

The elif role is not 'None' and role.lower() in role_lookup:

Schritte zur Reproduzierung

Bug-ID: BUG-000161671

Software:

  • ArcGIS API for Python

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