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-Nummer BUG-000171493
EingereichtOctober 15, 2024
Zuletzt geändertDecember 10, 2024
Gilt fürArcGIS Pro
Gefunden in Version3.2
BetriebssystemWindows Server
Betriebssystemversion2016 64 Bit
Behoben in Version3.5
StatusNon-Reproducible

Zusätzliche Informationen

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000171493

Software:

  • ArcGIS Pro

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln