-
-
Notifications
You must be signed in to change notification settings - Fork 20
Description
Describe the bug
The application does not launch successfully, instead showing the following error message:
Unhandled runtime exception: Traceback (most recent call last):
File "lifx_control_panel\__main__.pyw", line 335, in main
File "lifx_control_panel\__main__.pyw", line 101, in __init__
File "lifx_control_panel\__main__.pyw", line 167, in scan_for_lights
File "lifxlan\lifxlan.py", line 38, in get_devices
File "lifxlan\lifxlan.py", line 50, in discover_devices
File "lifxlan\lifxlan.py", line 259, in broadcast_with_resp
ConnectionResetError: [WinError 100541] An existing connection was forcibly closed by the remote host
Please report this at:
https://github.com/samclane/lifx_control_panel/issues
To Reproduce
Steps to reproduce the behavior:
- Download v2.3.1 (latest)
lifx_control_panel.exefrom release - Open executable
- See error
Expected behavior
I'd expect the application to simply launch/open, but it errors out. When ok is pressed, both the error window and the purple splashscreen close. Running the executable with administrator rights does not do anything.
Screenshots
error window:

error window and purple splashscreen(?) side-by-side. The error dialog can be dragged, the splashscreen cannot be moved.

Desktop (please complete the following information):
- Lifx-Control-Panel Version: v2.3.1
- OS: Windows 11 Pro 22H2 OS Build 22621.1928
Please attach your logfile (lifx-control-panel.log)
No logfile is generated, nor is there any console output when ran through a terminal (powershell/command prompt). Running the debug build outputs the following (behaviour stays exactly the same):
2023-07-09 14:03:46,117 - root - INFO - Logger initialized.
2023-07-09 14:03:46,221 - root.LifxFrame - INFO - Root logger initialized: root.LifxFrame
2023-07-09 14:03:46,222 - root.LifxFrame - INFO - Binary Version: 2.3.0
2023-07-09 14:03:46,222 - root.LifxFrame - INFO - Build time: 2022-12-12T06:22:59.747968
2023-07-09 14:03:46,259 - root - ERROR - [WinError 10054] An existing connection was forcibly closed by the remote host
Traceback (most recent call last):
File "lifx_control_panel\__main__.pyw", line 335, in main
File "lifx_control_panel\__main__.pyw", line 101, in __init__
File "lifx_control_panel\__main__.pyw", line 167, in scan_for_lights
File "lifxlan\lifxlan.py", line 38, in get_devices
File "lifxlan\lifxlan.py", line 50, in discover_devices
File "lifxlan\lifxlan.py", line 259, in broadcast_with_resp
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
Additional context
Running the same executable in Windows Sandbox (essentially a virtual machine) does not give this error. The application seems to work fine, albeit that it can't find any lights, but that is most likely related to how the VM is set up (no local network discovery).