The rename method of the arcgis.gis.server.Service class throws an AttributeError: 'Service' object has no attribute '_service'.
上次发布: April 1, 2019ArcGIS 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)