richrd / nxt-python

Automatically exported from code.google.com/p/nxt-python
GNU General Public License v3.0
1 stars 0 forks source link

Error: Traceback #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Run any of the examples (I havent tried with any other programs) wit IDLE
2.Press F5 to compile
3.

What is the expected output? What do you see instead?

Traceback (most recent call last):
  File "C:\Users\oier.oier-lauzirika\Desktop\nxt-python-2.2.2\examples\spin.py", line 12, in <module>
    b = nxt.locator.find_one_brick()
  File "C:\Python27\lib\site-packages\nxt\locator.py", line 112, in find_one_brick
    for s in find_bricks(host, name, silent, method):
  File "C:\Python27\lib\site-packages\nxt\locator.py", line 43, in find_bricks
    for s in socks:
  File "C:\Python27\lib\site-packages\nxt\usbsock.py", line 84, in find_bricks
    for bus in usb.busses():
  File "C:\Python27\lib\site-packages\usb\legacy.py", line 333, in busses
    return (Bus(),)
  File "C:\Python27\lib\site-packages\usb\legacy.py", line 329, in __init__
    self.devices = [Device(d) for d in core.find(find_all=True)]
  File "C:\Python27\lib\site-packages\usb\core.py", line 846, in find
    raise ValueError('No backend available')
ValueError: No backend available

What version of nxt-python are you using? On what operating system?

nxt-python-2.2.2  Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by Olauzir...@gmail.com on 5 Sep 2013 at 3:49

GoogleCodeExporter commented 9 years ago
Looks like you need to install libusb or its windows counterpart. Not an 
nxt-python bug, but sorry you're having problems.

Original comment by marcus@wanners.net on 11 Sep 2013 at 2:26