laptop and a wrench

Erro

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 Publicação: November 8, 2019 Portal for ArcGIS
Número de ID do Erro BUG-000126403
EnviadoOctober 30, 2019
Última ModificaçãoJune 5, 2024
Aplica-se àPortal for ArcGIS
Versão encontrada10.7.1
Sistema OperacionalWindows OS
StatusFixed

Solução Provisória

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).

Etapas para Reproduzir

ID do Erro: BUG-000126403

Software:

  • Portal for ArcGIS

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download