Changes to an embedded Python script in a Python script tool do not persist after restarting ArcGIS.
ArcGIS Pro
漏洞 ID 编号
BUG-000164656
已提交
January 29, 2024
上次修改时间
July 31, 2024
适用范围
ArcGIS Pro
找到的版本
3.2.1
操作系统
Windows OS
操作系统版本
N/A
状态
Under Consideration
该问题已由开发团队审核。 其尚未被优先纳入发布计划,但将对其进行监控以确定总体影响。 在优先级排序过程中考虑的因素包括受影响或请求功能的用户数量、业务影响、是否存在解决方法等。 如果漏洞对您的业务产生不利影响,请参阅“操作方法:升级缺陷”(https://support.esri.com/en/technical-article/000024129)。
解决办法
Open the attached toolbox.
Right-click on the script tool and click Edit > Save As. Save the script (.py file) to another location (local path). It is recommended to avoid keeping the .py file in the Temp folder.