laptop and a wrench

Error

When using the ArcGIS API for Python, when calling the portal license functions, a type error prevents "arcgis.gis.admin.PortalLicense" from working properly.

Última publicación: November 8, 2019 Portal for ArcGIS
Número de ID del error BUG-000126403
EnviadoOctober 30, 2019
Última modificaciónJune 5, 2024
Relacionado conPortal for ArcGIS
Versión encontrada10.7.1
Sistema operativoWindows OS
EstadoFixed

Solución alternativa

There is a 'Super' syntax used when initializing the PortalLicense object (_system.py in the admin folder of the conda environment).

 

Line 634 - Changing the format from super(Derived, self).init() to super().init() resolves the issue.

 

NOTE : The fix must only be implemented for testing purposes. It is recommended to make a backup of the original file. Implementing the fix effectively void support (the user are working with the API as-released).

Pasos para reproducir

ID del error: BUG-000126403

Software:

  • Portal for ArcGIS

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