kyle969

AttributeError: 'module' object has no attribute 'utils'

Discussion created by kyle969 on Jun 16, 2014
Latest reply on Jun 17, 2014 by kyle969
We're getting this error periodically. Out of hundreds of successful requests it'll happen about twice.

[INDENT] {"error":{"code":400,"message":"Unable to complete operation.","details":["Error executing tool.:
Traceback (most recent call last):
File \"D:\\arcgisserver\\directories\\arcgissystem\\arcgisinput\\EDDM\\getRouteStats.GPServer\\extracted\\v101\\eddm\\getRouteStats.py\", line 3, in \u003cmodule\u003e
import sys, os, arcpy
File \"d:\\arcgis\\server\\arcpy\\arcpy\\__init__.py\", line 33, in \u003cmodule\u003e
import arcpy.utils as utils
AttributeError: 'module' object has no attribute 'utils'
Failed to execute (getRouteStats).\nFailed to execute (getRouteStats)."]}}
[/INDENT]

It's thrown on a line written by arcgis: import sys, os, arcpy

Outcomes