$ openxc-control version --usb --format json
Can't read logs from data source -- stopping: ("USB device couldn't be read", USBError(60, 'Operation timed out'))
Can't read from data source -- stopping: ("USB device couldn't be read", USBError(60, 'Operation timed out'))
Traceback (most recent call last):
File "/Users/tim/anaconda/envs/openxc/bin/openxc-control", line 11, in <module>
load_entry_point('openxc==0.13.0', 'console_scripts', 'openxc-control')()
File "/Users/tim/anaconda/envs/openxc/lib/python2.7/site-packages/openxc-0.13.0-py2.7.egg/openxc/tools/control.py", line 146, in main
version(interface)
File "/Users/tim/anaconda/envs/openxc/lib/python2.7/site-packages/openxc-0.13.0-py2.7.egg/openxc/tools/control.py", line 19, in version
print("Device is running version %s" % interface.version())
File "/Users/tim/anaconda/envs/openxc/lib/python2.7/site-packages/openxc-0.13.0-py2.7.egg/openxc/controllers/base.py", line 358, in version
return self._check_command_response_message(request)
File "/Users/tim/anaconda/envs/openxc/lib/python2.7/site-packages/openxc-0.13.0-py2.7.egg/openxc/controllers/base.py", line 346, in _check_command_response_message
responses = self.complex_request(request)
File "/Users/tim/anaconda/envs/openxc/lib/python2.7/site-packages/openxc-0.13.0-py2.7.egg/openxc/controllers/base.py", line 172, in complex_request
self._send_complex_request(request)
File "/Users/tim/anaconda/envs/openxc/lib/python2.7/site-packages/openxc-0.13.0-py2.7.egg/openxc/controllers/usb.py", line 37, in _send_complex_request
self.streamer.serialize_for_stream(request))
File "/Users/tim/anaconda/envs/openxc/lib/python2.7/site-packages/usb/core.py", line 702, in ctrl_transfer
self.__get_timeout(timeout)
File "/Users/tim/anaconda/envs/openxc/lib/python2.7/site-packages/usb/backend/libusb1.py", line 596, in ctrl_transfer
timeout))
File "/Users/tim/anaconda/envs/openxc/lib/python2.7/site-packages/usb/backend/libusb1.py", line 403, in _check
raise USBError(_str_error[ret], ret, _libusb_errno[ret])
usb.core.USBError: [Errno 60] Operation timed out
$ openxc-control version --bluetooth --format json --bluetooth-address <MY-HEX-ADDRESS>
Traceback (most recent call last):
File "/Users/tim/anaconda/envs/fordboard/lib/python2.7/logging/__init__.py", line 861, in emit
msg = self.format(record)
File "/Users/tim/anaconda/envs/fordboard/lib/python2.7/logging/__init__.py", line 734, in format
return fmt.format(record)
File "/Users/tim/anaconda/envs/fordboard/lib/python2.7/logging/__init__.py", line 465, in format
record.message = record.getMessage()
File "/Users/tim/anaconda/envs/fordboard/lib/python2.7/logging/__init__.py", line 329, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
Logged from file bluetooth.py, line 51
vkanishk~$ openxc-control version
Can't read logs from data source -- stopping: ("USB device couldn't be read", USBError(60, 'Operation timed out'))
Device is running version 7.2.1-dev (emulator)
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 801, in __bootstrap_inner
File "/Users/vkanishk/GitRepo/openxc-python/openxc/sources/base.py", line 213, in run
File "/Users/vkanishk/GitRepo/openxc-python/openxc/formats/json.py", line 19, in parse_next_message
<When VI is connected>
vkanishk~$ openxc-control version
Device is running version 7.2.1-dev (emulator)
vkanishk~$ openxc-control version --form json
Can't read logs from data source -- stopping: ("USB device couldn't be read", USBError(60, 'Operation timed out'))