| ||||||
![]() | ||||||
Cause | ||||||
cleartool: Error Type manager "text_file_delta". failed create_version operation. cleartool: Error: Unable to check in "testfile". | ||||||
Resolving the problem | ||||||
The solution for Cause 1 has two different options. Choose the one that is right for your needs. OPTION 1 Change the type manager of the file stored as text_file to a different type manager and checkin in the file.
OPTION 2 Manually remove the null characters in the file.
perl -pi -e 's//x00//g' file_name This command does a global replace on the null character and replaces it with nothing on the file specified. Option #2 awk '{gsub("/000","");print}' file_name > file_name This command will also replace all the null characters with nothing.
You will now be able to check the file in. 如果是windows 的话可能是如下原因:
确保你的文件里没有二进制的文件。 |