laptop and a wrench

Bogue

Calling the ArcPy function in a Python script called "production.py" throws AttributeError: 'module' object has no attribute '<arcpy_function>'.

Dernière publication: November 23, 2018 ArcGIS GIS Server
Numéro d’ID de bogue BUG-000116496
EnvoiAugust 30, 2018
Dernière modificationJune 5, 2024
S’applique àArcGIS GIS Server
Version trouvée10.3.1
Système d’exploitationWindows OS
Version du système d’exploitation2012 R2
StatutWill Not Be Addressed

Informations supplémentaires

ArcGIS Desktop (including ArcGIS Engine and ArcObjects) is in mature support and will be retired March 1, 2026. Mature support means the end of functionality-based patches and hotfixes; therefore, this issue will not be addressed. There are no plans for future releases of ArcGIS Desktop, and it is recommended that you migrate to ArcGIS Pro. See Migrate from ArcMap to ArcGIS Pro for more information. https://www.esri.com/en-us/arcgis/products/arcgis-pro/resources/migrate

Solution de contournement

Rename the script to something other than 'production.py'.Alternatively, run the script in Integrated Development Environment (IDLE) in ArcGIS Pro, if available.

Étapes pour reproduire

ID de bogue: BUG-000116496

Logiciel:

  • ArcGIS GIS Server

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