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

Crash on Startup #124

Open
Blakey069 opened this issue Jul 4, 2021 · 11 comments
Open

Crash on Startup #124

Blakey069 opened this issue Jul 4, 2021 · 11 comments

Comments

@Blakey069
Copy link

Blakey069 commented Jul 4, 2021

@samclane
Hi, I'm getting this error when trying to launch the program:
Annotation 2021-07-03 232735

lifx-control-panel.log

I've tried running this on my laptop as well and no luck.

@littlelerroyy
Copy link

Just got a new light today, having same issue as this

@aryn-0xide
Copy link

Screenshot 2021-08-15 135047

having same issue - crashing on startup but slightly different exception is thrown.

@DarynGit
Copy link

Same issue, only started happening when I got the newer "Lifx Color" bulbs. Worked fine on the old A19.
2021-08-24_21h17_17

@samclane
Copy link
Owner

I'm looking at making the app startup more resilient, so the user can at least open the app and manually re-scan (and eventually just tie that into a regular heartbeat operation).

Nothing is wrong with your setup, I get this error too. In the meantime, try re-opening the app right away. You may need to do this 3-4 times; this simulates a manual re-scanning of the network. I'm aware this is the upmost-jank, and will be working on getting the resiliency-patch out soon.

@Mister-Curious
Copy link

While attempting to open lifx_control_panel.exe I get this error:
Capture
I tried running the application consecutavely crash after crash, but its endless. Will this application be getting an update any time soon to fix this? I cant even get these lights to connect to the native app on my phone.

Thanks!

@RoboKun
Copy link

RoboKun commented Nov 29, 2021

Having the same issue as others on this thread. also tried re-opening the app multiple times and getting the same error screen. Not sure if it's the issue, but I'm using the Color bulbs as well.

@samclane
Copy link
Owner

samclane commented Dec 1, 2021

I'm sorry all, I've been terribly busy with work and life stuff. I haven't had much time to devote to this project.
At a certain point, I think I want to just refactor the whole thing completely. Using threads in Python is awful, and leads to lots of issues like this. There are also problems with the networking library being used, where certain other software can interfere with startup (like WSL/Docker). I've had a few more years of professional Python experience since I first made this project, and I think that a refactor could lead to a lot of stability fixes, as well as make the code more maintainable by the community.

I'm probably going to make a Discord server for the project in the coming days, so I can begin to have a more casual correspondence with the community, and development can be done with a more Pythonic, and developer-friendly, mentality.

I realize those last 2 paragraphs probably aren't the most satisfying response, but I don't have an easy answer for this, unfortunately.

@ozgent
Copy link

ozgent commented Jan 2, 2022

I downloaded v2.2.0 yesterday and it worked fine but today I have the following issue.
v2 2 0 crash

@soundinsect
Copy link

soundinsect commented Jan 14, 2022

I would advise everyone having this issue to guarantee that they aren't doing anything that is modifying their machine's visibility on the network. I was having the same error and suddenly remembered I was running a VPN at the time. Since the error seemed to be dealing with a network problem, I decided to disconnect from the VPN and relaunched the program. It immediately started without issue.

I closed the program, reconnected to the VPN and was able to reproduce the error when I tried launching again. Disconnected from the VPN again and it was fine once again.

@djcorvus
Copy link

djcorvus commented Jul 7, 2022

Still getting this issue, and it's now July 2022.
I'm not connected to a VPN, nor do I have any firewalls on my machine.

Is there a fix yet?

@samuellogan
Copy link

Had this same issue when opening the app with a VPN in the background (proton VPN), after disconnecting from the VPN it worked - this was the error before
image
unless it was just that it magically worked the 4th time after failing the first 3 times

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