Problem with exporting IDML files

Hello,

I have a problem with exporting IDML files (InDesign) from Trados Studio 2015 SR2 and would highly appreciate any help.

The client sent 15 IDML files to be translated. The files can be normally opened and translated in Studio, but only the first 5 files can be exported. For the other 10, the following error is shown: "Operation is not valid due to the current state of the object". This error is shown after performing Batch Tasks/Export files. It is shown 20 times, 2 times for each unexported file.

The same error occurs when clicking File/Save As in the Editor view. The TM can be exported normally.

I have checked the files with Verify (F8) and removed all errors, but this problem remains. Unfortunatelly, I don't have access to InDesign to check the source files, but in the Editor view, they seem normal.

The same error occured on a different computer (Trados Studio 2014).

 

I checked many resources to find a solution, but without success so far. I would highly appreciate any help with this problem.

Thank you.

 

Sebastjan

Parents
  • Hi Sebstjan,

    This sounds like a bug in Trados Studio.
    If you scroll to the right, there should be a way to save the error details.
    Can you post those details? It might give a clue to the problem.

    Also, make sure you have the latest version. There have been many bug fixes for IDML files.

    https://gateway.sdl.com/apex/communityknowledge?articleName=Cumulative-Updates-for-SDL-Trados-Studio-2015-Service-Release-2-SR2

  • Dear Jesse,

    thank you for your reply.

    I have updated Studio 2015 to the latest version (SR2 12.2.5195.7).

    Please find the error details below.

    Sebastjan

     

    <?xml version="1.0"?>
    <SDLErrorDetails time="12/28/2016 1:20:06 PM">
      <ErrorMessage>Operation is not valid due to the current state of the
      object.</ErrorMessage>
      <Exception>
        <Type>System.InvalidOperationException, mscorlib, Version=4.0.0.0,
        Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <HelpLink />
        <Source>Sdl.FileTypeSupport.Filters.Idml</Source>
        <HResult>-2146233079</HResult>
        <StackTrace>
          <![CDATA[ at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.BuildTargetStory.ProcessStoryContent(XPathNavigator navigator) 
          at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.XPathProcessor.ForEach(XPathNavigator navigator, String xpath, ParserAction`1 action) 
          at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.BuildTargetStory.StoryContent(XPathNavigator navigator) 
          at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.XPathProcessor.ForEach(XPathNavigator navigator, String xpath, ParserAction`1 action) 
          at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.BuildTargetStory.MainProcessing(XPathNavigator navigator) 
          at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.XPathProcessor.RunParser(String inputFile) 
          at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.TransformationCaller.TransformWithoutXsl(String ruleName, RuleFileType ruleType, CDataProcessor dataProcessor, String inputFile, String outputFile) 
          at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.TransformationCaller.RunParser(IFilterFactory factory, String ruleName, RuleFileType ruleType, String filePath, CDataProcessor dataProcessor) 
          at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.TransformationCaller.TransformString(IFilterFactory factory, String ruleName, RuleFileType ruleType, String xml, CDataProcessor dataProcessor) 
          at Sdl.FileTypeSupport.Filters.Idml.FileFormat.DocumentControllerFramework.CStoryProcessor.ProcessStoryXML() 
          at Sdl.FileTypeSupport.Filters.Idml.FrameworkImpl.Writer.CWriterImpl.ProcessStory(String tagContent) 
          at Sdl.FileTypeSupport.Filters.Idml.FrameworkImpl.Writer.CWriterImpl.StructureTag(IAbstractTagProperties tagInfo) 
          at Sdl.FileTypeSupport.Filters.Idml.FrameworkImpl.Writer.CFileWriter.StructureTag(IStructureTagProperties tagInfo) 
          at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.LineNumberTracker.StructureTag(IStructureTagProperties tagInfo) 
          at Sdl.FileTypeSupport.Framework.Integration.NativeWriterMessagesProxy.StructureTag(IStructureTagProperties tagInfo) 
          at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.Buffer.NativeBuffer.StructureTag(IStructureTagProperties tagInfo) 
          at Sdl.FileTypeSupport.Filters.Processors.FeedbackRemovalProcessor.StructureTag(IStructureTagProperties tagInfo) 
          at Sdl.FileTypeSupport.Framework.NativeApi.AbstractNativeGenerationContentProcessor.StructureTag(IStructureTagProperties tagInfo) 
          at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.Buffer.StructureTagContentItem.Invoke(IAbstractNativeContentHandler output) 
          at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.Buffer.NativeBuffer.Release() at Sdl.FileTypeSupport.Framework.Native.CommentMerger.ParagraphUnitEnd() 
          at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.Buffer.ParagraphUnitEndContentItem.Invoke(IAbstractNativeContentHandler output) 
          at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.Buffer.NativeBuffer.Release() at Sdl.FileTypeSupport.Framework.Native.AdjacentClonedPairedTagsMerger.StopHolding() 
          at Sdl.FileTypeSupport.Framework.Native.AdjacentClonedPairedTagsMerger.Text(ITextProperties textInfo) 
          at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.Buffer.NativeBuffer.Text(ITextProperties textInfo) 
          at Sdl.FileTypeSupport.Framework.Bilingual.BilingualToSourceConverter.VisitText(IText text) 
          at Sdl.FileTypeSupport.Framework.Bilingual.Text.AcceptVisitor(IMarkupDataVisitor visitor) 
          at Sdl.FileTypeSupport.Framework.Bilingual.BilingualToSourceConverter.VisitContainerItems(IEnumerable`1 container) 
          at Sdl.FileTypeSupport.Framework.Bilingual.BilingualToNativeConverter.VisitSegment(ISegment segment) 
          at Sdl.FileTypeSupport.Framework.Bilingual.Segment.AcceptVisitor(IMarkupDataVisitor visitor) 
          at Sdl.FileTypeSupport.Framework.Bilingual.BilingualToSourceConverter.VisitContainerItems(IEnumerable`1 container) 
          at Sdl.FileTypeSupport.Framework.Bilingual.BilingualToSourceConverter.ProcessParagraphUnitContent(IParagraphUnit paragraphUnit) 
          at Sdl.FileTypeSupport.Framework.Bilingual.BilingualToSourceConverter.ProcessParagraphUnit(IParagraphUnit paragraphUnit) 
          at Sdl.FileTypeSupport.Framework.Bilingual.WhitespaceBetweenSegmentsBilingualProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit) 
          at Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit) 
          at Sdl.FileTypeSupport.Framework.Integration.GenerationBilingualContentLocator.ProcessParagraphUnit(IParagraphUnit paragraphUnit) 
          at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.ProcessParagraphUnit(IParagraphUnit paragraphUnit) 
          at Sdl.FileTypeSupport.Framework.Integration.FileGenerator.ProcessParagraphUnit(IParagraphUnit paragraphUnit) 
          at Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit) 
          at Sdl.ProjectApi.AutomaticTasks.CancelProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit) 
          at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.ProcessParagraphUnit(IParagraphUnit paragraphUnit) 
          at Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit) 
          at Sdl.FileTypeSupport.Framework.Integration.LocationMarkerLocator.ProcessParagraphUnit(IParagraphUnit paragraphUnit) 
          at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.ProcessParagraphUnit(IParagraphUnit paragraphUnit) 
          at Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ProcessParagraphUnit(IParagraphUnit paragraphUnit) 
          at Sdl.FileTypeSupport.Framework.Core.Utilities.BilingualApi.ParagraphUnitBuffer.ProcessParagraphUnit(IParagraphUnit pu) 
          at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.OutputParagraphUnit(IParagraphUnit pu) 
          at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ParseLocalizableParagraphUnit(transunit transunit, LockTypeFlags lockFlags) 
          at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ParseTransUnit(transunit transunit) 
          at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ParseGroup(group group) 
          at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.OnGroup(XmlElement groupElement) 
          at Sdl.FileTypeSupport.Bilingual.SdlXliff.SdlXliffFeeder.<ContinueScanning>b__f(ISdlXliffStreamContentHandler handler) 
          at System.Collections.Generic.List`1.ForEach(Action`1 action)       at Sdl.FileTypeSupport.Bilingual.SdlXliff.SdlXliffFeeder.ContinueScanning() 
          at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ContinueParsing() 
          at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ParseNext() 
          at Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ParseNext() 
          at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.ParseNext() 
          at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.Parse() 
          at Sdl.ProjectApi.AutomaticTasks.NativeFileGenerator.GenerateFiles(ContentRestriction restriction, Boolean preview, Int32 filePercentBase, Int32 filePercentFactor) 
          at Sdl.ProjectApi.AutomaticTasks.GenerateTargetTranslation.ExportFilesTask.ProcessFile(IExecutingTaskFile executingTaskFile) 
          at Sdl.ProjectApi.AutomaticTasks.AbstractFileLevelAutomaticTaskImplementation.Execute()]]>
    </StackTrace>
      </Exception>
      <Environment>
        <ProductName>SDL Trados Studio</ProductName>
        <ProductVersion>12.0.0.0</ProductVersion>
        <EntryAssemblyFileVersion>12.2.5195.7</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows Server 2012 Standard</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1033</OperatingSystemLanguage>
        <CodePage>1250</CodePage>
        <LoggedOnUser>AHOST\sebastjanl</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.36366</DotNetFrameWork>
        <ComputerName>RDS1</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>8385568 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>
    

