Systematic-LEDs icon indicating copy to clipboard operation
Systematic-LEDs copied to clipboard

'bool' object is not subscriptable

Open theroboticsguy opened this issue 7 years ago • 4 comments

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)

theroboticsguy avatar Oct 17 '18 12:10 theroboticsguy

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

not-matt avatar Nov 20 '18 12:11 not-matt

Okay , I will try this , Thanks .

theroboticsguy avatar Nov 20 '18 13:11 theroboticsguy

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 <[email protected] 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 .

not-matt avatar Nov 20 '18 13:11 not-matt

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

theroboticsguy avatar Nov 20 '18 13:11 theroboticsguy