laptop and a wrench

漏洞

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.

上次发布: March 14, 2023 ArcGIS GIS Server
漏洞 ID 编号 BUG-000147411
已提交March 8, 2022
上次修改时间June 27, 2025
适用范围ArcGIS GIS Server
找到的版本10.9.1
操作系统Windows OS
操作系统版本10.0 64 Bit
修正版本3.1
状态Fixed

附加信息

This issue is addressed in ArcGIS Pro 3.1.

解决办法

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

重现步骤

漏洞 ID: BUG-000147411

软件:

  • ArcGIS GIS Server

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项