Hello, I have a model created from ModelBuilder to Rename a file geodatabase. I have exported the model to python, but it does not work on the network. It will work if I change the paths to C:\drive (local) NOT network. I am using ArcInfo 10, service pack 4. Please see python below. Thanks for any help in advance. Wayne. # --------------------------------------------------------------------------- # renameSdrviemappingTemplateTyped.py # Created on: 2012-05-31 14:07:37.00000 # (generated by ArcGIS/ModelBuilder) # Description: # --------------------------------------------------------------------------- # Import arcpy module import arcpy arcpy.env.overwrite = True # Local variables: MappingTemplate_gdb = "S:\\WSL\\testing\\MappingTemplate.gdb" MappingTemplate_RenameTyped_gdb = "S:\\WSL\\testing\\MappingTemplate_RenameTyped.gdb" # Process: Rename arcpy.Rename_management(MappingTemplate_gdb, MappingTemplate_RenameTyped_gdb, "Workspace") Here are the results. Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. **************************************************************** Personal firewall software may warn about the connection IDLE makes to its subprocess using this computer's internal loopback interface. This connection is not visible on any external interface and no data is sent to or received from the Internet. **************************************************************** IDLE 2.6.5 ==== No Subprocess ==== >>> Traceback (most recent call last): File "C:\TEST\RenameModel\Script\renameSdrviemappingTemplateTyped.py", line 18, in <module> arcpy.Rename_management(MappingTemplate_gdb, MappingTemplate_RenameTyped_gdb, "Workspace") File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\management.py", line 3181, in Rename raise e ExecuteError: ERROR 999999: Error executing function. General function failure Failed to execute (Rename). >>>
... View more