You are currently working on UAT 

Alignment problem Word files heavily formatted: "Nested segments - unexpected"

Hi all,

I'm using Studio 2017 and when I tried to align two heavily formatted Word files (they don't feature pictures, but there are many sentences with bold, italic, color, etc.) this error showed up: "Nested segments - unexpected" 

I couldn't find any specific answer or workaround on the forum. Any help would be appreciated,

Thanks,

A.D.

Parents Reply Children
  • Hi Oana, 

    thank you for your reply. I followed your instructions and here attached you should find the error stack. 

    Thanks again.

     

    <SDLErrorDetails time="03/04/2019 11:42:07">
      <ErrorMessage>Nested segments - unexpected</ErrorMessage>
      <Exception>
        <Type>System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <HelpLink />
        <Source>Sdl.Core.Processing.Alignment</Source>
        <HResult>-2146233079</HResult>
        <StackTrace><![CDATA[   in Sdl.Core.Processing.Alignment.Core.LanguagePlatformSegmentGenerator.VisitSegment(ISegment segment)
       in Sdl.FileTypeSupport.Framework.Bilingual.Segment.AcceptVisitor(IMarkupDataVisitor visitor)
       in Sdl.Core.Processing.Alignment.Core.LanguagePlatformSegmentGenerator.VisitChildNodes(IAbstractMarkupDataContainer container)
       in Sdl.Core.Processing.Alignment.Core.LanguagePlatformSegmentGenerator.VisitTagPair(ITagPair tagPair)
       in Sdl.FileTypeSupport.Framework.Bilingual.TagPair.AcceptVisitor(IMarkupDataVisitor visitor)
       in Sdl.Core.Processing.Alignment.Core.LanguagePlatformSegmentGenerator.VisitChildNodes(IAbstractMarkupDataContainer container)
       in Sdl.Core.Processing.Alignment.Core.LanguagePlatformSegmentGenerator.Convert(ISegment bcmSegment, CultureInfo culture)
       in Sdl.Core.Processing.Alignment.Aligner.GetSegmentsAsAlignmentElements(IEnumerable`1 segments, IEnumerable`1 segmentsToPick, IEnumerable`1 segmentsToIgnore, CultureInfo culture, Int32& segmentCounter, Boolean isRetrofit)
       in Sdl.Core.Processing.Alignment.Aligner.GetSegments(IParagraph paragraph, IEnumerable`1 segmentsToPick, IEnumerable`1 segmentsToIgnore, CultureInfo culture, Int32& segmentCounter, Boolean isRetrofit)
       in Sdl.Core.Processing.Alignment.GapAligner.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       in Sdl.Core.Processing.Alignment.AbstractAlignmentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       in Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       in Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       in Sdl.FileTypeSupport.Framework.Integration.LocationMarkerLocator.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       in Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       in Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       in Sdl.Core.Processing.Alignment.MergeParagraphParser.MergeDocuments()
       in Sdl.Core.Processing.Alignment.MergeParagraphParser.ParseNext()
       in Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ParseNext()
       in Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.ParseNext()
       in Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.Parse()
       in Sdl.Core.Processing.Alignment.Api.AlignmentService.Align(String leftNativeFilePath, String rightNativeFilePath, String outputFilePath, AlignmentFileFormat outputFileFormat, AlignmentSettings alignmentSettings, List`1 bilingualProcessors, EventHandler`1 progressHandler, EventHandler`1 messageReporter)
       in Sdl.TranslationStudio.AlignmentEditor.Jobs.AlignDocumentsJobRequest.ExecuteJob(IJobExecutionContext context)
       in Sdl.TranslationStudio.AlignmentEditor.Jobs.AlignmentJobRequest.Execute(IJobExecutionContext context)]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>SDL Trados Studio</ProductName>
        <ProductVersion>15.0.0.0</ProductVersion>
        <EntryAssemblyFileVersion>15.0.0.29074</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1040</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>ATNET\andrea</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>DESKTOP-O8KH1HT</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>8230196 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

  • Hello ,

    Have you been able to resolve the issue?
    If not- would you be able to share the files with me (swhale@sdl.com)

    Oana Nagy | QA Engineer | RWS Group