-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No images loading, buttons not working #14
Comments
Hi under the 'more actions' button, you will find other plugins made by 'barraider' (my plugin is based on his code), you see the fakepath... stuff when the plugin dll is not running, but I don't know why the dll won't start. |
I'm having this issue too... Streemdeck classic, windows 10, streamdeck software 4.8.1.13027. |
In the past I have seen this only when some dotnet framework files were missing under the 'more actions' button, you will find other plugins made by 'barraider' (my plugin is based on his code), |
I don't see anything that says "more actions"... Any link to the correct redist version of .net? |
it's in your own screenshot, bottom right |
does your log show exactly the same error as in the first post above ? |
what about the error in the log file? |
Can't even find the log file... Or the plugin install in the plugins directory... |
It has to exist otherwise you wouldn't see the buttons in your screenshot |
2020-07-13 14:43:41.7312|DEBUG|BarRaider.SdTools.Logger|Logger Initialized |
Restarted stream deck and it gave me a little more info: 2020-07-13 14:43:41.7312|DEBUG|BarRaider.SdTools.Logger|Logger Initialized |
ok, it has nothing to do with dotnet. the crash is related to this error : 2020-07-13 14:47:31.7846|FATAL|BarRaider.SdTools.Logger|Unhandled Exception: System.IO.FileNotFoundException: Could not find file 'F:\SteamLibrary\steamapps\common\Elite Dangerous\Products\elite-dangerous-64\ControlSchemes\Custom.binds'. I will investigate the path error issue and see if I can fix that in the plugin. |
2020-07-13 14:43:41.7312|DEBUG|BarRaider.SdTools.Logger|Logger Initialized StartPreset.start simply contains the word: Custom But then it looks for: Which does not exist... Custom bindings are kept in: |
2020-07-13 14:43:41.8487|INFO|BarRaider.SdTools.Logger|monitoring key binding file name #2 SaitekX55.binds so where does it get 'SaitekX55.binds' from ? did you change some ED settings after the crash of the plugin ? if you restart the streamdeck software, does it still say SaitekX55.binds in the log file ? I'll investigate the exact logic when I get home from work : F:\SteamLibrary\steamapps\common\Elite Dangerous\Products\elite-dangerous-64\ControlSchemes\Custom.bind |
Yes I was messing around with keybinds so it changed from SaitekX55.binds to Custom.binds. I created a symbolic link: C:\WINDOWS\system32>mklink "F:\SteamLibrary\steamapps\common\Elite Dangerous\Products\elite-dangerous-64\ControlSchemes\Custom.bind" "C:\Users\Solar\AppData\Local\Frontier Developments\Elite Dangerous\Options\Bindings\Custom.3.0.binds" And now things seem to work perfectly. I think it may just be logic from where ED isn't installed on the same HDD? |
please try 2.0.7 without your symbolic link It should no longer crash when the binding file can't be found. however, I haven't found why it won't automatically read: C:\Users\Solar\AppData\Local\Frontier Developments\Elite Dangerous\Options\Bindings\Custom.3.0.binds I added more logging about which file name it tried and could not access. |
That works great! 2020-07-13 18:24:57.7533|DEBUG|BarRaider.SdTools.Logger|Logger Initialized Thanks for the help 😃 |
ok, good |
Hi there,
I downloaded and installed, but whenever I try to configure any buttons on my stream deck I'm just getting the question mark, and when I go in-game and press the buttons nothing's happening.
Important to note, I did notice when I try and configure the images it says "C:\fakepath\C%3A%2...." instead of the directory my images are actually stored in.
FATAL errors from pluginlog.log:
2020-07-06 20:32:29.1402|FATAL|BarRaider.SdTools.Logger|Could not create instance of Elite.Buttons.Toggle - Maybe class does not inherit PluginBase with the same constructor? System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Elite.Buttons.Toggle..ctor(SDConnection connection, InitialPayload payload) --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Activator.CreateInstance(Type type, Object[] args) at BarRaider.SdTools.PluginContainer.<Connection_OnWillAppear>d__13.MoveNext() 2020-07-06 20:32:29.1552|FATAL|BarRaider.SdTools.Logger|Could not create instance of Elite.Buttons.Toggle - Maybe class does not inherit PluginBase with the same constructor? System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Elite.Buttons.Toggle..ctor(SDConnection connection, InitialPayload payload) --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Activator.CreateInstance(Type type, Object[] args) at BarRaider.SdTools.PluginContainer.<Connection_OnWillAppear>d__13.MoveNext() 2020-07-06 20:32:29.1678|FATAL|BarRaider.SdTools.Logger|Could not create instance of Elite.Buttons.FSS - Maybe class does not inherit PluginBase with the same constructor? System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Elite.Buttons.FSS..ctor(SDConnection connection, InitialPayload payload) --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Activator.CreateInstance(Type type, Object[] args) at BarRaider.SdTools.PluginContainer.<Connection_OnWillAppear>d__13.MoveNext() 2020-07-06 20:32:33.7780|FATAL|BarRaider.SdTools.Logger|Could not create instance of Elite.Buttons.Toggle - Maybe class does not inherit PluginBase with the same constructor? System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Elite.Buttons.Toggle..ctor(SDConnection connection, InitialPayload payload) --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) at System.Activator.CreateInstance(Type type, Object[] args) at BarRaider.SdTools.PluginContainer.<Connection_OnWillAppear>d__13.MoveNext()
The text was updated successfully, but these errors were encountered: