laptop and a wrench

漏洞

Unable to publish a geoprocessing service referencing a Python script that includes a variable with the value of Portal for ArcGIS URL.

ArcGIS Pro
漏洞 ID 编号 BUG-000159968
已提交July 19, 2023
上次修改时间June 1, 2025
适用范围ArcGIS Pro
找到的版本3.1
操作系统N/A
操作系统版本N/A
修正版本3.20
状态Fixed

附加信息

This issue is not reproducible in ArcGIS Pro 3.2.

解决办法

Use the replace() method in the Python script:

portalURL = "https??hostname.domian.com?portal"
portalURL = portalURL.replace('??', '://')
portalURL = portalURL.replace('?', '/')
gis = GIS(portalURL)

重现步骤

漏洞 ID: BUG-000159968

软件:

  • ArcGIS Pro

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项