Can you paste a full traceback?
   try:        print("Place code here")    except arcpy.ExecuteError:        Errors = "TRUE"        logger.error("An error occurred during geoprocessing:")        logger.error(arcpy.GetMessages(2))    except Exception as ErrorDesc:        Errors = "TRUE"        logger.error("An unknown error occurred:")        logger.error(ErrorDesc.message)
   try:        print("Place code here")    except arcpy.ExecuteError:        Errors = "TRUE"        print("An error occurred during geoprocessing:")        print(arcpy.GetMessages(2))    except Exception as ErrorDesc:        Errors = "TRUE"        print("An unknown error occurred:")        print(ErrorDesc.message)
Traceback (most recent call last): File "<pyshell#0>", line 1, in <module>   arcpy.CopyFeatures_management(polygon, ShapeFile_prj) File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\management.py", line 1943, in CopyFeatures   raise eAttributeError: <unprintable AttributeError object>
>>> polygon <Polygon object at 0xf34f550[0x347d9e0]> >>> ShapeFile_prj 'F:\\vector\\Biboohra_Koah\\25cm\\TPE0_330000_8135000_1k_cont.shp' >>>
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.