ahos77

ARCPY MISSING SECTIONS OF SCRIPT?

Discussion created by ahos77 on Nov 8, 2012
Latest reply on Nov 15, 2012 by dwynne-esristaff
I installed the 10.1 sp1 the other day and my scripts stopped working. The following error is showing up:

Traceback (most recent call last):
File "c:\location\script.py", line 10, in <module>
import arcpy
File "d:\arcgis\desktop10.1\arcpy\arcpy\__init__.py", line 24, in <module>
from arcpy.toolbox import *
File "d:\arcgis\desktop10.1\arcpy\arcpy\toolbox.py", line 485, in <module>
from management import ExportTileCache as ExportTileCache_management
ImportError: cannot import name ExportTileCache

Line 10 states:  Import arcpy
Line 24 states:  from arcpy.toolbox import *
Line 485 states:  from management import ExportTileCache as ExportTileCache_management

In management.py there is no gptooldoc( ' ExportTileCache_managemet ' ).  It appears it should be between ExportReplicaSchema, line 914, and ExportXMLWorkspaceDocument but it is not.  Makes me wonder if there may be more missing or am I doing something wrong.

I have downloaded the sp1 for 10.1 desktop twice and installed several times with no change.  The model still works just not the script.
Any help would be greatly appreciated. 

Thank you

Outcomes