Studio 2022 SR1: markdown (*.md) files causing problems

Hi all,

I had created a project in Studio 2022 CU6(?) some time ago for the translation of a number of *.md files. Everything was fine there.

I then upgraded to SR1 and had an unpleasant surprise: When opening the files, I got the following error (twice):

Information dialog box in Trados Studio showing an error message about a missing file or assembly 'System.IO.Abstractions, Version=4.0.0.0' with HRESULT exception code 0x80131040.

Trying to save target files failed with the following stacktrace:

<SDLErrorDetails time="01.08.2023 18:43:10">
  <ErrorMessage>Zieltext konnte nicht gespeichert werden: Die Datei oder Assembly "System.IO.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=96bf224d23c43e59" oder eine Abhängigkeit davon wurde nicht gefunden. Die gefundene Manifestdefinition der Assembly stimmt nicht mit dem Assemblyverweis überein. (Ausnahme von HRESULT: 0x80131040)</ErrorMessage>
  <Exception>
    <Type>System.IO.FileLoadException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <FileName>System.IO.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=96bf224d23c43e59</FileName>
    <FusionLog>WRN: Protokollierung der Assemblybindung ist AUS.
Sie können die Protokollierung der Assemblybindungsfehler aktivieren, indem Sie den Registrierungswert [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) auf 1 festlegen.
Hinweis: Die Protokollierung der Assemblybindungsfehler führt zu einer gewissen Leistungseinbuße.
Sie können dieses Feature deaktivieren, indem Sie den Registrierungswert [HKLM\Software\Microsoft\Fusion!EnableLog] entfernen.
</FusionLog>
    <HelpLink />
    <Source>Sdl.FileTypeSupport.Filters.Markdown</Source>
    <HResult>-2146234304</HResult>
    <StackTrace><![CDATA[   bei Sdl.FileTypeSupport.Filters.Markdown.Bootstrap.RegistrationModules.MainRegistrationModule.Load(ContainerBuilder builder)
   bei Autofac.Module.Configure(IComponentRegistry componentRegistry)
   bei Autofac.ContainerBuilder.Build(IComponentRegistry componentRegistry, Boolean excludeDefaultModules)
   bei Autofac.ContainerBuilder.Build(ContainerBuildOptions options)
   bei Sdl.FileTypeSupport.Filters.Markdown.Bootstrap.BootRegistry.Configure()
   bei Sdl.FileTypeSupport.Filters.Markdown.MarkdownComponentBuilder.CreateFileGenerator(String name, Boolean isPreview)
   bei Sdl.FileTypeSupport.Filters.Markdown.MarkdownComponentBuilder.BuildFileGenerator(String name)
   bei Sdl.FileTypeSupport.Framework.Integration.FilterDefinition.BuildNativeGenerator()
   bei Sdl.TranslationStudio.Editor.TranslationEditor.SaveMonolingualAsJobRequest.OnNativeGeneratorProvider(Dictionary`2 genInfo, IPersistentFileConversionProperties fileProps, IFileTypeManager manager)
   bei Sdl.TranslationStudio.Editor.TranslationEditor.SaveMonolingualAsJobRequest.<>c__DisplayClass7_0.<Execute>b__0(IPersistentFileConversionProperties fileProps)
   bei Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.NextGenerator(IFileProperties fileInfo)
   bei Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.SetFileProperties(IFileProperties fileInfo)
   bei Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.SetFileProperties(IFileProperties fileInfo)
   bei Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.SetFileProperties(IFileProperties fileInfo)
   bei Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReaderImpl.vv_Visit(TmfcReaderImpl* , FrameworkFileContainerField* field)
   bei FrameworkFileContainerField.vv_AcceptFrameworkVisitor(FrameworkFileContainerField* , FrameworkFieldVisitor* visitor)
   bei Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReaderImpl.vv_VisitStartEndField(TmfcReaderImpl* , StartEndField* startEnd)
   bei Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReaderImpl.b_VisitNext(TmfcReaderImpl* )
   bei Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReader.ParseNext()
   bei Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ParseNext()
   bei Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.ParseNext()
   bei Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.Parse()
   bei Sdl.TranslationStudio.Editor.TranslationEditor.SaveMonolingualAsJobRequest.Execute(IJobExecutionContext context)
   bei Sdl.Desktop.Platform.Implementation.Services.JobExecuter.Execute(JobData jobData)
   bei Sdl.Desktop.Platform.Implementation.ResourceLoggingInternalCommandExecuter`1.ExecuteWithResourceLogging(TCommandData commandData, String message)
   bei Sdl.Desktop.Platform.Implementation.Services.Job._worker_DoWork(Object sender, DoWorkEventArgs e)
   bei System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   bei System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)]]></StackTrace>
  </Exception>
  <Environment>
    <ProductName>Trados Studio</ProductName>
    <ProductVersion>Studio17</ProductVersion>
    <EntryAssemblyFileVersion>17.1.6.16252</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1031</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>Annette-PC\Annette</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>ANNETTE-PC</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>33468372 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>

