Error when running WIP Report on multiple files

Hi,

When trying to run the WIP Report on several files at the same time, I get the following error for each file:

Unexpected exception when configuring file multiFileConverter for task 'WIP Report': An item with the same key

And the error report:

<SDLErrorDetails time="2018-12-05 23:33:33">
<ErrorMessage>Unexpected exception when configuring file multiFileConverter for task 'WIP Report': An item with the same key has already been added..</ErrorMessage>
<Exception>
<Type>Sdl.ProjectApi.ProjectApiException, Sdl.ProjectApi, Version=15.0.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888</Type>
<HelpLink />
<Source>Sdl.ProjectApi.Implementation</Source>
<HResult>-2146233088</HResult>
<StackTrace><![CDATA[ at Sdl.ProjectApi.Implementation.TaskExecution.ContentProcessingTaskImplementation.TaskFileExecuter.ConfigureConverter(IMultiFileConverter multiFileConverter, Language targetLanguage)
at Sdl.ProjectApi.Implementation.TaskExecution.ContentProcessingTaskImplementation.TaskFileExecuter.CreateMultiFileConverter(IProjectFile tf, String filePath)
at Sdl.ProjectApi.Implementation.TaskExecution.ContentProcessingTaskImplementation.TaskFileExecuter.Parse(String targetFilePath)]]></StackTrace>
<InnerException>
<Type>System.ArgumentException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
<ParamName />
<HelpLink />
<Source>mscorlib</Source>
<HResult>-2147024809</HResult>
<StackTrace><![CDATA[ at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Sdl.ProjectAutomation.AutomaticTasks.ExecutingAutomaticTask.GetWordCounter(ProjectFile executingTaskFile)
at Sdl.ProjectApi.AutomaticTasks.WIPReport.WIPReportTask.CreateProcessor(ProjectFile file)
at Sdl.ProjectApi.AutomaticTasks.WIPReport.WIPReportTask.ConfigureConverter(ProjectFile projectFile, IMultiFileConverter multiFileConverter)
at Sdl.ProjectApi.Implementation.TaskExecution.ContentProcessingTaskImplementationAdapter.ConfigureConverter(IExecutingTaskFile executingTaskFile, IMultiFileConverter multiFileConverter)
at Sdl.ProjectApi.Implementation.TaskExecution.ContentProcessingTaskImplementation.TaskFileExecuter.ConfigureConverter(IMultiFileConverter multiFileConverter, Language targetLanguage)]]></StackTrace>
</InnerException>
</Exception>
<Environment>
<ProductName>SDL Trados Studio</ProductName>
<ProductVersion>15.0.0.0</ProductVersion>
<EntryAssemblyFileVersion>15.0.1.36320</EntryAssemblyFileVersion>
<OperatingSystem>Microsoft Windows 10 Famille</OperatingSystem>
<ServicePack>NULL</ServicePack>
<OperatingSystemLanguage>1036</OperatingSystemLanguage>
<CodePage>1252</CodePage>
<LoggedOnUser>NOSTROMO\grimwald</LoggedOnUser>
<DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
<ComputerName>NOSTROMO</ComputerName>
<ConnectedToNetwork>True</ConnectedToNetwork>
<PhysicalMemory>4093880 MB</PhysicalMemory>
</Environment>
</SDLErrorDetails>

 

All files have the same source and target language.

Any chance an SDL guru would know how to fix this?

3 Replies Latest Replies: 9 Dec 2018 7:53 AM by Paul
  • Hi

    I can't reproduce this so I'm wondering what resources you might have attached to your project? What kind of TM and how many for example?

    Does this happen with every project or just this one?
  • In reply to Paul:

    Hi Paul,
    Sorry for the late answer. Yes, this happens for every project, as long as I try to run the task on more than one file (either by selecting them in the files view or by running it on the whole project via the projects view). No weird ressources, a couple of local file based TMs (opened as AnyTM).
  • In reply to Alex Grimaldi:



    What happens if you remove these TMs and run the report?

Related