-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Traceback (most recent call last):
File "./dfuse-tool.py", line 147, in <module>
flash(args)
File "./dfuse-tool.py", line 63, in flash
dfu = find_device(args)
File "./dfuse-tool.py", line 14, in find_device
for _,alt in dfu.alternates():
File "/home/rob/dfuse-tool/dfuse/DfuDevice.py", line 28, in alternates
return [(self.get_string(intf.iInterface), intf) for intf in self.cfg]
File "/home/rob/dfuse-tool/dfuse/DfuDevice.py", line 28, in <listcomp>
return [(self.get_string(intf.iInterface), intf) for intf in self.cfg]
File "/home/rob/dfuse-tool/dfuse/DfuDevice.py", line 73, in get_string
return usb.util.get_string(self.dev, 256, index)
File "/usr/lib/python3.5/site-packages/usb/util.py", line 318, in get_string
raise ValueError("The device does not support the specified langid")
ValueError: The device does not support the specified langid
This is because usb.util.get_string() fails. And this appears to be failing because the args are wrong.
This occurs on Fedora 24 with:
python3-pyusb-1.0.0-1.fc24.noarch
Metadata
Metadata
Assignees
Labels
No labels