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, 2016ArcGIS for Server
Bug ID Number
BUG-000093953
Submitted
February 2, 2016
Last Modified
June 5, 2024
Applies to
ArcGIS for Server
Version found
10.3.1
Status
Non-Reproducible
This issue was not reproducible when tested by the development team. Issues may be given this status when they cannot be reproduced or are no longer relevant in a development version of the software, but a specific fix was not installed to address the issue. The issue's Additional Information section may contain further explanation.
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.