New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 765041 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Last visit > 30 days ago
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Feature



Sign in to add a comment

Chameleon error message is not helpful when kit is not detected

Project Member Reported by alent@google.com, Sep 14 2017

Issue description

If we start up a chameleon without a BT kit and try to call methods on it, the error is just a generic "method not supported" failure.
It would be helpful to fail with a "kit not detected" error or similar.

I haven't fully checked if this leaves special messages in the chameleond log, but it doesn't seem like it.

Current error for reference:

/tmp/test_that_results_Ch1s_J/results-1-bluetooth_AdapterHIDReports.mouse                             [  FAILED  ]
/tmp/test_that_results_Ch1s_J/results-1-bluetooth_AdapterHIDReports.mouse                               FAIL: Unhandled TypeError: 'bool' object has no attribute '__getitem__'
/tmp/test_that_results_Ch1s_J/results-1-bluetooth_AdapterHIDReports.mouse/bluetooth_AdapterHIDReports [  FAILED  ]
/tmp/test_that_results_Ch1s_J/results-1-bluetooth_AdapterHIDReports.mouse/bluetooth_AdapterHIDReports   FAIL: Unhandled TypeError: 'bool' object has no attribute '__getitem__'
/tmp/test_that_results_Ch1s_J/results-1-bluetooth_AdapterHIDReports.mouse/bluetooth_AdapterHIDReports   09/13 18:00:54.259 ERROR|bluetooth_adapter_:0059| GetCapabilities: <Fault 1: '<type \'exceptions.Exception\'>:method "bluetooth_mouse.GetCapabilities" is not supported'>
 

Comment 1 by alent@google.com, Sep 14 2017

Owner: alent@google.com

Comment 2 by alent@google.com, Sep 15 2017

Owner: waihong@chromium.org
Status: Assigned (was: Untriaged)
Labels: -Type-Bug Type-Feature

Sign in to add a comment