BlueMuse icon indicating copy to clipboard operation
BlueMuse copied to clipboard

Application exits (closes) as soon as I press start streaming

Open Zibri opened this issue 3 years ago • 5 comments

I also enabled the experimental always pair in the settings. It pairs and gets battery status and device name. image image

Zibri avatar Mar 21 '22 17:03 Zibri

Post your log. You can find log locations in the settings menu. Sometimes this will be helpful, but unfortunately this type of issue is somewhat common and there's some Bluetooth hardware issue that I can't debug.

kowalej avatar Mar 21 '22 17:03 kowalej

In the last test it detected it as Muse 2016

Zibri avatar Mar 21 '22 17:03 Zibri

2022-03-21 19:34:15.466 [Information] BlueMuse started. 2022-03-21 19:36:27.194 [Error] BlueMuse unhandled exception. System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005) at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17 at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb at BlueMuse.Bluetooth.BluetoothManager.<ActivateLSLBridge>d__28.MoveNext() + 0xf9 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17 at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb at BlueMuse.Bluetooth.BluetoothManager.<StartStreaming>d__30.MoveNext() + 0x12e --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21 at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__7_0(Object) + 0x1e at System.Action`1.Invoke(T) + 0x28 at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore() + 0x33

Zibri avatar Mar 21 '22 17:03 Zibri

Access is denied. seen this before from other users, not sure how to help. If you are using Bluetooth dongle, I'd try a different one, other than that I don't have much to offer.

kowalej avatar Mar 21 '22 19:03 kowalej

It has nothing to do with bluetooth. The connection with the device works. It's the program not able to create the streaming. As a matter of fact this test application works perfectly: https://muse-eeg-app.firebaseapp.com/ image

Zibri avatar Mar 21 '22 22:03 Zibri