DarthAffe / RGB.NET

The one-stop SDK for RGB-peripherals

Home Page:http://lib.arge.be

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Corsair Legacy, System.ArgumentException: An item with the same key has already been added.

Aytackydln opened this issue · comments

One of Aurora users had this exception. Sorry I am not able to make PR for a solution.

Device provider Corsair (RGB.NET) threw exception
System.ArgumentException: An item with the same key has already been added. Key: Invalid
at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at RGB.NET.Devices.CorsairLegacy.CorsairCustomRGBDevice.InitializeLayout()
at RGB.NET.Devices.CorsairLegacy.CorsairLegacyDeviceProvider.LoadDevices()+MoveNext()
at RGB.NET.Core.AbstractRGBDeviceProvider.GetLoadedDevices(RGBDeviceType loadFilter)
at RGB.NET.Core.AbstractRGBDeviceProvider.Initialize(RGBDeviceType loadFilter, Boolean throwExceptions)

Which device is that? Normally I'd not expect to be Invalid-Leds present at all Oo

Hi, I believe he's talking about me since he send me this link, I believe it's more easy if I show you

Corsair RGB

I think this is causes by a wrong configuration in iCUE (iirc you have to configure somewhere what is attached to the hubs).
But I'll add a fx to ignore Invalid leds. That way it won't crash, but also not be able to controll them.

I know that the QX fans are not recognized, so they won't turn on with aurora, but everything else worked for me the first time, after that, it just show that message.