The script 'arcserver.py' uses old logic in the ArcGIS 10 and 10.1 releases (and therefore does not work in those releases), but is installed to the hard drive along with ArcGIS for Desktop at "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\ arcserver.py".
上次发布: September 13, 2016ArcGIS for Desktop
漏洞 ID 编号
NIM087548
已提交
December 20, 2012
上次修改时间
June 5, 2024
适用范围
ArcGIS for Desktop
找到的版本
10.1
操作系统
Windows OS
操作系统版本
7
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
The reported issue, as it is described, does not fully explain what is needed. Please contact Esri Technical Support to provide additional details.
解决办法
import arcpyimport arcserverlic = "arcserver"print "configured product: " + arcpy.ProductInfo()print lic + " license: " + arcpy.CheckProduct(lic)listinstalls = arcpy.ListInstallations()print "installed products of type " + lic + ":"for install in listinstalls: print " " + installdictinstallinfo = arcpy.GetInstallInfo(arcserver)print "installation info for product " + lic + ":"for key in dictinstallinfo.keys(): print " " + key + ":" + dictinstallinfo[key]