The system cannot find message text for message number 0x%1 in the message file for %2

I got a number of error message while working in the latest Trads Studio 2022 revision and those errors, while not crashing my work, are puzzling me as I was not trying to save any bilingual.

Note than the second message related to the bilingual file popped up over the first one a minute later while I was looking for documentationError dialog box in Trados Studio 2022 stating 'Failed to save bilingual as: The system cannot find message text for message number 0x%1 in the message file for %2.' with Knowledge Base and Community buttons.



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

    I haven't come across this one before.  Can you save the full error stack and share it?  Click on the small disk and then attach it to the thread:

    Error dialog box in Trados Studio with message: Failed to save bilingual as: The system cannot find message text for message number 0x%1 in the message file for %2.

    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: Trados AI at 9:12 AM (GMT 0) on 29 Feb 2024]
  • Just popped up again and I got the error message

    Paul

    <SDLErrorDetails time="01/11/2022 13:55:38">
      <ErrorMessage>Failed to save bilingual as : The system cannot find message text for message number 0x%1 in the message file for %2.
    </ErrorMessage>
      <Exception>
        <Type>System.IO.IOException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <HelpLink />
        <Source>mscorlib</Source>
        <HResult>-2147024579</HResult>
        <StackTrace><![CDATA[   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.__Error.WinIOError()
       at System.IO.File.InternalMove(String sourceFileName, String destFileName, Boolean checkHost)
       at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileWriter.Complete()
       at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.Complete()
       at Sdl.FileTypeSupport.Framework.Core.Utilities.BilingualApi.BilingualContentHandlerAdapter.Complete()
       at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.Complete()
       at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.ParseNext()
       at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.Parse()
       at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.SaveBilingualImpl(String[] bilingualFilePaths, Boolean copy, IJobExecutionContext context, Boolean isAutoSaved)
       at Sdl.TranslationStudio.Editor.TranslationEditor.SaveBilingualAsJobRequest.Execute(IJobExecutionContext context)
       at Sdl.Desktop.Platform.Implementation.Services.JobExecuter.Execute(JobData jobData)
       at Sdl.Desktop.Platform.Implementation.ResourceLoggingInternalCommandExecuter`1.ExecuteWithResourceLogging(TCommandData commandData, String message)
       at Sdl.Desktop.Platform.Implementation.Services.Job._worker_DoWork(Object sender, DoWorkEventArgs e)
       at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
       at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>Trados Studio</ProductName>
        <ProductVersion>Studio17</ProductVersion>
        <EntryAssemblyFileVersion>17.0.4.13209</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 11 Pro</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1033</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>LAPT4\paulp</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>LAPT4</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>16615612 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

    emoji
  • Still bugging me quite often, hopefully without preventing to keep working most of the time.

    <SDLErrorDetails time="04/11/2022 17:01:45">
      <ErrorMessage>Failed to save bilingual as : The system cannot find message text for message number 0x%1 in the message file for %2.
    </ErrorMessage>
      <Exception>
        <Type>System.IO.IOException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <HelpLink />
        <Source>mscorlib</Source>
        <HResult>-2147024579</HResult>
        <StackTrace><![CDATA[   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.__Error.WinIOError()
       at System.IO.File.InternalMove(String sourceFileName, String destFileName, Boolean checkHost)
       at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileWriter.Complete()
       at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.Complete()
       at Sdl.FileTypeSupport.Framework.Core.Utilities.BilingualApi.BilingualContentHandlerAdapter.Complete()
       at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.Complete()
       at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.ParseNext()
       at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.Parse()
       at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.SaveBilingualImpl(String[] bilingualFilePaths, Boolean copy, IJobExecutionContext context, Boolean isAutoSaved)
       at Sdl.TranslationStudio.Editor.TranslationEditor.SaveBilingualAsJobRequest.Execute(IJobExecutionContext context)
       at Sdl.Desktop.Platform.Implementation.Services.JobExecuter.Execute(JobData jobData)
       at Sdl.Desktop.Platform.Implementation.ResourceLoggingInternalCommandExecuter`1.ExecuteWithResourceLogging(TCommandData commandData, String message)
       at Sdl.Desktop.Platform.Implementation.Services.Job._worker_DoWork(Object sender, DoWorkEventArgs e)
       at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
       at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>Trados Studio</ProductName>
        <ProductVersion>Studio17</ProductVersion>
        <EntryAssemblyFileVersion>17.0.4.13209</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 11 Pro</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1033</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>LAPT4\paulp</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>LAPT4</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>16615612 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

    emoji
  • It is getting worse

    I could not update my TM

    <SDLErrorDetails time="06/11/2022 13:28:16">
      <ErrorMessage>The system cannot find message text for message number 0x%1 in the message file for %2.
    </ErrorMessage>
      <Exception>
        <Type>System.IO.IOException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <HelpLink />
        <Source>mscorlib</Source>
        <HResult>-2147024579</HResult>
        <StackTrace><![CDATA[   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
       at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
       at Sdl.ProjectApi.Implementation.Util.CopyFile(String sourceFilePath, String targetFilePath)
       at Sdl.ProjectApi.Implementation.LanguageFile.DownloadFileVersion(FileVersion xmlFileVersion, String downloadRootFolder)
       at Sdl.ProjectApi.Implementation.FileRevision.Download(String downloadRootFolder)
       at Sdl.ProjectApi.Implementation.TaskExecution.ContentProcessingTaskImplementation.TaskFileExecuter.Initialize(String targetFilePath)
       at Sdl.ProjectApi.Implementation.TaskExecution.ContentProcessingTaskImplementation.TaskFileExecuter.Execute()
       at Sdl.ProjectApi.Implementation.TaskExecution.ContentProcessingTaskImplementation.RunFileExecuter(Object state)
       at Sdl.ProjectApi.Implementation.TaskExecution.ContentProcessingTaskImplementation.RunFileExecuter(TaskFileExecuter currentFileExecuter, Boolean allowMultiThreading)
       at Sdl.ProjectApi.Implementation.TaskExecution.ContentProcessingTaskImplementation.RunTaskFileExecutors()
       at Sdl.ProjectApi.Implementation.TaskExecution.ContentProcessingTaskImplementation.Execute()
       at Sdl.ProjectApi.Implementation.AutomaticTaskExecuter.Execute()]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>Trados Studio</ProductName>
        <ProductVersion>Studio17</ProductVersion>
        <EntryAssemblyFileVersion>17.0.4.13209</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 11 Pro</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1033</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>LAPT4\paulp</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>LAPT4</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>16615612 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

    emoji
  • Thanks  

    Can you provide any details on how you're working?  So what's the workflow... does it involve working with files from others... are you using comments... is there anything about how you are managing or manipulating the files that might be different from a simple project process following textbook instruction... where are your files saved... etc?

    Nothing wrong with doing anything different so I'm not looking to find a way out... rather just understand if anything you are doing might be the trigger for an error like this so we can investigate it.  Being able to reproduce problems is important to be able to fix them.

    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
Reply
  • Thanks  

    Can you provide any details on how you're working?  So what's the workflow... does it involve working with files from others... are you using comments... is there anything about how you are managing or manipulating the files that might be different from a simple project process following textbook instruction... where are your files saved... etc?

    Nothing wrong with doing anything different so I'm not looking to find a way out... rather just understand if anything you are doing might be the trigger for an error like this so we can investigate it.  Being able to reproduce problems is important to be able to fix them.

    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
Children