laptop and a wrench

Bogue

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

Dernière publication: April 1, 2019 ArcGIS API for Python
Numéro d’ID de bogue BUG-000112855
EnvoiMarch 30, 2018
Dernière modificationJune 30, 2025
S’applique àArcGIS API for Python
Version trouvée1.4
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
Version de correction1.7.0
StatutFixed

Solution de contournement

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)

Étapes pour reproduire

ID de bogue: BUG-000112855

Logiciel:

  • ArcGIS API for Python

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement