Attempting to run a model that includes the Compress tool returns an errorthat says the input workspace is invalid.
上次发布: August 25, 2014No Product Found
漏洞 ID 编号
NIM010249
已提交
July 10, 2007
上次修改时间
June 5, 2024
适用范围
No Product Found
找到的版本
9.2
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
We apologize that we were unable to address this issue within the current product support cycle. If the issue continues to affect your work in a supported release, please contact Technical Support.
解决办法
Create a script or bat file that runs the compress from the command line:1. Batch file:<a href="file:c:/python24/python.exe" target="_blank">c:\python24\python.exe</a> <a href="http://script.py" target="_blank">script.py</a>sdeversion -o compress -i <service> -Nsdetable -o update_dbms_stats -t <tablename> -i <service> -u <DB_User_name> -p <DB_User_password>2. Command line in Python:import os cmd = 'sdeversion -o compress -i 5151 -N' os.system(cmd) print 'Successfully compressed state tree'