We have the following Problem running a simple Python Script in a EngineGeoDB environment.
Currently we are not able to get access to FeatureClasses on SDE Databases.
The script still works with ArcEditor 9.3, ArcEditor 10 and EngineGeoDB 9.3.
Script:
# ---------------------------------------------------------------------------
# # -*- coding: cp1252 -*-
# delete2.py
# Created on: 2012-01-10 16:06:17.00000
# (generated by ArcGIS/ModelBuilder)
# Description:
# ---------------------------------------------------------------------------
# Import arcpy module
import arcgisscripting
gp = arcgisscripting.create(9.3)
gp.setproduct("EngineGeoDB")
message = "Selected an " + gp.ProductInfo() + " license"
print message
# Local variables:
fc = "testdaten_sde.GISADMIN.LA_Busspur"
gp.workspace = "C:\\gis01_testdaten.sde"
# Process: Löschen
gp.Delete_management(fc, "FeatureClass")
The Terminal Error is:
Selected an EngineGeoDB license
Traceback (most recent call last):
File "delete2.py", line 27, in <module>
gp.Delete_management(fc, "FeatureClass")
arcgisscripting.ExecuteError: Fehler bei Ausführung. Parameter sind ungültig.
ERROR 000732: Eingabe-Datenelement: Dataset testdaten_sde.GISADMIN.LA_Busspur ist
nicht vorhanden oder wird nicht unterstützt.
Fehler beim Ausführen von (Delete).
Please let us know if there is a identified problem.
Thank you