laptop and a wrench

Erro

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.

Última Publicação: June 9, 2016 ArcGIS for Desktop
Número de ID do Erro NIM066910
EnviadoApril 6, 2011
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS for Desktop
Versão encontrada10.0
Sistema OperacionalWindows OS
Versão do Sistema Operacional7 64 Bit
StatusNon-Reproducible

Informações Adicionais

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

Solução Provisória

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.

Etapas para Reproduzir

ID do Erro: NIM066910

Software:

  • ArcGIS for Desktop

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download