mhwlng / streamdeck-elite

Elgato Stream Deck plugin for Elite Dangerous
https://forums.frontier.co.uk/threads/v1-2-0-elgato-stream-deck-button-plugin-for-elite-dangerous.534521/
MIT License
265 stars 22 forks source link

Elite Dangerous Buttons has stopped working #31

Closed luilegeant closed 3 years ago

luilegeant commented 3 years ago

Hello,

First of all thank you for the amazing job.

Problem The plugin crashes when editing the elite keybindings. CrashOnControlsEdit

Expected behaviour The application does not crash. 😄

How to reproduce (at least for me)

Complementary information:

mhwlng commented 3 years ago

The error message in the log is :

The process cannot access the file 'C:\Users\luilegeant\AppData\Local\Frontier Developments\Elite Dangerous\Options\Bindings\StartPreset.start' because it is being used by another process.

So, something is locking that file, causing the plugin to fail.

mhwlng commented 3 years ago

I added a retry mechanism in version 2.3.1 for reading StartPreset.start

please try if that fixes your problem

luilegeant commented 3 years ago

Amazing, it seems to have done the trick ! I did the same process as described above and switch to various pre-sets and no crash 🥳

The log file seems to correlate that everything went fine. pluginlog.log

Thank you, for me this can close the ticket.