Problem with pre-translate - "The translation memory data file is corrupt"

Hi all!

I've recently upgraded to Trados 2024 after using Trados 2017 for many years. Version: Trados Studio 2024 - 18.0.1.2259

I've had it for two or three months now but I'm having real problems getting the pre-translate function to work. I've just not been doing pre-translate as a result but now I'm working on a big job and it would be really useful to know exactly how much of it I have done in part or in full. 

When I do a pre-translate, I keep getting the error message "the translation memory data file is corrupt". However, other than not working for pre-translation, the translation memory seems to be working fine.

Can anybody give me any advice?

Tapadh leibh/many thanks,

Alasdair

emoji
Parents
  •   

    I'd say the first thing is to make sure that the TM is not on a OneDrive path, or some external drive or other cloud drive.  I'd check that first.  For example, this is not ok:
    c:\Users\[USERNAME]\OneDrive\Documents\
    This is ok:
    c:\Users\[USERNAME]\Documents\
    If it's not then perhaps try repairing it: https://appstore.rws.com/Plugin/41

    Paul Filkin | 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
  • Hi again Paul.

    OK - this is getting weird! I followed your advice and it worked - many thanks!

    BUT - then I noticed that there is said in the project settings view that the TM needed upgraded and may need reindexed or something like that. I thought it would be worthwhile doing that - but it didn't work. (Even before I had the current problem with pre-translation, when I was using Trados 2017, often matches didn't show up when I did pre-translation so I thought this might solve this problem).

    As this didn't work, I tried repairing it with the Plugin you recommended. I downloaded it and thought it was installed but it didn't appear in the add-ons section of Trados.

    Assuming that it the plugin would appear if I restarted the computer, I closed and restarted the computer.

    When it reopened it, Trados wouldn't open! It starts loading and goes as far as the creating application window screen and then closes. AArgh! Do you have any advice? Ta!

    Alasdair

    emoji
  •  

    I tested the app first to make sure it works... and it seems to for me anyway:

    Screenshot of Trados Studio interface showing the SDLTM Repair plugin under the Add-Ins tab with a project list on the left.

    I know that doesn't help you, but it at least gives me some confidence it should!
    So, first thing I'd note is how you installed it?  We'll remove it first, but then make sure you only install it from the integrated appstore inside Trados Studio and that will make sure you don't install the wrong one and also that it gets put into the right place.
    But first please delete these files/folders (if they exist):
    c:\Users\[USERNAME]\AppData\Roaming\Trados\Trados Studio\18\Plugins\Packages\SDLTM Repair.sdlplugin
    c:\Users\[USERNAME]\AppData\Roaming\Trados\Trados Studio\18\Plugins\Unpacked\SDLTM Repair\
    c:\Users\[USERNAME]\AppData\Local\Trados\Trados Studio\18\Plugins\Packages\SDLTM Repair.sdlplugin
    c:\Users\[USERNAME]\AppData\Local\Trados\Trados Studio\18\Plugins\Unpacked\SDLTM Repair\
    c:\ProgramData\Trados\Trados Studio\18\Plugins\Packages\SDLTM Repair.sdlplugin
    c:\ProgramData\Trados\Trados Studio\18\Plugins\Unpacked\SDLTM Repair\
    You probably only use one of these locations, but belt and braces since I don't know how you installed this or what you selected!
    Once deleted, restart Studio and then install through here:
    Screenshot of Trados Studio's RWS AppStore with the SDLTM Repair plugin selected, showing details and an Install button.
    Once you click on the small download symbol (2) or even the big download button at the bottom of the app description on the right, you will see this message:
    Notification in Trados Studio indicating 'Download complete. Restart Trados Studio to finish installing the plug-ins.' with SDLTM Repair listed.
    Click the message, Trados Studio will restart, and all being well the app will be there under Add-Ins as I showed in my screenshot at the top of this message.
     

    Paul Filkin | 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: RWS Community AI at 9:58 AM (GMT 0) on 3 Mar 2025]
  • Thanks Paul! MY HERO! 

    I removed the SDLTM repair file as advised and Trados will now load up again. 

    I've also managed to get SDLTM repair installed. 

    However, when I put the TM in to the SDLTM repair, I get this error message: 

    Error dialog box from Trados Studio with message: Could not find file 'C:log_57c1f177-878c-4214-8b71-969d7dd02425.txt'.
     

    Alasdair

    emoji


    Generated Image Alt-Text
    [edited by: RWS Community AI at 12:56 PM (GMT 0) on 3 Mar 2025]
  •  

    ok - I don't know what that is... I also tested a couple of TMs, including one large corrupted one, and they all work ok for me.  So, we need to look a bit deeper and the best place to start is with the proper error message that is behind that headline:

    Error dialog box from Trados Studio with a red 'X' icon, displaying the message 'Could not find file C:log_5fc171ff-878c-4214-8b71-969d7d042425.txt.', with an 'OK' button and an arrow pointing to a disk symbol.

    Can you force the error again by trying to do what you did before, and then click on the small disk symbol.  This will allow you to save the error stack, as an XML file, somewhere on your computer.  So save it to your desktop top, and then attach it to your reply to this post by using the Insert -> image/video/file menu directly underneath where you are typing your reply.

    Paul Filkin | 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: RWS Community AI at 3:03 PM (GMT 0) on 3 Mar 2025]
  • Thanks so much! I did the same thing again and got the same error message. 

    <SDLErrorDetails time="03/03/2025 15:51:52">
      <ErrorMessage>Could not find file 'C:\log_26b5da6b-009d-4cad-b662-4c7dbbf6730c.txt'.</ErrorMessage>
      <Exception>
        <Type>System.IO.FileNotFoundException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <FileName>C:\log_26b5da6b-009d-4cad-b662-4c7dbbf6730c.txt</FileName>
        <FusionLog />
        <HelpLink />
        <Source>mscorlib</Source>
        <HResult>-2147024894</HResult>
        <StackTrace><![CDATA[   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
       at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
       at System.IO.StreamReader..ctor(String path)
       at Sdl.Community.TMRepair.SDLTMRepair.btnRepair_Click(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>Trados Studio</ProductName>
        <ProductVersion>Studio18</ProductVersion>
        <EntryAssemblyFileVersion>18.0.2.3255</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 11 Home</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>2057</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>LAPTOPALASDAIR\Gaeli</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>LAPTOPALASDAIR</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>16551224 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

    emoji
Reply
  • Thanks so much! I did the same thing again and got the same error message. 

    <SDLErrorDetails time="03/03/2025 15:51:52">
      <ErrorMessage>Could not find file 'C:\log_26b5da6b-009d-4cad-b662-4c7dbbf6730c.txt'.</ErrorMessage>
      <Exception>
        <Type>System.IO.FileNotFoundException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <FileName>C:\log_26b5da6b-009d-4cad-b662-4c7dbbf6730c.txt</FileName>
        <FusionLog />
        <HelpLink />
        <Source>mscorlib</Source>
        <HResult>-2147024894</HResult>
        <StackTrace><![CDATA[   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
       at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
       at System.IO.StreamReader..ctor(String path)
       at Sdl.Community.TMRepair.SDLTMRepair.btnRepair_Click(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>Trados Studio</ProductName>
        <ProductVersion>Studio18</ProductVersion>
        <EntryAssemblyFileVersion>18.0.2.3255</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 11 Home</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>2057</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>LAPTOPALASDAIR\Gaeli</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>LAPTOPALASDAIR</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>16551224 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

    emoji
Children