laptop and a wrench

漏洞

A script run from the Task Scheduler with the setting, ‘run whether user is logged on or not’ fails to initialize ArcPy when a single-use license is used.

上次发布: June 9, 2016 ArcGIS for Desktop
漏洞 ID 编号 NIM066910
已提交April 6, 2011
上次修改时间June 5, 2024
适用范围ArcGIS for Desktop
找到的版本10.0
操作系统Windows OS
操作系统版本7 64 Bit
状态Non-Reproducible

附加信息

Ran against 10.5 and it worked. If memory serves this was addressed in or around the 10.2 time frame.

解决办法

Workaround 1: In ArcGIS for Desktop 10.0, use a concurrent use license for ArcGIS. Workaround 2: Schedule task to ‘run with highest privileges’. This may require increased user privileges, which may not be acceptable in some organizations. Workaround 3: Use the older ArcGIS for Desktop 9.3 syntax: import arcgisscripting gp = arcgisscripting.create(9.3) See this forum post for more details: http://forums.arcgis.com/threads/84402-Python-Schedule-task-not-running-because-of-arcpy.?p=308794&viewfull=1#post308794. Workaround 4: If the above workarounds fail, schedule the task to only run when logged on.

重现步骤

漏洞 ID: NIM066910

软件:

  • ArcGIS for Desktop

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项