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 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项