Referencing the in_memory workspace using a Python variable presents the warning code, 24032 in the Service Analyzer when publishing a script tool as a geoprocessing service.
上次发布: November 13, 2014ArcGIS for Server
漏洞 ID 编号
BUG-000082432
已提交
October 7, 2014
上次修改时间
June 5, 2024
适用范围
ArcGIS for Server
找到的版本
10.2.2
操作系统
Windows OS
操作系统版本
2008 R2 64 Bit
状态
Known Limit
经开发团队审核,已确定此问题与不受 Esri 控制的软件的已知限制有关。 问题的“其他信息”部分可能包含进一步说明。
附加信息
It is not recommended to assign work space to in_memory. Use the method provided in the Workaround section.
解决办法
Reference 'in_memory' directly and not through a variable. For example,Don't do this:workspace = "in_memory"arcpy.CreateFeatureclass_management(workspace,.......Do this:arcpy.CreateFeatureclass_management("in_memory",.....