Reply
  • Dear Jesse,

    thank you for your reply.

    I have updated Studio 2015 to the latest version (SR2 12.2.5195.7).

    Please find the error details below.

    Sebastjan

     

    <?xml version="1.0"?>
    <SDLErrorDetails time="12/28/2016 1:20:06 PM">
      <ErrorMessage>Operation is not valid due to the current state of the
      object.</ErrorMessage>
      <Exception>
        <Type>System.InvalidOperationException, mscorlib, Version=4.0.0.0,
        Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <HelpLink />
        <Source>Sdl.FileTypeSupport.Filters.Idml</Source>
        <HResult>-2146233079</HResult>
        <StackTrace>
          <![CDATA[ at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.BuildTargetStory.ProcessStoryContent(XPathNavigator navigator) 
          at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.XPathProcessor.ForEach(XPathNavigator navigator, String xpath, ParserAction`1 action) 
          at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.BuildTargetStory.StoryContent(XPathNavigator navigator) 
          at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.XPathProcessor.ForEach(XPathNavigator navigator, String xpath, ParserAction`1 action) 
          at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.BuildTargetStory.MainProcessing(XPathNavigator navigator) 
          at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.XPathProcessor.RunParser(String inputFile) 
          at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.TransformationCaller.TransformWithoutXsl(String ruleName, RuleFileType ruleType, CDataProcessor dataProcessor, String inputFile, String outputFile) 
          at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.TransformationCaller.RunParser(IFilterFactory factory, String ruleName, RuleFileType ruleType, String filePath, CDataProcessor dataProcessor) 
          at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.TransformationCaller.TransformString(IFilterFactory factory, String ruleName, RuleFileType ruleType, String xml, CDataProcessor dataProcessor) 
          at Sdl.FileTypeSupport.Filters.Idml.FileFormat.DocumentControllerFramework.CStoryProcessor.ProcessStoryXML() 
          at Sdl.FileTypeSupport.Filters.Idml.FrameworkImpl.Writer.CWriterImpl.ProcessStory(String tagContent) 
          at Sdl.FileTypeSupport.Filters.Idml.FrameworkImpl.Writer.CWriterImpl.StructureTag(IAbstractTagProperties tagInfo) 
          at Sdl.FileTypeSupport.Filters.Idml.FrameworkImpl.Writer.CFileWriter.StructureTag(IStructureTagProperties tagInfo) 
          at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.LineNumberTracker.StructureTag(IStructureTagProperties tagInfo) 
          at Sdl.FileTypeSupport.Framework.Integration.NativeWriterMessagesProxy.StructureTag(IStructureTagProperties tagInfo) 
          at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.Buffer.NativeBuffer.StructureTag(IStructureTagProperties tagInfo) 
          at Sdl.FileTypeSupport.Filters.Processors.FeedbackRemovalProcessor.StructureTag(IStructureTagProperties tagInfo) 
          at Sdl.FileTypeSupport.Framework.NativeApi.AbstractNativeGenerationContentProcessor.StructureTag(IStructureTagProperties tagInfo) 
          at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.Buffer.StructureTagContentItem.Invoke(IAbstractNativeContentHandler output) 
          at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.Buffer.NativeBuffer.Release() at Sdl.FileTypeSupport.Framework.Native.CommentMerger.ParagraphUnitEnd() 
          at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.Buffer.ParagraphUnitEndContentItem.Invoke(IAbstractNativeContentHandler output) 
          at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.Buffer.NativeBuffer.Release() at Sdl.FileTypeSupport.Framework.Native.AdjacentClonedPairedTagsMerger.StopHolding() 
          at Sdl.FileTypeSupport.Framework.Native.AdjacentClonedPairedTagsMerger.Text(ITextProperties textInfo) 
          at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.Buffer.NativeBuffer.Text(ITextProperties textInfo) 
          at Sdl.FileTypeSupport.Framework.Bilingual.BilingualToSourceConverter.VisitText(IText text) 
          at Sdl.FileTypeSupport.Framework.Bilingual.Text.AcceptVisitor(IMarkupDataVisitor visitor) 
          at Sdl.FileTypeSupport.Framework.Bilingual.BilingualToSourceConverter.VisitContainerItems(IEnumerable`1 container) 
          at Sdl.FileTypeSupport.Framework.Bilingual.BilingualToNativeConverter.VisitSegment(ISegment segment) 
          at Sdl.FileTypeSupport.Framework.Bilingual.Segment.AcceptVisitor(IMarkupDataVisitor visitor) 
          at Sdl.FileTypeSupport.Framework.Bilingual.BilingualToSourceConverter.VisitContainerItems(IEnumerable`1 container) 
          at Sdl.FileTypeSupport.Framework.Bilingual.BilingualToSourceConverter.ProcessParagraphUnitContent(IParagraphUnit paragraphUnit) 
          at Sdl.FileTypeSupport.Framework.Bilingual.BilingualToSourceConverter.ProcessParagraphUnit(IParagraphUnit paragraphUnit) 
          at Sdl.FileTypeSupport.Framework.Bilingual.WhitespaceBetweenSegmentsBilingualProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit) 
          at Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit) 
          at Sdl.FileTypeSupport.Framework.Integration.GenerationBilingualContentLocator.ProcessParagraphUnit(IParagraphUnit paragraphUnit) 
          at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.ProcessParagraphUnit(IParagraphUnit paragraphUnit) 
          at Sdl.FileTypeSupport.Framework.Integration.FileGenerator.ProcessParagraphUnit(IParagraphUnit paragraphUnit) 
          at Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit) 
          at Sdl.ProjectApi.AutomaticTasks.CancelProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit) 
          at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.ProcessParagraphUnit(IParagraphUnit paragraphUnit) 
          at Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit) 
          at Sdl.FileTypeSupport.Framework.Integration.LocationMarkerLocator.ProcessParagraphUnit(IParagraphUnit paragraphUnit) 
          at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.ProcessParagraphUnit(IParagraphUnit paragraphUnit) 
          at Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ProcessParagraphUnit(IParagraphUnit paragraphUnit) 
          at Sdl.FileTypeSupport.Framework.Core.Utilities.BilingualApi.ParagraphUnitBuffer.ProcessParagraphUnit(IParagraphUnit pu) 
          at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.OutputParagraphUnit(IParagraphUnit pu) 
          at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ParseLocalizableParagraphUnit(transunit transunit, LockTypeFlags lockFlags) 
          at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ParseTransUnit(transunit transunit) 
          at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ParseGroup(group group) 
          at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.OnGroup(XmlElement groupElement) 
          at Sdl.FileTypeSupport.Bilingual.SdlXliff.SdlXliffFeeder.<ContinueScanning>b__f(ISdlXliffStreamContentHandler handler) 
          at System.Collections.Generic.List`1.ForEach(Action`1 action)       at Sdl.FileTypeSupport.Bilingual.SdlXliff.SdlXliffFeeder.ContinueScanning() 
          at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ContinueParsing() 
          at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ParseNext() 
          at Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ParseNext() 
          at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.ParseNext() 
          at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.Parse() 
          at Sdl.ProjectApi.AutomaticTasks.NativeFileGenerator.GenerateFiles(ContentRestriction restriction, Boolean preview, Int32 filePercentBase, Int32 filePercentFactor) 
          at Sdl.ProjectApi.AutomaticTasks.GenerateTargetTranslation.ExportFilesTask.ProcessFile(IExecutingTaskFile executingTaskFile) 
          at Sdl.ProjectApi.AutomaticTasks.AbstractFileLevelAutomaticTaskImplementation.Execute()]]>
    </StackTrace>
      </Exception>
      <Environment>
        <ProductName>SDL Trados Studio</ProductName>
        <ProductVersion>12.0.0.0</ProductVersion>
        <EntryAssemblyFileVersion>12.2.5195.7</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows Server 2012 Standard</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1033</OperatingSystemLanguage>
        <CodePage>1250</CodePage>
        <LoggedOnUser>AHOST\sebastjanl</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.36366</DotNetFrameWork>
        <ComputerName>RDS1</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>8385568 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>
    

Children
  • Hi Sebastjan,

    Thank you for posting the details.
    The error is coming straight from the IDML file filter, so this is definitely a bug in Trados Studio.
    This means it is not possible to export the files as they are. Without SDL updating Trados Studio, you would need to workaround the problem within InDesign.

    The original error message "Operation is not valid due to the current state of the object." is a little confusing, but basically what it is saying is the xml structure of the IDML file was unexpected and Trados Studio doesn't know how to handle it.

    The errors are coming from inside the <story> element I believe.
    If you unzip IDML files, there is a stories folder inside. This is the source of the error.
    However, I am unable to determine the root cause of the problem without seeing the actual files.
    One guess though is track changes such as shown below?
    helpx.adobe.com/.../tracking-reviewing-changes.html

  • Dear Jesse,

    I see now I would need to have access to InDesign to solve this problem. Apparently, I will have to find a different solution.

    Nevertheless, thank you very much for you help, I appreciate it a lot.


    Sebastjan
  • Hi Sebastjan,

    Perhaps you can try handling this project with the trial version of Studio 2017? See if this has the same problem or not.

    Regards

    Paul

    Paul Filkin | RWS

    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

  • Dear Paul,

    thank you for your answer and help. I will try that next week.
    I did not try that yet as I was informed there are no updates in Studio 2017 for IDML file filters.

    Kind regards,
    Sebastjan
  • Hi guys,

    I have this problem in my SDL Trados Studio 2017.
    I can't generate the target files.
    I tried saving the IDMLs from INDD using my InDesign and not client's IDML, but still didn't help.

    Any ideas?

    BR
    Fouad
  • No error message then? What kind of problem do you have?

    _________________________________________________________

    When asking for help here, please be as accurate as possible. Please always remember to give the exact version of product used and all possible error messages received. The better you describe your problem, the better help you will get.

    Want to learn more about Trados Studio? Visit the Community Hub. Have a good idea to make Trados Studio better? Publish it here.

  • Of course, there is an error - Just attached

    <SDLErrorDetails time="20-Jul-17 16:24:27">
      <ErrorMessage>Operation is not valid due to the current state of the object.</ErrorMessage>
      <Exception>
        <Type>System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <HelpLink />
        <Source>Sdl.FileTypeSupport.Filters.Idml</Source>
        <HResult>-2146233079</HResult>
        <StackTrace><![CDATA[   at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.BuildTargetStory.ProcessStoryContent(XPathNavigator navigator)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.XPathProcessor.ForEach(XPathNavigator navigator, String xpath, ParserAction`1 action)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.BuildTargetStory.StoryContent(XPathNavigator navigator)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.XPathProcessor.ForEach(XPathNavigator navigator, String xpath, ParserAction`1 action)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.BuildTargetStory.MainProcessing(XPathNavigator navigator)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.XPathProcessor.RunParser(String inputFile)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.TransformationCaller.TransformWithoutXsl(String ruleName, RuleFileType ruleType, CDataProcessor dataProcessor, String inputFile, String outputFile)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.TransformationCaller.RunParser(IFilterFactory factory, String ruleName, RuleFileType ruleType, String filePath, CDataProcessor dataProcessor)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.TransformationCaller.TransformString(IFilterFactory factory, String ruleName, RuleFileType ruleType, String xml, CDataProcessor dataProcessor)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.DocumentControllerFramework.CStoryProcessor.ProcessStoryXML()
       at Sdl.FileTypeSupport.Filters.Idml.FrameworkImpl.Writer.CWriterImpl.ProcessStory(String tagContent)
       at Sdl.FileTypeSupport.Filters.Idml.FrameworkImpl.Writer.CWriterImpl.StructureTag(IAbstractTagProperties tagInfo)
       at Sdl.FileTypeSupport.Filters.Idml.FrameworkImpl.Writer.CFileWriter.StructureTag(IStructureTagProperties tagInfo)
       at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.LineNumberTracker.StructureTag(IStructureTagProperties tagInfo)
       at Sdl.FileTypeSupport.Framework.Integration.NativeWriterMessagesProxy.StructureTag(IStructureTagProperties tagInfo)
       at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.Buffer.NativeBuffer.StructureTag(IStructureTagProperties tagInfo)
       at Sdl.FileTypeSupport.Filters.Processors.FeedbackRemovalProcessor.StructureTag(IStructureTagProperties tagInfo)
       at Sdl.FileTypeSupport.Framework.NativeApi.AbstractNativeGenerationContentProcessor.StructureTag(IStructureTagProperties tagInfo)
       at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.Buffer.StructureTagContentItem.Invoke(IAbstractNativeContentHandler output)
       at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.Buffer.NativeBuffer.Release()
       at Sdl.FileTypeSupport.Framework.Native.CommentMerger.ParagraphUnitEnd()
       at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.Buffer.ParagraphUnitEndContentItem.Invoke(IAbstractNativeContentHandler output)
       at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.Buffer.NativeBuffer.Release()
       at Sdl.FileTypeSupport.Framework.Native.AdjacentClonedPairedTagsMerger.StopHolding()
       at Sdl.FileTypeSupport.Framework.Native.AdjacentClonedPairedTagsMerger.InlineStartTag(IStartTagProperties tagInfo)
       at Sdl.FileTypeSupport.Framework.Core.Utilities.NativeApi.Buffer.NativeBuffer.InlineStartTag(IStartTagProperties tagInfo)
       at Sdl.FileTypeSupport.Framework.Bilingual.BilingualToSourceConverter.VisitTagPair(ITagPair tag)
       at Sdl.FileTypeSupport.Framework.Bilingual.TagPair.AcceptVisitor(IMarkupDataVisitor visitor)
       at Sdl.FileTypeSupport.Framework.Bilingual.BilingualToSourceConverter.VisitContainerItems(IEnumerable`1 container)
       at Sdl.FileTypeSupport.Framework.Bilingual.BilingualToSourceConverter.ProcessParagraphUnitContent(IParagraphUnit paragraphUnit)
       at Sdl.FileTypeSupport.Framework.Bilingual.BilingualToSourceConverter.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       at Sdl.FileTypeSupport.Framework.Bilingual.WhitespaceBetweenSegmentsBilingualProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       at Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       at Sdl.FileTypeSupport.Framework.Integration.GenerationBilingualContentLocator.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       at Sdl.FileTypeSupport.Framework.Integration.FileGenerator.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       at Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       at Sdl.ProjectApi.AutomaticTasks.CancelProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       at Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       at Sdl.FileTypeSupport.Framework.Integration.LocationMarkerLocator.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       at Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ProcessParagraphUnit(IParagraphUnit paragraphUnit)
       at Sdl.FileTypeSupport.Framework.Core.Utilities.BilingualApi.ParagraphUnitBuffer.ProcessParagraphUnit(IParagraphUnit pu)
       at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.OutputParagraphUnit(IParagraphUnit pu)
       at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ParseLocalizableParagraphUnit(transunit transunit, LockTypeFlags lockFlags)
       at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ParseTransUnit(transunit transunit)
       at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ParseGroup(group group)
       at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.OnGroup(XmlElement groupElement)
       at Sdl.FileTypeSupport.Bilingual.SdlXliff.SdlXliffFeeder.<ContinueScanning>b__f(ISdlXliffStreamContentHandler handler)
       at System.Collections.Generic.List`1.ForEach(Action`1 action)
       at Sdl.FileTypeSupport.Bilingual.SdlXliff.SdlXliffFeeder.ContinueScanning()
       at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ContinueParsing()
       at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ParseNext()
       at Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ParseNext()
       at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.ParseNext()
       at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.Parse()
       at Sdl.ProjectApi.AutomaticTasks.NativeFileGenerator.GenerateFiles(ContentRestriction restriction, Boolean preview, Int32 filePercentBase, Int32 filePercentFactor)
       at Sdl.ProjectApi.AutomaticTasks.GenerateTargetTranslation.GenerateTargetTranslationTask.ProcessFile(IExecutingTaskFile executingTaskFile)
       at Sdl.ProjectApi.AutomaticTasks.AbstractFileLevelAutomaticTaskImplementation.Execute()]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>SDL Trados Studio</ProductName>
        <ProductVersion>14.0.0.0</ProductVersion>
        <EntryAssemblyFileVersion>14.0.5889.5</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 7 Professional </OperatingSystem>
        <ServicePack>Service Pack 1</ServicePack>
        <OperatingSystemLanguage>1033</OperatingSystemLanguage>
        <CodePage>1255</CodePage>
        <LoggedOnUser>HEVER\fouadh</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>LOCALIZATION-3</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>16671036 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

     

    Please let me know

  • Well, it seems to be still the same bug as before. Is there anything special about the INDD file? I use InDesign very often and did never encounter anything similar. Do you possibly have an older InDesign version (like CS6) to test with it?

    _________________________________________________________

    When asking for help here, please be as accurate as possible. Please always remember to give the exact version of product used and all possible error messages received. The better you describe your problem, the better help you will get.

    Want to learn more about Trados Studio? Visit the Community Hub. Have a good idea to make Trados Studio better? Publish it here.

  • Googling for the error message suggests that it has hardly something to do with the InDesign file itself...
  • No, I usually use IDML file and it works properly. I use the Adobe Creative Cloud, so I have the most recent 2017 version of InDesign.
    I tried saving the INDD to IDML, but still didn't help.

    What are the options?