Topic
  • 3 replies
  • Latest Post - ‏2013-02-18T22:27:49Z by SystemAdmin
michelei
michelei
22 Posts

Pinned topic Type manager text_file_delta failed create_version operation

‏2013-02-05T13:20:54Z |
Hi,
with ClearCase 2003.06.10 I have problems adding to source control some files containing 0x00. The error I get is "Type manager text_file_delta failed create_version operation".

Since we are close to migrate to CCase 8, do you know if this has been fixed?

Thanks
michele
Updated on 2013-02-18T22:27:49Z at 2013-02-18T22:27:49Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    47293 Posts

    Re: Type manager text_file_delta failed create_version operation

    ‏2013-02-05T15:40:17Z  
    michelei wrote:
    > with ClearCase 2003.06.10 I have problems adding to source control some files containing 0x00.

    The problem is likely to be a wrong element type.
    ct des -fmt "%[type]p\n" xxx
    

    Depending on the type, you have to pick another, suitable one.
    Then, you should investigate how the type was picked (default magic, or bad overriding), and fix this.
    Marc
    Updated on 2014-03-26T13:43:25Z at 2014-03-26T13:43:25Z by iron-man
  • michelei
    michelei
    22 Posts

    Re: Type manager text_file_delta failed create_version operation

    ‏2013-02-07T08:08:50Z  
    michelei wrote:
    > with ClearCase 2003.06.10 I have problems adding to source control some files containing 0x00.

    The problem is likely to be a wrong element type.
    <pre class="java dw" data-editor-lang="java" data-pbcklang="java" dir="ltr">ct des -fmt "%[type]p\n" xxx </pre>
    Depending on the type, you have to pick another, suitable one.
    Then, you should investigate how the type was picked (default magic, or bad overriding), and fix this.
    Marc
    Thanks!
    I tried the following command and it works:
    "chtype compressed_file file_name"

    since I have a lot of files but with only two extensions (*.js, *.info), do you suggest to write a script or is it possibile to associate those extension automatically to compressed_file type?
    ciao
    michele
  • SystemAdmin
    SystemAdmin
    47293 Posts

    Re: Type manager text_file_delta failed create_version operation

    ‏2013-02-18T22:27:49Z  
    • michelei
    • ‏2013-02-07T08:08:50Z
    Thanks!
    I tried the following command and it works:
    "chtype compressed_file file_name"

    since I have a lot of files but with only two extensions (*.js, *.info), do you suggest to write a script or is it possibile to associate those extension automatically to compressed_file type?
    ciao
    michele
    michelei wrote:
    > since I have a lot of files but with only two extensions (*.js, *.info),
    > do you suggest to write a script or is it possible to associate those extensions
    > automatically to compressed_file type?

    Both. The script will affect existing elements, the association (in a 'magic' file or directory) will affect new ones.

    Marc