ERROR > An item with the same key has already been added

Hi,

I'm using SDL Trados 2019.

I get this error message very often in the last 2 weeks.

Sometimes, trying to process excel files, but also .idml files.

I also created a new file (excel or .idml) copying and pasting the content from the source file in a new file with no positive results.

The TM was updated.

Here below the error message.

Any idea?

<SDLErrorDetails time="31/03/2021 12:42:37">
  <ErrorMessage>An item with the same key has already been added.</ErrorMessage>
  <Exception>
    <Type>Sdl.ProjectApi.ProjectApiException, Sdl.ProjectApi, Version=15.1.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888</Type>
    <HelpLink />
    <Source />
    <HResult>-2146233088</HResult>
    <StackTrace><![CDATA[]]></StackTrace>
  </Exception>
  <Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>15.0.0.0</ProductVersion>
    <EntryAssemblyFileVersion>15.2.8.3007</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1040</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>VESPA\Vespa</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>VESPA</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>8260788 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>

Parents Reply Children
  • Hi Steven,

    this is the whole error message, I clicked on the button you mentioned and saved the file.

    I made some more tests and realised that the Pre-translate task is OK, no error. The file has been pretranslated correctly at 22%.

    I can open the file without problem and I can see the pretranslated segments. I can see also fuzzy matches.

    I ran Translation WordCount withouit error.

    The only task with error is the Analyse one. This is a problem because I see the total word count but not all other informations.

    I think this is not a matter of corrupted files, this happended 4 times, for 4 different files, 4 different TMs.

  • <SDLErrorDetails time="31/03/2021 13:19:53">
      <ErrorMessage>An item with the same key has already been added.</ErrorMessage>
      <Exception>
        <Type>Sdl.ProjectApi.ProjectApiException, Sdl.ProjectApi, Version=15.1.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888</Type>
        <HelpLink />
        <Source />
        <HResult>-2146233088</HResult>
        <StackTrace><![CDATA[]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>SDL Trados Studio</ProductName>
        <ProductVersion>15.0.0.0</ProductVersion>
        <EntryAssemblyFileVersion>15.2.8.3007</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1040</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>VESPA\Vespa</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>VESPA</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>8260788 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

  • Hello ,

    Can you share one of the problematic files with me (swhale@sdl.com) and I will take a look.

    Oana Nagy | 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 ,

    I did a second test using the previous version of Trados 2019 (that is 15.2.7.28.49) and everything went well. No error.
     This means the files are not corrupted but there is something wrong with the last version of Trados, correct?

    What do you think? Do you still need the file do to some tests?

  • could you please let me know if the Trados 2019 version could be the problem?