laptop and a wrench

Error

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
Número de ID del error BUG-000161671
EnviadoSeptember 26, 2023
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for Python
Versión encontradaN/A
Sistema operativoWindows Server
Versión de sistema operativo2019 64 Bit
Versión corregida2.2.0
EstadoFixed

Solución alternativa

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:

Pasos para reproducir

ID del error: BUG-000161671

Software:

  • ArcGIS API for Python

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