What steps will reproduce the problem?
1.Run a program using nxt-python
2.Run any example
What is the expected output? What do you see instead?
I get multiple errors.
File "/Users/joey/Downloads/nxt-python-1.2.0/examples/test_sensors.py", line
16, in <module>
sock = nxt.locator.find_one_brick()
File "/Library/Python/2.7/site-packages/nxt/locator.py", line 112, in find_one_brick
for s in find_bricks(host, name, silent, method):
File "/Library/Python/2.7/site-packages/nxt/locator.py", line 43, in find_bricks
for s in socks:
File "/Library/Python/2.7/site-packages/nxt/usbsock.py", line 84, in find_bricks
for bus in usb.busses():
File "/Library/Python/2.7/site-packages/usb/legacy.py", line 343, in busses
return (Bus(),)
File "/Library/Python/2.7/site-packages/usb/legacy.py", line 339, in __init__
self.devices = [Device(d) for d in core.find(find_all=True)]
File "/Library/Python/2.7/site-packages/usb/core.py", line 856, in find
raise ValueError('No backend available')
ValueError: No backend available
Joey-Berkovitzs-MacBook-Pro:nxt-python-1.2.0 joey$ sudo python
/Users/joey/Downloads/nxt-python-1.2.0/examples/test_sensors.py
Traceback (most recent call last):
File "/Users/joey/Downloads/nxt-python-1.2.0/examples/test_sensors.py", line 16, in <module>
sock = nxt.locator.find_one_brick()
File "/Library/Python/2.7/site-packages/nxt/locator.py", line 112, in find_one_brick
for s in find_bricks(host, name, silent, method):
File "/Library/Python/2.7/site-packages/nxt/locator.py", line 43, in find_bricks
for s in socks:
File "/Library/Python/2.7/site-packages/nxt/usbsock.py", line 84, in find_bricks
for bus in usb.busses():
File "/Library/Python/2.7/site-packages/usb/legacy.py", line 343, in busses
return (Bus(),)
File "/Library/Python/2.7/site-packages/usb/legacy.py", line 339, in __init__
self.devices = [Device(d) for d in core.find(find_all=True)]
File "/Library/Python/2.7/site-packages/usb/core.py", line 856, in find
raise ValueError('No backend available')
ValueError: No backend available
What version of nxt-python are you using? On what operating system?
Mac Mountain Lion 10.8.4
Please provide any additional information below.
I tried using both nxt-python 2.2.2 and 1.2.0
Original issue reported on code.google.com by mamism...@gmail.com on 6 Jul 2013 at 10:34
Original issue reported on code.google.com by
mamism...@gmail.com
on 6 Jul 2013 at 10:34