TM file cannot be seperately opened by Trados 2021

I recently find that Trados 2021 or some plugin (or they togeter) will damage the sdltm file that is checked for update in the Project Settings. The problem is that sometimes a message shows that "searching in TM error" (general meaning) during translation. Most of time the sdltm file checked for update works well in the editor, it can be updated and searched normally. However, when I try to seperately open this sdltm file using Trados "File" - "Open" - "Open TM" menu, an error message appears saying that "error occurrs when searching in the TM which may contain invalid translation unts." as shown below. 

    Error message in Trados Studio indicating an issue with searching in the TM, which may contain invalid translation units. A red 'X' icon and 'Confirm' button are visible.

Hope I could get help from you friends, thank you very much.



Generated Image Alt-Text
[edited by: Trados AI at 9:14 AM (GMT 0) on 29 Feb 2024]
emoji
Parents
  • Hi

    That error is known to us but mostly related to GroupShare TM's.
    Is your TM a file based one and local to your machine - meaning not hosted on DropBox or something?

    Please can you attach the full error stack for us so I can see more error details. This is done by clicking on the blue save icon which will then save a XML.

    In the meantime, what is the state / health of your TM. Does it have a warning icon next to its name?Have you tried to reindex it? How big is it? Worst case - have you tried to export TM data and create new TM?
    Trados Studio Translation Memory Settings window showing no need to recompute fuzzy index statistics, with 1936 translation units added since last update.

    Looking forward to your clarifications

    Thank you

    Lyds

    Oana Nagy | RWS Group

    _____________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 9:15 AM (GMT 0) on 29 Feb 2024]
  • Hi Lydia,

    Thanks for your reply.

    The TM file is a file-based one and local to my PC. Actually all TM files I have been using so far are local to my machine.

    For the XML file saved by clicking on the blue save icon, I don't know how to do it. I also cannot find the right path to access "Translation Memory Settings - LSP", sorry...:-)

    This TM file that is checked for update works well in generall — can be saved and searched, except sometimes during translation in the the editor, in the bottom of the TM pane, a message shows this TM file has error (I don't remember what it says exactly), and I cannot open it separately now.

    There is no warning icon next to it.

    Screenshot of Trados Studio showing a list of Translation Memory (TM) files. One file named 'Integrated-2.sdltm' is highlighted with a red line, indicating a possible error or issue with the file.

    Its size is about 62 MB.

    I did integrate some small TM files into one TM file by exporting sdltm files to tmx files which were then imported into a new sdltm file in Trados. But the integrated file was good at first. 

    Thank you.

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 9:15 AM (GMT 0) on 29 Feb 2024]
  • Hi ,

    When you get the error you have the save icon here (see below). Please try reproduce the error and save it and attach to this thread so I can review the fine details
    Trados Studio error message with save icon circled in red.

    Thank you for your screen print as it is helpful. Your TM's do have warning signs. See below

    Trados Studio Translation Memories list with warning signs next to several TM names.

    So using my LSP TM (as an example) please do the following:

    1. Perform an upgrade

    Trados Studio Translation Memory settings with an upgrade button circled in red.

    2. Recompute Fuzzy Index

    By accessing the TM settings 

    Trados Studio Translation Memory settings showing Fuzzy Index Statistics and Recompute Fuzzy Index option.

    II hope between getting your error stack and yourself upgrading your TM's as advised we get your issue progressing in the right direction.

    Lyds

    Oana Nagy | RWS Group

    _____________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 9:15 AM (GMT 0) on 29 Feb 2024]
  • Hi Lydia,

    Thank you very much. :-)

    I reproduced the error and saved it to the XML file. Please see the attached.

    <SDLErrorDetails time="2021/12/8 3:22:04">
      <ErrorMessage>搜索翻译记忆库时出错。TM 可能包含无效翻译单元。</ErrorMessage>
      <Exception>
        <Type>Sdl.LanguagePlatform.Core.LanguagePlatformException, Sdl.LanguagePlatform.Core, Version=1.6.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888</Type>
        <HelpLink />
        <Source>Sdl.LanguagePlatform.TranslationMemoryApi</Source>
        <HResult>-2146233088</HResult>
        <StackTrace><![CDATA[   在 Sdl.LanguagePlatform.TranslationMemoryApi.FileBasedTranslationMemoryLanguageDirection.GetTranslationUnits(RegularIterator& iterator)
       在 Sdl.TranslationStudio.TranslationMemoryManager.RegularTmSearcher.RegularSearchJobRequest.Execute(IJobExecutionContext context)
       在 Sdl.Desktop.Platform.Implementation.Services.Job.<_worker_DoWork>b__47_0()
       在 Sdl.Desktop.Logger.Log.Resources(Object message, Action action)
       在 Sdl.Desktop.Platform.Implementation.Services.Job._worker_DoWork(Object sender, DoWorkEventArgs e)
       在 System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
       在 System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>SDL Trados Studio</ProductName>
        <ProductVersion>Studio16</ProductVersion>
        <EntryAssemblyFileVersion>16.0.0.2838</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 专业版</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>2052</OperatingSystemLanguage>
        <CodePage>936</CodePage>
        <LoggedOnUser>DESKTOP-U2TEN0U\Administrator</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>DESKTOP-U2TEN0U</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>8246688 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>
     

    And for the update, the only TM file that cannot be updated is the one checked for update. The error occurs at reindexing. Attached below is the log file.

    -------------------------------
    更新翻译记忆库已开始。 (2021/12/8 3:23:13)
    -------------------------------
    
    工作文件夹: D:\Users\Administrator\Documents\Studio 2019\Translation Memories\医学类
    
    
    ---------------------------
    备份翻译记忆库 (2021/12/8 3:23:13)
    ---------------------------
    
    备份位置: D:\Users\Administrator\Documents\Studio 2019\Translation Memories\医学类\雅信诚-2.sdltm.000.bak
    
    进程已完成 (2021/12/8 3:23:16)
    
    
    ---------------------------
    升级翻译记忆库 (2021/12/8 3:23:16)
    ---------------------------
    
    翻译记忆库: D:\Users\Administrator\Documents\Studio 2019\Translation Memories\医学类\雅信诚-2.sdltm
    
    进程已完成 (2021/12/8 3:23:16)
    
    
    --------------------------------
    为翻译记忆库重新编制索引 (2021/12/8 3:23:16)
    --------------------------------
    
    翻译记忆库: D:\Users\Administrator\Documents\Studio 2019\Translation Memories\医学类\雅信诚-2.sdltm
    翻译单元 : 38877
    
    进程失败 (2021/12/8 3:23:16)
    Sdl.LanguagePlatform.Core.LanguagePlatformException: 翻译记忆库数据文件已损坏。
       在 Sdl.LanguagePlatform.TranslationMemoryApi.FileBasedTranslationMemoryLanguageDirection.ReindexTranslationUnits(RegularIterator& iterator)
       在 Sdl.TranslationStudio.Common.TranslationMemory.TranslationMemoryAutomation.Jobs.ReIndexTranslationMemoryJobRequest.Execute(IJobExecutionContext context)
    
    -------------------------------
    更新翻译记忆库已完成。 (2021/12/8 3:23:16)
    -------------------------------
    
    
    
    

    In addition, I re-computed the fuzzy index statics and a message showed it was successful, but don't know what to do next.

    Thank you.

    emoji
Reply
  • Hi Lydia,

    Thank you very much. :-)

    I reproduced the error and saved it to the XML file. Please see the attached.

    <SDLErrorDetails time="2021/12/8 3:22:04">
      <ErrorMessage>搜索翻译记忆库时出错。TM 可能包含无效翻译单元。</ErrorMessage>
      <Exception>
        <Type>Sdl.LanguagePlatform.Core.LanguagePlatformException, Sdl.LanguagePlatform.Core, Version=1.6.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888</Type>
        <HelpLink />
        <Source>Sdl.LanguagePlatform.TranslationMemoryApi</Source>
        <HResult>-2146233088</HResult>
        <StackTrace><![CDATA[   在 Sdl.LanguagePlatform.TranslationMemoryApi.FileBasedTranslationMemoryLanguageDirection.GetTranslationUnits(RegularIterator& iterator)
       在 Sdl.TranslationStudio.TranslationMemoryManager.RegularTmSearcher.RegularSearchJobRequest.Execute(IJobExecutionContext context)
       在 Sdl.Desktop.Platform.Implementation.Services.Job.<_worker_DoWork>b__47_0()
       在 Sdl.Desktop.Logger.Log.Resources(Object message, Action action)
       在 Sdl.Desktop.Platform.Implementation.Services.Job._worker_DoWork(Object sender, DoWorkEventArgs e)
       在 System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
       在 System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>SDL Trados Studio</ProductName>
        <ProductVersion>Studio16</ProductVersion>
        <EntryAssemblyFileVersion>16.0.0.2838</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 专业版</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>2052</OperatingSystemLanguage>
        <CodePage>936</CodePage>
        <LoggedOnUser>DESKTOP-U2TEN0U\Administrator</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>DESKTOP-U2TEN0U</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>8246688 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>
     

    And for the update, the only TM file that cannot be updated is the one checked for update. The error occurs at reindexing. Attached below is the log file.

    -------------------------------
    更新翻译记忆库已开始。 (2021/12/8 3:23:13)
    -------------------------------
    
    工作文件夹: D:\Users\Administrator\Documents\Studio 2019\Translation Memories\医学类
    
    
    ---------------------------
    备份翻译记忆库 (2021/12/8 3:23:13)
    ---------------------------
    
    备份位置: D:\Users\Administrator\Documents\Studio 2019\Translation Memories\医学类\雅信诚-2.sdltm.000.bak
    
    进程已完成 (2021/12/8 3:23:16)
    
    
    ---------------------------
    升级翻译记忆库 (2021/12/8 3:23:16)
    ---------------------------
    
    翻译记忆库: D:\Users\Administrator\Documents\Studio 2019\Translation Memories\医学类\雅信诚-2.sdltm
    
    进程已完成 (2021/12/8 3:23:16)
    
    
    --------------------------------
    为翻译记忆库重新编制索引 (2021/12/8 3:23:16)
    --------------------------------
    
    翻译记忆库: D:\Users\Administrator\Documents\Studio 2019\Translation Memories\医学类\雅信诚-2.sdltm
    翻译单元 : 38877
    
    进程失败 (2021/12/8 3:23:16)
    Sdl.LanguagePlatform.Core.LanguagePlatformException: 翻译记忆库数据文件已损坏。
       在 Sdl.LanguagePlatform.TranslationMemoryApi.FileBasedTranslationMemoryLanguageDirection.ReindexTranslationUnits(RegularIterator& iterator)
       在 Sdl.TranslationStudio.Common.TranslationMemory.TranslationMemoryAutomation.Jobs.ReIndexTranslationMemoryJobRequest.Execute(IJobExecutionContext context)
    
    -------------------------------
    更新翻译记忆库已完成。 (2021/12/8 3:23:16)
    -------------------------------
    
    
    
    

    In addition, I re-computed the fuzzy index statics and a message showed it was successful, but don't know what to do next.

    Thank you.

    emoji
Children