laptop and a wrench

Bogue

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

Dernière publication: November 8, 2019 Portal for ArcGIS
Numéro d’ID de bogue BUG-000126403
EnvoiOctober 30, 2019
Dernière modificationJune 5, 2024
S’applique àPortal for ArcGIS
Version trouvée10.7.1
Système d’exploitationWindows OS
StatutFixed

Solution de contournement

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

Étapes pour reproduire

ID de bogue: BUG-000126403

Logiciel:

  • Portal for ArcGIS

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement