laptop and a wrench

Bug

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

Zuletzt veröffentlicht: November 8, 2019 Portal for ArcGIS
Bug-ID-Nummer BUG-000126403
EingereichtOctober 30, 2019
Zuletzt geändertJune 5, 2024
Gilt fürPortal for ArcGIS
Gefunden in Version10.7.1
BetriebssystemWindows OS
StatusFixed

Workaround

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

Schritte zur Reproduzierung

Bug-ID: BUG-000126403

Software:

  • Portal for ArcGIS

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