samclane / LIFX-Control-Panel

As LIFX no longer supports their Windows 10 app, I created an open-source alternative for controlling LIFX-brand smart lights.
https://github.com/samclane/LIFX-Control-Panel
MIT License
162 stars 19 forks source link

Added new light, now won't #122

Open NiceFluffy opened 3 years ago

NiceFluffy commented 3 years ago

Describe the bug Unhandled Exception upon opening after connecting a new light.

To Reproduce Steps to reproduce the behavior:

  1. Added Model: L3A19LC08E26US to the Lifx app.
  2. Attempted to open LCP, received error.
  3. Removed new light, opens fine.

Expected behavior A clear and concise description of what you expected to happen. Add new light and continue to use the software.

Screenshots If applicable, add screenshots to help explain your problem. LCP-error

Desktop (please complete the following information):

Please attach your logfile (lifx-control-panel.log) Attempt to reproduce the problem, then attach your lifx_ctrl.log file. This will give us the most information about what went wrong. lifx-control-panel.log

Additional context Add any other context about the problem here.

mclarkk commented 3 years ago

This is a lifxlan problem, not a LCP problem -- I just updated the products.py list in lifxlan, and also added in some default unknown product info. Hopefully updating lifxlan within LCP will fix this problem.

NiceFluffy commented 3 years ago

This is a lifxlan problem, not a LCP problem -- I just updated the products.py list in lifxlan, and also added in some default unknown product info. Hopefully updating lifxlan within LCP will fix this problem.

How does one do this?

mclarkk commented 3 years ago

Try to upgrade the lifxlan module using pip (something like python -m pip install lifxlan --upgrade), or uninstall/reinstall it through pip if that doesn't work. (The python -m part is just there to make sure you're using the version of pip that goes with the version of python you use to run LCP.)

NiceFluffy commented 3 years ago

I have been trying to learn a little about python to figure this out, but haven't had much time or luck. I use the .exe to begin with... so still a little lost.