question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installation on Windows with Kuando

See original GitHub issue

Hi there,

i am new to python and i am having a tough time working with the kuando light on windows. On mac everything was fine. I tried to test with following code: from busylight.lights.kuando import BusyLight light = BusyLight.first_light() light.on((255, 0, 0)) I get the following result: Traceback (most recent call last): File "C:\Users\MyPC\Desktop\Python\test.py", line 4, in <module> light.on((255, 0, 0)) File "C:\Users\MyPC\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\busylight\lights\kuando\busylight.py", line 49, in on self.state.line0 = instruction.value File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0\lib\contextlib.py", line 124, in __exit__ next(self.gen) File "C:\Users\MyPC\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\busylight\lights\usblight.py", line 412, in batch_update self.update() File "C:\Users\MyPC\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\busylight\lights\usblight.py", line 507, in update raise USBLightIOError(f"write returned {nbytes}") busylight.lights.exceptions.USBLightIOError: write returned 65

Does anyone have any idea what I am doing wrong?``

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

4reactions
JnyJnycommented, Jun 29, 2021

Fixing this problem on Windows will require some re-architecting of the USBLight class which I do not have time for right now, but will do at some point in the future. In the meantime, the README will be updated to indicate that BusyLight does not work on Windows right now.

2reactions
JnyJnycommented, Jun 13, 2021

So I’ve root caused the problem; I assumed that a HID USB device could only be opened successfully one time (exclusive open). This is true for macOS and Linux but not true for Windows. The entire light discovery mechanism depends on this assumption unfortunately. I’ll need to re-think how I manage devices to make things work on Windows. Sorry if this doesn’t make sense, I’m hoping to have a solution for this pretty quick now that I understand the problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing the kuandoHUB | Plenom Busylight - YouTube
Today, we will walk through the installation process for the kuandoHUB from Plenom, the makers of kuando Busylight!
Read more >
FAQ's General Busylight UC by Plenom - Office intelligence
Installing both the kuando Busylight and kuandoHUB is easy and quick! Watch the video below to follow the steps for installation.
Read more >
Download Software - kuando Busylight
Download Software for kuando products. Find your UC software on the list and find the newest software for Busylight UC Alpha and Omega,...
Read more >
How to Use the Kuando Indicator Light with Panopto For ...
1). Kuando .msi installer. On it, the "Select device type" dropdown is ... 1.3. Select Install on the next window to complete the...
Read more >
Kuando BusyLight Integration - BVoIP
Click the Finish button to complete the installer and close the install window. Related articles. Provisioning HTEK IP ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found