laptop and a wrench

Bogue

TestSchemaLock does not work and returns a result of "ERROR".

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM011046
EnvoiAugust 17, 2007
Dernière modificationJune 5, 2024
S’applique àNo Product Found
Version trouvée9.2
Version de correction9.3
StatutFixed

Solution de contournement

Possible work-around (forum posting http://forums.esri.com/Thread.asp?c=93&f=1729&t=251511):# Test Schema Lock on output layer# @9.1 - full path to featureclass was valid# @9.2 - use out featureclass name after declaring gp.workspace# Full path to featureclass won't work (always returns ERROR)outfc = "Database Connections\\conservation.sde\\CONSERVATION.StateHeritageSites"#Get workspace of output featureclassoutws = os.path.dirname(outfc)gp.workspace = outws ###required#Get name of output featureclassoutfcname = os.path.basename(outfc) lockTest = gp.TestSchemaLock(outfcname)

Étapes pour reproduire

ID de bogue: NIM011046

Logiciel:

  • No Product Found

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement