Configuration Glitch: can't remove device from included list

Posted on
Sun May 27, 2018 8:02 pm
dduff617 offline
Posts: 660
Joined: Jul 05, 2006
Location: Massachusetts, USA

Configuration Glitch: can't remove device from included list

I somehow got into a state where I have a device listed in "Include Devices" part of the "Inclusion/Exclusion Criteria", however it seems to not be really getting included, and other the other hand, I also can't remove it from the list.

If I select the item in the list and click the "remove selected devices" button, I see this message i the logs:
Code: Select all
   Grafana Home Dashboard Error    Error in plugin execution UiAction:

Traceback (most recent call last):
  File "plugin.py", line 1528, in RemoveDeviceFromIncludedDeviceList
ValueError: list.remove(x): x not in list


Can I edit a config file or something to forcibly remove this device "manually" or something to get out of this state?

Thanks.

Posted on
Sun May 27, 2018 8:09 pm
dduff617 offline
Posts: 660
Joined: Jul 05, 2006
Location: Massachusetts, USA

Re: Configuration Glitch: can't remove device from included

Fixed. Reload of plugin cleared up the problem - should have thought of that sooner.

Posted on
Tue May 29, 2018 11:24 am
vtmikel offline
Posts: 643
Joined: Aug 31, 2012
Location: Boston, MA

Re: Configuration Glitch: can't remove device from included

I'm not certain how the plugin would have gotten into that state, but I'll add some handlers to correct itself next time. Thanks for the report.

Posted on
Tue May 29, 2018 11:27 am
dduff617 offline
Posts: 660
Joined: Jul 05, 2006
Location: Massachusetts, USA

Re: Configuration Glitch: can't remove device from included

possible clue: it may be that i created an unusual case where i select device to add to the list, then change my mind and try to delete the same device before having "saved" (i.e., left the config dialog to commit the changes).

Posted on
Tue May 29, 2018 12:35 pm
vtmikel offline
Posts: 643
Joined: Aug 31, 2012
Location: Boston, MA

Re: Configuration Glitch: can't remove device from included

Thanks, this is now fixed in v1.0.1

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest