Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra feature SN programming has a bug. #15

Open
MrKevinWeiss opened this issue Apr 12, 2024 · 1 comment
Open

Extra feature SN programming has a bug. #15

MrKevinWeiss opened this issue Apr 12, 2024 · 1 comment

Comments

@MrKevinWeiss
Copy link
Contributor

Likely a my setup issue but I get:

Traceback (most recent call last):
  File "/home/weiss/.venv/bin/inet-nm-commission", line 8, in <module>
    sys.exit(main())
  File "/home/weiss/.venv/lib/python3.10/site-packages/inet_nm/cli_commission.py", line 75, in main
    _main()
  File "/home/weiss/.venv/lib/python3.10/site-packages/inet_nm/cli_commission.py", line 66, in _main
    cmr.check_and_set_uninitialized_sn(selected_node)
  File "/home/weiss/.venv/lib/python3.10/site-packages/inet_nm/commissioner.py", line 44, in check_and_set_uninitialized_sn
    if usbdev.serial_number != node.serial:
  File "/home/weiss/.venv/lib/python3.10/site-packages/usb/core.py", line 864, in serial_number
    self._serial_number = util.get_string(self, self.iSerialNumber)
  File "/home/weiss/.venv/lib/python3.10/site-packages/usb/util.py", line 313, in get_string
    raise ValueError("The device has no langid"
ValueError: The device has no langid (permission issue, no string descriptors supported or device error)
@MrKevinWeiss
Copy link
Contributor Author

It seems like it was the udev rules:

pyusb/pyusb#139

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant