An item with the same key has already been added - Trados Studio R2- 241/01/24

Hi!

I've been having problems with Studio R2 since December last year after I downloaded some plugins. After that, whenever I opened Studio, it would give me an error message. This was reported, but never got round to sort it out because I decided to upgrade my computer and then the holiday period came. 

Now, I'm installing Studio again in this new computer, and it gives me this error message. 

Error message popup on Trados Studio stating 'An item with the same key has already been added.' with Knowledge Base and Community buttons.

An this is the error file. 

XML error file open in a text editor showing details of the error 'An item with the same key has already been added' with system and environment information.

I remember that my problem I had in December was that the folder Studio 17 was not showing on AppData>Roaming>Trados>Trados Studio>Studio 17. Only Studio showed, which I believe it's for Studio 21, correct  ? Ok now that it shows, I have two folders: 

File explorer window showing folders '17' and 'Studio17' and a file 'VersionManager.xml' with their respective modification dates.

Foder 17 has all the plugins, packages and unpacked. 

I suspect one or more of these may be causing the problem, but do I know?

Now, I go to Studio 17>logs, and I can see a bunch of  txt files. This is the latest from today: 

INFO [2024-01-24 09:36:20,268] TradosStudio.PushNotificationProvider.SignalRClient - Initializing client
INFO [2024-01-24 09:36:25,580] Sdl.Desktop.Platform.Implementation.Studio - Starting application service.
WARN [2024-01-24 09:36:25,594] Sdl.BestMatchServiceStudioIntegration.Common.Account.Credential.SecureCredentialFile - Error reading credentials file
System.FormatException: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters. 
   at System.Convert.FromBase64_ComputeResultLength(Char* inputPtr, Int32 inputLength)
   at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength)
   at System.Convert.FromBase64String(String s)
   at Sdl.Desktop.Platform.Encryption.AesCbcCipherText.FromBase64String(String data)
   at Sdl.Desktop.Platform.Encryption.EncryptionProviderNet4.Decrypt(String cipherText)
   at Sdl.BestMatchServiceStudioIntegration.Common.Account.Credential.SecureCredentialFile.ReadFileData()
   at Sdl.BestMatchServiceStudioIntegration.Common.Account.Credential.SecureCredentialFile.Read()
INFO [2024-01-24 09:36:25,596] Sdl.TranslationStudio.LanguageCloud.Startup.LanguageCloudLogin - Language Cloud login failed.
INFO [2024-01-24 09:36:25,652] Sdl.TranslationStudio.ProjectManagement.AutoDeleteOnStartup - Deleting temporary files
FATAL [2024-01-24 09:36:26,963] Sdl.Desktop.Platform.UnhandledException - An item with the same key has already been added.
System.ArgumentException: An item with the same key has already been added.
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
   at Sdl.Desktop.Platform.Implementation.StudioWindow.Init(IEventAggregator eventAggregator)
   at Sdl.Desktop.Platform.Implementation.Studio.CreateWindowInternal(Boolean setActive, IEventAggregator eventAggregator)
   at Sdl.Desktop.Platform.Implementation.Studio.Run(ISplashScreen splashScreen, IPluginLoaderService pluginLoaderService, ICommandLineParsingService commandLineParsingService, IUserSettingsService userSettingsService, IEnumerable`1 startUpActions, ILicensingService licensingService)
   at Sdl.TranslationStudio.Application.Launcher.RunApplication()
INFO [2024-01-24 09:36:26,968] Sdl.Desktop.Platform.UnhandledException - An item with the same key has already been added.#ProcessName=SDLTradosStudio#PhysicalMemorySize=182874112#VirtualMemorySize=95293440#ThreadCount=28#HandleCount=1356#GdiHandleCount=73#UserHandleCount=54#TotalProcessorTime=00:00:04.1562500

Any idea what's going on? My IT skills seem to be quite limited now Disappointed

Many thanks for your support! Slight smile

Carina 



Generated Image Alt-Text
[edited by: Trados AI at 1:20 PM (GMT 0) on 29 Feb 2024]
Parents
  • Hello Carina,

    I'm sorry to hear about the issues you've been experiencing with Trados Studio R2. Based on the error message you're receiving, it seems like there might be a conflict with one or more of the plugins you've installed. Here's how you can troubleshoot this issue:

    Step 1: Close Trados Studio.

    Step 2: In your Windows Search, type "RWS Plugin Management" and open it.

    Step 3: Check if you have duplicate plugins installed. If you do, this could be causing the issue.

    Step 4: Uninstall one of the instances of the duplicate plugin.

    Step 5: Open Trados Studio and check if the error persists.

    Alternatively, you can also check for duplicate plugins within Trados Studio itself:

    Step 1: Open Trados Studio and go to the Add-Ins tab.

    Step 2: Click on the Plug-Ins tab and see if any of the installed plugins appear twice.

    Step 3: Un-tick one of the duplicated plugins, then close Trados Studio.

    Step 4: Uninstall the plugin from RWS Plugin Management.

    Step 5: Open Trados Studio again and check if the error persists.

    Please note that this issue can also occur in Tridion Sites - Translation Manager. If the problem persists after following these steps, it might be best to uninstall all plugins, then reinstall them one by one to identify which one is causing the issue.

    I hope this helps! Let me know if you have any other questions.

    Best regards,

    RWS Community AI

    emoji
  • RWS Plugin Management

    This folder does not appear on my Windows Search. 

    Windows search results showing 'No items match your search' for RWS Plugin Management.

    I cannot uninstall any plugins directly from Studio because I cannot even open the application!

    Ideas? Thanks! 

    C

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 1:20 PM (GMT 0) on 29 Feb 2024]
Reply Children
No Data