laptop and a wrench


After publishing a Geoprocessing Service from a .pyt, ArcGIS for Server's generated .pyt does not append ‘arcpy.env.packageWorkspace’ to the ‘g_ESRI_variable’ path when using a UNC share or mapped network drive location at version 10.3.1.

Last Published: July 29, 2016 ArcGIS for Server
Bug ID Number BUG-000093953
SubmittedFebruary 2, 2016
Last ModifiedJune 5, 2024
Applies toArcGIS for Server
Version found10.3.1

Additional Information

Works at 10.4. If the directory is not referenced in the datastore, it properly gets copied and the path looks like: g_ESRI_variable_1 = os.path.join(arcpy.env.packageWorkspace,u'..\\cd\\styles\\ESRI.ServerStyle') If the directory is referenced in the datastore, the file is not copied.

Steps to Reproduce

Bug ID: BUG-000093953


  • ArcGIS for Server

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