laptop and a wrench

Bug

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
Bug ID Number BUG-000171493
SubmittedOctober 15, 2024
Last ModifiedDecember 10, 2024
Applies toArcGIS Pro
Version found3.2
Operating SystemWindows Server
Operating System Version2016 64 Bit
Version Fixed3.5
StatusNon-Reproducible

Additional Information

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.

Workaround

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.

Steps to Reproduce

Bug ID: BUG-000171493

Software:

  • ArcGIS Pro

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