I am having a very similar problem compared with some others who have posted here previously on a Raspberry pi connected up to an NXT. I have following the installation instructions exactly including installing nxt.python (no errors), using root (on a debian machine) to install python-usb, running groupadd lego and usermod -a -G lego pi as root, setting up the file 70-lego.rules, and also configuring the .nxt-python file with the appropriate information as shown below:
[Brick]
name = 6157
host = 00:16:53:1A:9A:D5
strict = 0
method = usb = True, Bluetooth = False, fantomusb = True
I have setup .nxt-python files in both the account pi/home and also in root/home
I get the same error sequence when i run nxt.locator.find_one_brick(debug=True) as either the pi user or as a root user. Please see the attached picture.
The nxt is plugged into a USB hub, but i have tried to connect it also directly into the USB ports on the pi. Same error in both cases.
I also tried a script to find the vendor and product id:
import usb
for bus in usb.busses():
for device in bus.devices:
print device.idVendor, device.idProduct
which shows me that those values are 1682 and 2 for the NXT (since those values disappear and reappear as i plug in or unplug the NXT)