jlpoehlm

arcpy.CopyFeatures_management, SDE, and schema with underscores

Discussion created by jlpoehlm on Sep 28, 2011
Latest reply on Sep 28, 2011 by jlpoehlm
The best that I can narrow down is that my script is failing because of underscores in my SDE schema names. (All other schemas & tablespaces, both spatial and tabular, without underscores run through the process just fine.)

The error returned to the python shell:
"ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000732: Input Features: Dataset X222_TRN_MST.GIS_POINTS
does not exist or is not supported"

I have multiple SDE environments and am using multiple SDE connection files for various schemas --all that work fine, EXCEPT the schema that includes an underscore.

Anyone have a workaround? I'm not going to convince my DBA to change the schema name.

Outcomes