not-matt / Systematic-LEDs

Audio reactive, all in one, room lighting for your computer.
MIT License
100 stars 35 forks source link

'bool' object is not subscriptable #48

Open theroboticsguy opened 5 years ago

theroboticsguy commented 5 years ago

When I click the LED strip manager tab , it crashes and error is "'bool' object is not subscriptable "

And it is pointing to line 1489 of main.py

Make the req_widgets

        req_widgets[device] = {}
        if config.device_req_config[device]:
            for req_config_setting in config.device_req_config[device]:

1489: label = config.device_req_config[device][req_config_setting][0] guide = config.device_req_config[device][req_config_setting][1] wType = config.device_req_config[device][req_config_setting][2] deflt = config.device_req_config[device][req_config_setting][3] wLabel = QLabel(label)

not-matt commented 5 years ago

Try deleting settings.ini, then add your devices again.

theroboticsguy commented 5 years ago

Okay , I will try this , Thanks .

not-matt commented 5 years ago

Also try the pulling it again. I think I fixed this a while ago and included it in the latest update.

On Tue, Nov 20, 2018, 1:17 PM theroboticsguy <notifications@github.com wrote:

Okay , I will try this , Thanks .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/not-matt/Systematic-LEDs/issues/48#issuecomment-440269799, or mute the thread https://github.com/notifications/unsubscribe-auth/Ae5azBS_gmGFURHZIvNf4XA2lu0aM-0sks5uxADNgaJpZM4Xj25X .

theroboticsguy commented 5 years ago

Okay , thanks again , also this project , Hats off.