laptop and a wrench

Bug

The embedded file path in the geoprocessing tool is corrupted after publishing to ArcGIS Server 10.9.1 as referenced, and the error message, "SyntaxError: EOL while scanning string literal" is returned.

Last Published: March 14, 2023 ArcGIS GIS Server
Bug ID Number BUG-000147411
SubmittedMarch 8, 2022
Last ModifiedJune 27, 2025
Applies toArcGIS GIS Server
Version found10.9.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
Version Fixed3.1
StatusFixed

Additional Information

This issue is addressed in ArcGIS Pro 3.1.

Workaround

Save the SDE file to a Universal Naming Convention (UNC) path that both the client and server side have access to. Then, use the following code import ArcPy: os fc_name = os.path.join(r"C:\mysdefolder", "myuser", "Documents", "ArcGIS", r"Projects", "MyProject18", "gpegdb.sde", "qatest.gp.BufferPoints") arcpy.AddMessage("getting record count for: {0}".format(fc_name)) count = arcpy.GetCount_management(fc_name) arcpy.AddMessage("count: {0}".format(count)).

Steps to Reproduce

Bug ID: BUG-000147411

Software:

  • ArcGIS GIS 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