laptop and a wrench

Bogue

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.

Dernière publication: March 14, 2023 ArcGIS GIS Server
Numéro d’ID de bogue BUG-000147411
EnvoiMarch 8, 2022
Dernière modificationJune 27, 2025
S’applique àArcGIS GIS Server
Version trouvée10.9.1
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
Version de correction3.1
StatutFixed

Informations supplémentaires

This issue is addressed in ArcGIS Pro 3.1.

Solution de contournement

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)).

Étapes pour reproduire

ID de bogue: BUG-000147411

Logiciel:

  • ArcGIS GIS Server

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement