AnsweredAssumed Answered

copy features error in python and not modelbuilder

Question asked by aimong on Sep 24, 2013
Latest reply on Sep 25, 2013 by aimong
 import arcpy from arcpy import env arcpy.env.overwriteOutput = True arcpy.CopyFeatures_management("U:\GIS_Data\Geodatabase\TEST_2.mdb\lines\other_line", "U:\TEST_2.gdb\lines\other_line")   


Runtime error  Traceback (most recent call last):   File "<string>", line 1, in <module>   File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\management.py", line 2227, in CopyFeatures     raise e ExecuteError: Failed to execute. Parameters are not valid. ERROR 000732: Input Features: Dataset U:\GIS_Data\Geodatabase\TEST_2.mdb\lines\other_line does not exist or is not supported WARNING 000725: Output Feature Class: Dataset U:\TEST_2.gdb\lines\other_line already exists. Failed to execute (CopyFeatures). 


I have tried taking out the underscores. Geoprocessing options are set to overwrite as well. The biggest issue is the line that does not exist/not supported

Any ideas?

Outcomes