I then thought it might be a good idea to recreate the project in SR1, but when adding the md files, Studio crashed altogether with the following error:

<SDLErrorDetails time="01.08.2023 19:01:14">
  <ErrorMessage>Die Datei oder Assembly "System.IO.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=96bf224d23c43e59" oder eine Abhängigkeit davon wurde nicht gefunden. Die gefundene Manifestdefinition der Assembly stimmt nicht mit dem Assemblyverweis überein. (Ausnahme von HRESULT: 0x80131040)</ErrorMessage>
  <Exception>
    <Type>System.IO.FileLoadException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <FileName>System.IO.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=96bf224d23c43e59</FileName>
    <FusionLog>WRN: Protokollierung der Assemblybindung ist AUS.
Sie können die Protokollierung der Assemblybindungsfehler aktivieren, indem Sie den Registrierungswert [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) auf 1 festlegen.
Hinweis: Die Protokollierung der Assemblybindungsfehler führt zu einer gewissen Leistungseinbuße.
Sie können dieses Feature deaktivieren, indem Sie den Registrierungswert [HKLM\Software\Microsoft\Fusion!EnableLog] entfernen.
</FusionLog>
    <HelpLink />
    <Source>Sdl.FileTypeSupport.Filters.Markdown</Source>
    <HResult>-2146234304</HResult>
    <StackTrace><![CDATA[   bei Sdl.FileTypeSupport.Filters.Markdown.Bootstrap.RegistrationModules.MainRegistrationModule.Load(ContainerBuilder builder)
   bei Autofac.Module.Configure(IComponentRegistry componentRegistry)
   bei Autofac.ContainerBuilder.Build(IComponentRegistry componentRegistry, Boolean excludeDefaultModules)
   bei Autofac.ContainerBuilder.Build(ContainerBuildOptions options)
   bei Sdl.FileTypeSupport.Filters.Markdown.Bootstrap.BootRegistry.Configure()
   bei Sdl.FileTypeSupport.Filters.Markdown.MarkdownComponentBuilder.BuildFileSniffer(String name)
   bei Sdl.FileTypeSupport.Framework.Integration.FilterDefinition.SniffFile(String nativeFilePath, Language language, Codepage suggestedCodepage, INativeTextLocationMessageReporter messageReporter, ISettingsBundle settingsBundle)
   bei Sdl.FileTypeSupport.Framework.Integration.FilterManager.GetBestMatchingFileTypeDefinition(String nativeFilePath, Language suggestedSourceLanguage, Codepage suggestedCodepage, EventHandler`1 messageHandler)
   bei Sdl.FileTypeSupport.Framework.Integration.FilterManager.GetBestMatchingFileTypeDefinition(String nativeFilePath, EventHandler`1 messageHandler)
   bei Sdl.TranslationStudio.ProjectManagement.ProjectWizard.OneStep.Controllers.ProjectFileDataController.IdentifyTargetLanguages(IEnumerable`1 filePaths)
   bei Sdl.TranslationStudio.ProjectManagement.ProjectWizard.OneStep.Controllers.ProjectFileDataController.UpdateProjectData(IEnumerable`1 files)
   bei Sdl.TranslationStudio.ProjectManagement.ProjectWizard.OneStep.Controllers.ProjectFileDataController.AddFiles(Folder parentFolder, List`1 paths)
   bei Sdl.TranslationStudio.ProjectManagement.ProjectWizard.OneStep.Controllers.ProjectFileDataController.Sdl.Platform.UI.Interfaces.IFileManager.AddFiles(List`1 paths)
   bei Sdl.TranslationStudio.Common.AddFilesControl.Commands.AddFilesCommand.AddFilesOption()
   bei Sdl.TranslationStudio.Common.AddFilesControl.Commands.AddFilesCommand.Execute(Object parameter)
   bei MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   bei System.Windows.Controls.Primitives.ButtonBase.OnClick()
   bei System.Windows.Controls.Button.OnClick()
   bei System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   bei System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   bei System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   bei System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   bei System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   bei System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   bei System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   bei System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   bei System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   bei System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   bei System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   bei System.Windows.Input.InputManager.ProcessStagingArea()
   bei System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   bei System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   bei System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   bei System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   bei System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   bei System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   bei Sdl.TranslationStudio.Application.Launcher.RunApplication()]]></StackTrace>
  </Exception>
  <Environment>
    <ProductName>Trados Studio</ProductName>
    <ProductVersion>Studio17</ProductVersion>
    <EntryAssemblyFileVersion>17.1.6.16252</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1031</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>Annette-PC\Annette</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>ANNETTE-PC</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>33468372 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>

Is this a known error? Should I revert to the last version before SR1? If so, please post a link to the download files (both Studio and MultiTerm).

Kindly advise. Thanks in advance!

Best regards

Annette (from Manfred's account)



Generated Image Alt-Text
[edited by: Trados AI at 11:49 AM (GMT 0) on 29 Feb 2024]
emoji
Parents Reply Children