laptop and a wrench

Bug

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

Last Published: April 1, 2019 ArcGIS API for Python
Bug ID Number BUG-000112855
SubmittedMarch 30, 2018
Last ModifiedJune 5, 2024
Applies toArcGIS API for Python
Version found1.4
Operating SystemWindows OS
Operating System Version10.0 64 Bit
Version Fixed1.7.0
StatusFixed

Workaround

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)

Steps to Reproduce

Bug ID: BUG-000112855

Software:

  • ArcGIS API for Python

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options