laptop and a wrench

不具合

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

最後に公開された状態: November 8, 2019 Portal for ArcGIS
不具合 ID 番号 BUG-000126403
送信されましたOctober 30, 2019
最終更新日June 5, 2024
適用対象Portal for ArcGIS
見つかったバージョン10.7.1
オペレーティング システムWindows OS
ステータスFixed

対処法

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

再現の手順

不具合 ID: BUG-000126403

ソフトウェア:

  • Portal for ArcGIS

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動