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

Could not parse keyboard combination from text. Parameter name: text #298

Closed
vegardlarsen opened this Issue Dec 6, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@vegardlarsen
Copy link
Member

vegardlarsen commented Dec 6, 2018

Raygun report https://app.raygun.com/crashreporting/16323dg/errors/3162791382 has more details about the error

Message: Could not parse keyboard combination from text. 参数名: text
MaxTo.Core.Keyboard.KeyboardCombination.Parse(String text):27
MaxTo.Core.Keyboard.HotkeyRegistrationService+<>c.<HandleMessage>b__6_0(RecipeConfiguration r):22
System.Linq.Enumerable+WhereSelectListIterator`2.MoveNext():77
System.Linq.Buffer`1..ctor(IEnumerable`1 source):114
System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source):20
MaxTo.Core.Keyboard.HotkeyRegistrationService.HandleMessage(ConfigurationChangedMessage message):71
MaxTo.Core.Communication.MessageBusExtensions+<>c__DisplayClass0_0`1.<Subscribe>b__0(Object sender, Message message):30
System.EventHandler`1.Invoke(Object sender, TEventArgs e):-1
MaxTo.Core.Communication.NamedPipeClient.WorkerOnProgress(Object sender, ProgressChangedEventArgs e):72
System.ComponentModel.BackgroundWorker.OnProgressChanged(ProgressChangedEventArgs e):33
System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx):121
System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx):9
System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem():53
System.Threading.ThreadPoolWorkQueue.Dispatch():164

@vegardlarsen vegardlarsen changed the title Could not parse keyboard combination from text. 参数名: text Could not parse keyboard combination from text. Parameter name: text Dec 6, 2018

@vegardlarsen vegardlarsen self-assigned this Dec 6, 2018

@vegardlarsen vegardlarsen added the bug label Dec 6, 2018

@vegardlarsen vegardlarsen added this to the 2.0.0-beta.5 milestone Dec 6, 2018

@vegardlarsen

This comment has been minimized.

Copy link
Member

vegardlarsen commented Dec 7, 2018

The error occured when changing the hotkey to an invalid hotkey (e.g. an empty string or null) while MaxTo was running.

This has been fixed for beta.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment