Git Product home page Git Product logo

Comments (2)

DarthAffe avatar DarthAffe commented on September 3, 2024 1

"Error in the application." Is the error message returned by the corsair SDK which in most cases but not exclusively refers to disabled SDK/iCUE.
Translating the original error code to something else would be a task artemis has to handle since it's just passed through if throwing exceptions is enabled in RGB.NET (which is the case for artemis).

But I agree that there should be a hint to check if iCUE is running and the SDK is enabled if the provider fails to load since it's most likely the reason.

from artemis.plugins.

matthewmcpartland avatar matthewmcpartland commented on September 3, 2024

If you can provide any steps to reproduce as well as the full stack trace (if provided in the logs) that will help others figure out and then resolve this.

I've just setup Artemis for the first time and when attempting to enable Corsair Device Provider in the startup wizard with iCue turned off I also am seeing this. Here's the excerpt from the logs:

System.AggregateException: One or more errors occurred. (RGB.NET threw exception: Error in the application.)
 ---> Artemis.Core.ArtemisPluginException: RGB.NET threw exception: Error in the application.
 ---> RGB.NET.Devices.Corsair.CUEException: Error in the application.
   --- End of inner exception stack trace ---
   at Artemis.Core.Services.RgbService.AddDeviceProvider(IRGBDeviceProvider deviceProvider) in D:\a\1\s\Artemis\src\Artemis.Core\Services\RgbService.cs:line 182
   at Artemis.Plugins.Devices.Corsair.CorsairDeviceProvider.Enable() in D:\a\1\s\Artemis.Plugins\src\Devices\Artemis.Plugins.Devices.Corsair\CorsairDeviceProvider.cs:line 40
   at Artemis.Core.PluginFeature.InternalEnable() in D:\a\1\s\Artemis\src\Artemis.Core\Plugins\PluginFeature.cs:line 178
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait(TimeSpan timeout)
   at Artemis.Core.PluginFeature.SetEnabled(Boolean enable, Boolean isAutoEnable) in D:\a\1\s\Artemis\src\Artemis.Core\Plugins\PluginFeature.cs:line 151
   at Artemis.Core.Services.PluginManagementService.EnablePluginFeature(PluginFeature pluginFeature, Boolean saveState, Boolean isAutoEnable) in D:\a\1\s\Artemis\src\Artemis.Core\Services\PluginManagementService.cs:line 621

Once I start iCue I'm having no issues enabling the Corsair device provider. @Johnnyreyman please check that iCue is running and in the settings you have "Enable SDK" checked off.

It looks like Artemis is cleaning handling/catching this exception from RGB.NET so possibly an issue needs to be opened with RGB.NET instead? Or should Artemis be handling the case when the Corsair SDK is inaccessible (iCue is not present or SDK not enabled) and device initialization is attempted?

I think if this is deemed something RGB.NET should be catching and handling, then maybe a more helpful error text can be given that suggests starting iCue and enabling the SDK

from artemis.plugins.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.