laptop and a wrench

漏洞

A script that uses ArcGIS API for Python to log into a portal fails to publish if the target portal is the same as the one referenced in the script.

上次发布: July 29, 2019 ArcGIS Pro
漏洞 ID 编号 BUG-000123517
已提交July 5, 2019
上次修改时间November 12, 2024
适用范围ArcGIS Pro
找到的版本2.3
操作系统Windows OS
操作系统版本10.0
修正版本3.5
状态Non-Reproducible

附加信息

This issue is not longer reproducible in the versions 3.4 and 11.4.

解决办法

 

  1. Publish a placeholder script to the intended target portal. This could be nothing in particular or the complete script with the GIS set to a portal which is not the active one in ArcGIS Pro.
  2. The script creates a gp.server folder on the Hosting server. It is possible to modify the script after the fact, by locating it on the server. Here's an example location: C:\arcgisserver\directories\arcgissystem\arcgisinput\LoginGPWin.GPServer\extracted\p20\sym\login.py
  3. Update the script to point to the intended portal. Click Save.

重现步骤

漏洞 ID: BUG-000123517

软件:

  • ArcGIS Pro

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项