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

Error when writing to device #46

Closed
sarduri opened this issue Dec 6, 2023 · 1 comment
Closed

Error when writing to device #46

sarduri opened this issue Dec 6, 2023 · 1 comment

Comments

@sarduri
Copy link

sarduri commented Dec 6, 2023

I get this message on Ubuntu 22.04

using [wch.cn CH546] bus=3 dev=16
Type: 11x44
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/usb/core.py", line 236, in get_interface_and_endpoint
return self._ep_info[endpoint_address]
KeyError: 1

led-name-badge-ls32/led-badge-11x44.py", line 570, in
dev.write(1, buf[i * 64:i * 64 + 64])

I'm not into Python. Sorry for not beeing able to resolve that.

@sarduri
Copy link
Author

sarduri commented Dec 7, 2023

Sorry I've found Issue #36 #36 witch seems to thread the same Problem. Please ignore this. Thank You.

@sarduri sarduri closed this as completed Dec 7, 2023
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