OpenpilotToolkit icon indicating copy to clipboard operation
OpenpilotToolkit copied to clipboard

Error everytime I try to connect to my Comma3X

Open MotormikeTT opened this issue 1 year ago • 0 comments

I a,m currently running SunnyPilot if that matters but everytime I try to connect to the Comma using OPTK, it gives me the following pop-up: image

The logs show the following:

2024-08-25 00:42:08.252 -04:00 [INF] Connected to Comma3 device at 192.168.1.222 on port 8022
2024-08-25 00:42:09.022 -04:00 [ERR] Unhandled Exception
System.ArgumentOutOfRangeException: value ('0') must be less than '0'. (Parameter 'value')
Actual value was 0.
  at System.ArgumentOutOfRangeException.ThrowGreaterEqual[T](T value, T other, String paramName)
  at System.ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual[T](T value, T other, String paramName)
  at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
  at OpenpilotToolkit.OpenpilotToolkitForm.<>c__DisplayClass20_1.<<ScanDevices>b__2>d.MoveNext() in C:\Users\l-bre\source\repos\OpenpilotToolkit\OpenpilotToolkit\OpenpilotToolkitForm.cs:line 414
--- End of stack trace from previous location ---
  at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
  at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
  at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
  at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
  at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

Any ideas?

MotormikeTT avatar Aug 25 '24 04:08 MotormikeTT