-
Notifications
You must be signed in to change notification settings - Fork 37
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 shortly after startup - index out of range in lightstate.go #3
Comments
Same thing happens to me! Here's text from my log: `C:\Users\John\Desktop\kelvin-windows-amd64-v0.0.8>kelvin.exe > log.txt goroutine 44 [running]: |
Thanks for reporting these. My guess is this happens with lamps only supporting color temperature but no real colors. In this case the lightstate isn't initialized properly. A fix is on the way... |
I do have two color temp only bulbs so that could definitely be the problem. Let me know when fixed and I'll test for you. Looking forward to an update! |
Ok, after some trouble with travis I finally pushed a new build with a fix. Please feel free to try again. |
downloaded and currently running, no crash, will keep you updated. thanks for the quick fix, looking forward to using it! |
Works for me too, nice work! |
Windows 64 bit. Extracted release v0.0.8 and ran the .exe file. Registration to hub went well, lamps were found. Color temperature was set correctly, then the program crashes with the following error:
Quick look at the source reveals that the offending line in
lightstate.go
reads:I don't have time to properly dig into this right now, but will probably have a look tomorrow if nobody's fixed it by then - or if it turns out that it's only reproducible on my setup :)
The text was updated successfully, but these errors were encountered: