IDML cannot save as target

Former Member
Former Member

 Hello all,

I am running into the error "Failed to save target content: Could not find file ...SDLTempFileManager\filename.xyz
I am using SDL Studio 2015.

I already checked other posts regarding deleted temporary files, I set up new projects on different machines, I tried to exclude everything that has been discussed before.

The error happens with a single one page IDML, I open it in SDL Studio and save it immediatly as target to get the error. If I delete the content of the page in InDesign (newest release), the error does not occur anymore.

I tried to delete single elements to narrow it down, but I have to delete the complete page content. Maybe it's a table issue?

I would like to send you the file to have a look.Unbenannt-2.zip

 

Thank you very much,

Andreas

  • Hi Andreas,
    I had a very quick look. To me, it's not an usual "temp file" error:
    Try to use the Batch Task "Generate Target Version", you will get another error related to a tag <tblref id="u2b6i2d6"/> Apparently, the sdlxliff has not been generated correctly during the preparation phase.
    Maybe you can investigate further and find the real problem.

    Kind regards
    Sébastien Desautel

  • Former Member
    0 Former Member in reply to Sébastien Desautel

    Thank you for your quick reply, Sébastien!

    I'm not getting any message regarding the tblref tag, when I use the Batch Task.

    <SDLErrorDetails time="11/7/2016 3:02:18 PM">
      <ErrorMessage>Could not find file 'C:\Users\app-idwb\AppData\Local\Temp\SDLTempFileManager\qjjaxv21.f2z'.</ErrorMessage>
      <Exception>
        <Type>System.IO.FileNotFoundException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <FileName>C:\Users\app-idwb\AppData\Local\Temp\SDLTempFileManager\qjjaxv21.f2z</FileName>
        <FusionLog />
        <HelpLink />
        <Source>mscorlib</Source>
        <HResult>-2147024894</HResult>
        <StackTrace><![CDATA[   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
       at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
       at System.IO.StreamReader..ctor(String path, Encoding encoding)
       at Sdl.FileTypeSupport.Filters.Idml.Common.XmlHelper.WriteToResultFromFile(TextWriter result, String filePath)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.WriteStory.ParagraphStyleRangeAfterIterating(XPathNavigator navigator, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.XPathProcessor.ForEach(XPathNavigator navigator, String xpath, WriterAction`1 actionIfExistBeforeIterating, WriterAction`1 actionIfExistAfterIterating, WriterAction`1 actionOnNode, WriterAction`1 actionIfNotExists, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.WriteStory.ParagraphStyleRange(XPathNavigator navigator, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.WriteStory.Content(XPathNavigator navigator, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.XPathProcessor.ForEach(XPathNavigator navigator, String xpath, WriterAction`1 action, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.WriteStory.XMLElement(XPathNavigator navigator, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.WriteStory.Content(XPathNavigator navigator, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.WriteStory.ProcessNodeChilden(XPathNavigator navigator, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.XPathProcessor.ForEach(XPathNavigator navigator, String xpath, WriterAction`1 action, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.WriteStory.Cell(XPathNavigator navigator, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.WriteStory.ProcessTableChildren(XPathNavigator navigator, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.XPathProcessor.ForEach(XPathNavigator navigator, String xpath, WriterAction`1 action, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.WriteStory.TableStructure(XPathNavigator navigator, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.WriteStory.Table(XPathNavigator navigator, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.WriteStory.Content(XPathNavigator navigator, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.XPathProcessor.ForEach(XPathNavigator navigator, String xpath, WriterAction`1 action, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.WriteStory.XMLElement(XPathNavigator navigator, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.WriteStory.Content(XPathNavigator navigator, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.XPathProcessor.ForEach(XPathNavigator navigator, String xpath, WriterAction`1 action, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.WriteStory.XMLElement(XPathNavigator navigator, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.WriteStory.Content(XPathNavigator navigator, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.XPathProcessor.ForEach(XPathNavigator navigator, String xpath, WriterAction`1 action, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.WriteStory.CharacterStyleRange(XPathNavigator navigator, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.WriteStory.Content(XPathNavigator navigator, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.XPathProcessor.ForEach(XPathNavigator navigator, String xpath, WriterAction`1 actionIfExistBeforeIterating, WriterAction`1 actionIfExistAfterIterating, WriterAction`1 actionOnNode, WriterAction`1 actionIfNotExists, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.WriteStory.ParagraphStyleRange(XPathNavigator navigator, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.WriteStory.ProcessXmlElementContent(XPathNavigator navigator, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.XPathProcessor.ForEach(XPathNavigator navigator, String xpath, WriterAction`1 action, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.WriteStory.XMLElementInStory(XPathNavigator navigator, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.WriteStory.ProcessXmlElement(XPathNavigator navigator, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.WriteStory.ProcessStoryElement(XPathNavigator navigator, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.XPathProcessor.ForEach(XPathNavigator navigator, String xpath, WriterAction`1 action, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.WriteStory.StoryContent(XPathNavigator navigator, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.XPathProcessor.ForEach(XPathNavigator navigator, String xpath, WriterAction`1 action, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.WriteStory.CopyEntireStory(XPathNavigator navigator, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.XPathProcessor.ForEach(XPathNavigator navigator, String xpath, WriterAction`1 action, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Generator.WriteStory.MainProcessing(XPathNavigator navigator, TextWriter result)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.Common.XPathProcessor.RunWriter(String inputFile, String pathToTarget)
       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.RunWriter(IFilterFactory factory, String ruleName, RuleFileType ruleType, String filePath, CDataProcessor dataProcessor)
       at Sdl.FileTypeSupport.Filters.Idml.FileFormat.DocumentControllerFramework.CStoryProcessor.ProcessStory()
       at Sdl.FileTypeSupport.Filters.Idml.FrameworkImpl.Writer.CBuildVisitor.VisitStory(IVisitable story)
       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>12.0.0.0</ProductVersion>
        <EntryAssemblyFileVersion>12.2.5195.7</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 7 Professional </OperatingSystem>
        <ServicePack>Service Pack 1</ServicePack>
        <OperatingSystemLanguage>1031</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>DELTA\APP-idwb</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>DDELLDTP02</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>8370632 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

    But the nested table in the file is definitely a suspect! I will continue my investigation, but I would like to know, why I do not get the same message as you did...?

    Best,

    Andreas

  • Hi Andreas,
    I see, same problem here after running the batch task from the editor view.
    Re-prepare your file and start the batch task from the file view without opening the file in the editor. It worked here.
    Kind regards
  • Former Member
    0 Former Member in reply to Sébastien Desautel

    OK, Thank you again! Now I can reproduce that error message... but I'm afraid it does not solve my problem.

    I can even translate the single story.xml without problems, put it back into the IDML archive and open it in InDesign.

    And it's still strange that the temp file error occurs. In fact, watching the SDLTempFileManager folder, the "missing" file is never created.

    I'll give it another try tomorrow.

  • Hi Andreas,

    This is definitely a bug. It has been fixed already and will be resolved in the next CU for Studio 2015. I don't have a time for this yet but will let you know in due course.

    Regards

    Paul

    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

  • Former Member
    0 Former Member in reply to Paul
    Thank you Paul! I managed to save the work translating the single stories instead, fortunately it was just one page, in several languages. Thanks for letting me know! Best,
    Andreas
  • Former Member
    0 Former Member in reply to Paul
    Hello Paul, I just received 4 more IDMLs with the problem. If the bug ist not solved yet, do you have a suggestion on how to modify the IDML to make it pass the process?
  • Former Member
    0 Former Member in reply to Paul
    Hello Paul! Any news about my little problem? I'm keeping Studio 2015 up to date, but I just had another identical case. Thank you, best, Andreas