laptop and a wrench

Error

Unable to pass a variable through the arcpy.env.workspace parameter when publishing a Python script as a geoprocessing service in ArcGIS Enterprise 11.1.

ArcGIS Pro
Número de ID del error BUG-000171493
EnviadoOctober 15, 2024
Última modificaciónDecember 10, 2024
Relacionado conArcGIS Pro
Versión encontrada3.2
Sistema operativoWindows Server
Versión de sistema operativo2016 64 Bit
Versión corregida3.5
EstadoNon-Reproducible

Información adicional

This issue is non-reproducible in ArcGIS Pro 3.5 and ArcGIS Enterprise 11.5; users can also use ArcGIS Server 11.2 and up, or ArcGIS Pro 3.2 and later to avoid this bug.

Solución alternativa

Do not pass a variable through the arcpy.env.workspace parameter and insert the file path directly into the parameter. If passing a variable through this parameter, manually update the toolbox script located in the server directories under arcgissystem > arcgisinput.

Pasos para reproducir

ID del error: BUG-000171493

Software:

  • ArcGIS Pro

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga