error al guardar el contenido de destino. Ya se agregó un elemento con la misma clave

Utilizo Trados Studio 2021 Professional.

He mirado los pluggins y no tengo ninguno por duplicado de los personalizados. En los pluggins del sistema sí que sale alguno duplicado, pero estos no los puedo eliminar.

Los filtros del sistema que salen repetidos son:

. Filtro de Xliff de SDL

. Sdl.FileTyoeSupport.Filters.Email

. Filtro JSON

. Sdl:fileTypeSupport.Filters.Subtitles

Me podrías indicar qué tengo que hacer para solucionar el problema.

Gracias

emoji
Parents Reply Children
  •  

    Please can you save the error stack trace and upload the xml, so we can get the full error detail

    Thank you

     

    Oana Nagy | Developer Experience | QA Engineer | RWS Group

    emoji
  • Hi Lydia,

    Find attched the error stack trace.

    <SDLErrorDetails time="10/01/2024 10:38:42">
      <ErrorMessage>Error al guardar el contenido de destino: Ya se agregó un elemento con la misma clave.</ErrorMessage>
      <Exception>
        <Type>System.ArgumentException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <ParamName />
        <HelpLink />
        <Source>mscorlib</Source>
        <HResult>-2147024809</HResult>
        <StackTrace><![CDATA[   en System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
       en System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
       en Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Context.IllustrationWriterContext.FilterParagaraphsByFileAndPosition(IParagraphUnit paragraphUnit)
       en Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Context.IllustrationWriterContext.AddParagraphUnit(IParagraphUnit paragraphUnit)
       en Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Routes.Writer.RegisterParagraphInIllustrationContextRoute.Handle(IParagraphUnit paragraphUnit)
       en Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Routes.Writer.ProcessParagraphRoute.Handle(FileParagraphUnitFound paragraphUnitFound)
       en Sdl.FileTypeSupport.Filters.MicrosoftOffice.Core.Infrastructure.Dispatcher.Publish[T](T message)
       en Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Writer.DocxWriter.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       en Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       en Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Processors.Emoji.WordEmojiWriterProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       en Sdl.FileTypeSupport.Filters.MicrosoftOffice.Word.Processors.HandleActionByTagTypeProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       en Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       en Sdl.FileTypeSupport.Filters.Processors.EmbeddedContent.RegexEmbeddedBilingualGenerator.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       en Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       en Sdl.FileTypeSupport.Filters.Processors.CopySourceToEmptyTargetProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       en Sdl.FileTypeSupport.Framework.Bilingual.WhitespaceBetweenSegmentsBilingualProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       en Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       en Sdl.FileTypeSupport.Framework.Integration.GenerationBilingualContentLocator.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       en Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       en Sdl.FileTypeSupport.Framework.Integration.FileGenerator.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       en Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       en Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       en Sdl.FileTypeSupport.Framework.Integration.LocationMarkerLocator.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       en Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       en Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       en Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReaderImpl.vv_Visit(TmfcReaderImpl* , FrameworkParagraphContainerField* field)
       en FrameworkParagraphContainerField.vv_AcceptFrameworkVisitor(FrameworkParagraphContainerField* , FrameworkFieldVisitor* visitor)
       en Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReaderImpl.vv_VisitStartEndField(TmfcReaderImpl* , StartEndField* startEnd)
       en Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReaderImpl.b_VisitNext(TmfcReaderImpl* )
       en Sdl.FileTypeSupport.Bilingual.Tmfc.TmfcReader.ParseNext()
       en Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ParseNext()
       en Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.ParseNext()
       en Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.Parse()
       en Sdl.TranslationStudio.Editor.TranslationEditor.SaveMonolingualAsJobRequest.Execute(IJobExecutionContext context)
       en Sdl.Desktop.Platform.Implementation.Services.JobExecuter.Execute(JobData jobData)
       en Sdl.Desktop.Platform.Implementation.ResourceLoggingInternalCommandExecuter`1.ExecuteWithResourceLogging(TCommandData commandData, String message)
       en Sdl.Desktop.Platform.Implementation.Services.Job._worker_DoWork(Object sender, DoWorkEventArgs e)
       en System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
       en System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>Trados Studio</ProductName>
        <ProductVersion>Studio16</ProductVersion>
        <EntryAssemblyFileVersion>16.2.12.9338</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>3082</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>DESKTOP-15P156P\Rossana</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>DESKTOP-15P156P</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>12487812 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

    Regards

    emoji
  • Hi! I am having the same problem since I updated the Trados Studio 2022 version to the latest SP.

    emoji
  • Nothing in that error stack trace jumps out to me.

    You do say it works for some file and not for others.
    This would imply its file specific / project specific.

      _

    Did you create your own projects/SDLXLIFF files - or are they given to you?

    If you have the source file, perhaps see if the file itself is error prone: gateway.sdl.com/.../communityknowledge

     

    Oana Nagy | Developer Experience | QA Engineer | RWS Group

    emoji