laptop and a wrench

漏洞

The rename method of the arcgis.gis.server.Service class throws an AttributeError: 'Service' object has no attribute '_service'.

上次发布: April 1, 2019 ArcGIS API for Python
漏洞 ID 编号 BUG-000112855
已提交March 30, 2018
上次修改时间June 30, 2025
适用范围ArcGIS API for Python
找到的版本1.4
操作系统Windows OS
操作系统版本10.0 64 Bit
修正版本1.7.0
状态Fixed

解决办法

Navigate to line 922 in  C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\gis\server\admin\_services.py Change the line from:res = self._service._con.post(path=u_url, postdata=params)tores = self._con.post(path=u_url, postdata=params)

重现步骤

漏洞 ID: BUG-000112855

软件:

  • ArcGIS API for Python

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项