zigbeefordomoticz / Domoticz-Zigbee

Zigbee plugin for Domoticz. Allow to connect various zigbee controllers like Zigate but also Texas Instrument CC2531, CC13x2, CC26x2 ; Silicon-Labs; deConz based chipset to be connected to Domoticz
GNU General Public License v3.0
99 stars 43 forks source link

AttributeError: 'str' object has no attribute 'remove' #1530

Closed pipiche38 closed 1 year ago

pipiche38 commented 1 year ago

Feb 11 09:19:21 rasp jemalloc.sh[23887]: 2023-02-11 09:19:21.006 Zigpy-Elelabs: rest_recreate_widgets -->Verb: PUT Data: b'{"NWKID":"104d"}' Parameters: [] Feb 11 09:19:21 rasp jemalloc.sh[23887]: 2023-02-11 09:19:21.060 Error: Zigpy-Elelabs: Call to function 'onMessage' failed, exception details: Feb 11 09:19:21 rasp jemalloc.sh[23887]: 2023-02-11 09:19:21.082 Error: Zigpy-Elelabs: Traceback (most recent call last): Feb 11 09:19:21 rasp jemalloc.sh[23887]: 2023-02-11 09:19:21.082 Error: Zigpy-Elelabs: File "/var/lib/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 1571, in onMessage Feb 11 09:19:21 rasp jemalloc.sh[23887]: 2023-02-11 09:19:21.082 Error: Zigpy-Elelabs: _plugin.onMessage(Connection, Data) Feb 11 09:19:21 rasp jemalloc.sh[23887]: 2023-02-11 09:19:21.082 Error: Zigpy-Elelabs: File "/var/lib/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 817, in onMessage Feb 11 09:19:21 rasp jemalloc.sh[23887]: 2023-02-11 09:19:21.083 Error: Zigpy-Elelabs: self.webserver.onMessage(Connection, Data) Feb 11 09:19:21 rasp jemalloc.sh[23887]: 2023-02-11 09:19:21.083 Error: Zigpy-Elelabs: File "/var/lib/domoticz/plugins/Domoticz-Zigbee/Classes/WebServer/onMessage.py", line 65, in onMessage Feb 11 09:19:21 rasp jemalloc.sh[23887]: 2023-02-11 09:19:21.083 Error: Zigpy-Elelabs: self.do_rest(Connection, Data["Verb"], Data["Data"], parsed_query[1], parsed_query[2], parsed_query[3:]) Feb 11 09:19:21 rasp jemalloc.sh[23887]: 2023-02-11 09:19:21.083 Error: Zigpy-Elelabs: File "/var/lib/domoticz/plugins/Domoticz-Zigbee/Classes/WebServer/dispatcher.py", line 112, in do_rest Feb 11 09:19:21 rasp jemalloc.sh[23887]: 2023-02-11 09:19:21.083 Error: Zigpy-Elelabs: HTTPresponse = REST_COMMANDS[command]["function"](verb, data, parameters) Feb 11 09:19:21 rasp jemalloc.sh[23887]: 2023-02-11 09:19:21.083 Error: Zigpy-Elelabs: File "/var/lib/domoticz/plugins/Domoticz-Zigbee/Classes/WebServer/rest_recreateWidget.py", line 51, in rest_recreate_widgets Feb 11 09:19:21 rasp jemalloc.sh[23887]: 2023-02-11 09:19:21.083 Error: Zigpy-Elelabs: CreateDomoDevice(self, self.Devices, nwkid) Feb 11 09:19:21 rasp jemalloc.sh[23887]: 2023-02-11 09:19:21.083 Error: Zigpy-Elelabs: File "/var/lib/domoticz/plugins/Domoticz-Zigbee/Modules/domoCreate.py", line 345, in CreateDomoDevice Feb 11 09:19:21 rasp jemalloc.sh[23887]: 2023-02-11 09:19:21.083 Error: Zigpy-Elelabs: Type = cleanup_widget_Type(Type) Feb 11 09:19:21 rasp jemalloc.sh[23887]: 2023-02-11 09:19:21.083 Error: Zigpy-Elelabs: File "/var/lib/domoticz/plugins/Domoticz-Zigbee/Modules/domoCreate.py", line 37, in cleanup_widget_Type Feb 11 09:19:21 rasp jemalloc.sh[23887]: 2023-02-11 09:19:21.084 Error: Zigpy-Elelabs: widget_type_list.remove("") Feb 11 09:19:21 rasp jemalloc.sh[23887]: 2023-02-11 09:19:21.084 Error: Zigpy-Elelabs: AttributeError: 'str' object has no attribute 'remove'