Error when importing InCopy files with cross-reference

Hello,

I am trying to import InCopy (CC2018) files and encounter an error with files that contain a cross-reference:

Trados Studio error message window overlaying Project Settings, stating 'An error occurred while calling 'AddFileToTranslate'. Error: 'Specific to 'Adobe InCopyGraphicLine' object value.'

Does anyone have a solution/workaround for that that? (I am using Studio 2019)

Daniel



Generated Image Alt-Text
[edited by: Trados AI at 4:31 PM (GMT 0) on 28 Feb 2024]
emoji
Parents
  • Hi

    Thanks for the files. I can confirm I have the same problem unless I "place" them into InDesign as IDML and then I can work with them. Perhaps that's an option for you until we find the problem?

    I'll come back to you once I have more information on the problem from the support team.

    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

  • Hi Paul,

    I admit it took me a while to understand this workaround. But it does work and it does keep everything in the InDesign/InCopy workflow.
    Thanks for that!

    (I guess what is happening in this process is that the cross-reference is converted to an earlier format in the indd->idml conversion and thus can be imported.)

    I am looking forward to the solution the support team will find for this.

    Daniel

  • Hi  

    Just letting you know that this problem has been logged as CRQ-12597 (handy to be able to quote this reference later).

    The issue seems to be caused by cross references applied over TextVariableInstance:

    <CrossReferenceSource Self="ud568" AppliedFormat="uc3c" Name="Hyperlink 1" Hidden="false" AppliedCharacterStyle="n">
    <TextVariableInstance Self="ud56d" Name="<?AID 001b?>TV XRefPageNumber" ResultText="13" AssociatedTextVariable="dTextVariablen<?AID 001b?>TV XRefPageNumber" />
    </CrossReferenceSource>

    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

  • Hi

    This has been fixed in Studio 2019. Thanks for following up...

    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

  • Hello ,
    I just upgraded to the most recent version today, but the error still pops up:

    <SDLErrorDetails time="08-Feb-19 21:12:57">
    <ErrorMessage>Should start with &lt;TextVariableInstance, but it is &lt;CrossReferenceSource Self="ud5bc" AppliedFormat="uc3c" Name="Hyperlink 4" Hidden="false" AppliedCharacterStyle="n"&gt; value=""</ErrorMessage>
    <Exception>
    <Type>System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <HelpLink />
    <Source>Sdl.FileTypeSupport.Filters.Icml</Source>
    <HResult>-2146233079</HResult>
    <StackTrace><![CDATA[ at Sdl.FileTypeSupport.Filters.Icml.DynamicParser.FeatureHandlers.InlineVariablesHandler.ProcessTextVariablePageNumberType(Int32 i)
    at Sdl.FileTypeSupport.Filters.Icml.DynamicParser.FeatureHandlers.InlineVariablesHandler.ProcessInlineVariables()
    at Sdl.FileTypeSupport.Filters.Icml.DynamicParser.FeatureHandlers.InlineVariablesHandler.MoveTags(Boolean isEnded)
    at Sdl.FileTypeSupport.Filters.Icml.DynamicParser.FeatureHandlers.FeatureHandlersManager.MoveTags(Boolean isEnded)
    at Sdl.FileTypeSupport.Filters.Icml.DynamicParser.BufferStorer.Flush(Boolean isEnded)
    at Sdl.FileTypeSupport.Filters.Icml.DynamicParser.IcmlParser.DuringParsing()
    at Sdl.FileTypeSupport.Framework.NativeApi.AbstractNativeFileParser.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.Conversion.ConversionTask.ProcessFile(IExecutingTaskFile executingTaskFile)
    at Sdl.ProjectApi.AutomaticTasks.AbstractFileLevelAutomaticTaskImplementation.Execute()]]></StackTrace>
    </Exception>
    <Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>15.0.0.0</ProductVersion>
    <EntryAssemblyFileVersion>15.1.2.48878</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Enterprise</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1033</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>myusername</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>MyComputerName</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>12581860 MB</PhysicalMemory>
    </Environment>
    </SDLErrorDetails>

    Daniel
Reply
  • Hello ,
    I just upgraded to the most recent version today, but the error still pops up:

    <SDLErrorDetails time="08-Feb-19 21:12:57">
    <ErrorMessage>Should start with &lt;TextVariableInstance, but it is &lt;CrossReferenceSource Self="ud5bc" AppliedFormat="uc3c" Name="Hyperlink 4" Hidden="false" AppliedCharacterStyle="n"&gt; value=""</ErrorMessage>
    <Exception>
    <Type>System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <HelpLink />
    <Source>Sdl.FileTypeSupport.Filters.Icml</Source>
    <HResult>-2146233079</HResult>
    <StackTrace><![CDATA[ at Sdl.FileTypeSupport.Filters.Icml.DynamicParser.FeatureHandlers.InlineVariablesHandler.ProcessTextVariablePageNumberType(Int32 i)
    at Sdl.FileTypeSupport.Filters.Icml.DynamicParser.FeatureHandlers.InlineVariablesHandler.ProcessInlineVariables()
    at Sdl.FileTypeSupport.Filters.Icml.DynamicParser.FeatureHandlers.InlineVariablesHandler.MoveTags(Boolean isEnded)
    at Sdl.FileTypeSupport.Filters.Icml.DynamicParser.FeatureHandlers.FeatureHandlersManager.MoveTags(Boolean isEnded)
    at Sdl.FileTypeSupport.Filters.Icml.DynamicParser.BufferStorer.Flush(Boolean isEnded)
    at Sdl.FileTypeSupport.Filters.Icml.DynamicParser.IcmlParser.DuringParsing()
    at Sdl.FileTypeSupport.Framework.NativeApi.AbstractNativeFileParser.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.Conversion.ConversionTask.ProcessFile(IExecutingTaskFile executingTaskFile)
    at Sdl.ProjectApi.AutomaticTasks.AbstractFileLevelAutomaticTaskImplementation.Execute()]]></StackTrace>
    </Exception>
    <Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>15.0.0.0</ProductVersion>
    <EntryAssemblyFileVersion>15.1.2.48878</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Enterprise</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1033</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>myusername</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>MyComputerName</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>12581860 MB</PhysicalMemory>
    </Environment>
    </SDLErrorDetails>

    Daniel
Children