ERROR 000464: Cannot get exclusive schema lock. Either being edited or in use by another application
使用Py脚本命令执行Feature的相关操作时,遇到个小问题
[ERROR] 2012-11-29 17:41:32,562 - (<class 'arcgisscripting.ExecuteError'>, ExecuteError('ERROR 000464: Cannot get exclusive schema lock. Either being edited or in use by another application.\nFailed to execute (Delete).\n',), <traceback object at 0x00B202B0>)
[ERROR] 2012-11-29 17:41:39,233 - (<class 'arcgisscripting.ExecuteError'>, ExecuteError('Failed to execute. Parameters are not valid.\nERROR 000725: Output Feature Class: Dataset Database Connections\\sdeServer.sde\\SDE.T_GIS_THIE_TEST already exists.\nFailed to execute (CreateThiessenPolygons).\n',), <traceback object at 0x00AE0300>)
根据错误信息来看是被锁或其他程序占用,但是ArcGis工具全部关掉后,然后重启服务还是报这个错,一开始不确定是由ArcGis工具打开造成的问题,抱着试试看的态度把系统其他用户下的工具也全部关闭,然后再重新执行,居然么没问题了,记录一下,权当教训!